new theme

This commit is contained in:
2026-05-13 18:43:23 +02:00
parent ae7c767c0a
commit c667ad20cc
2 changed files with 51 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
GIT
remote: https://git.teletype.hu/tools/rubbs.git
revision: 11c26a5b63329718f117377a3dcb9a22f712f5b6
revision: 8ad80cbfa7d1d82f724bf5cb68ab5baec33c0d19
specs:
bbs (0.4.0)
artii (~> 2.1)

61
bbs.rb
View File

@@ -54,19 +54,58 @@ SERVICES = {
}.freeze
MAIN_APP = BBS::Application.define do
# DOS Navigator color scheme — blue base, cyan accents, red hotkeys.
theme do
inherit :synchronet
screen "\e[0m"
text "\e[0;37m"
text_dim "\e[0;2;37m"
text_bright "\e[1;37m"
label "\e[0;36m"
accent "\e[1;33m"
success "\e[1;32m"
warning "\e[1;33m"
error "\e[1;31m"
window_shadow "\e[2;30m"
input_label "\e[0;36;44m"
screen "\e[44m"
text "\e[0;37;44m"
text_dim "\e[0;2;37;44m"
text_bright "\e[1;37;44m"
label "\e[0;36;44m"
accent "\e[1;33;44m"
success "\e[1;32;44m"
warning "\e[1;33;44m"
error "\e[1;31;44m"
window_bg "\e[44m"
window_border "\e[1;36;44m"
window_title "\e[1;30;46m"
window_title_focused "\e[1;37;46m"
window_text "\e[0;37;44m"
window_shadow "\e[40m"
menubar "\e[1;30;46m"
menubar_hotkey "\e[1;31;46m"
menubar_selected "\e[1;30;42m"
menubar_sel_hot "\e[1;31;42m"
menu_bg "\e[1;30;47m"
menu_text "\e[1;30;47m"
menu_hotkey "\e[1;31;47m"
menu_selected "\e[1;37;42m"
menu_disabled "\e[0;2;30;47m"
menu_border "\e[1;30;47m"
statusbar "\e[1;30;46m"
statusbar_key "\e[1;33;46m"
button "\e[1;37;42m"
button_focused "\e[1;37;46m"
button_hotkey "\e[1;33;42m"
button_disabled "\e[0;2;37;42m"
input "\e[1;30;46m"
input_focused "\e[1;37;46m"
input_label "\e[1;33;44m"
listbox "\e[0;37;44m"
listbox_selected "\e[1;37;46m"
listbox_focused "\e[0;30;46m"
listbox_header "\e[1;33;44m"
scrollbar "\e[0;36;44m"
scrollbar_thumb "\e[1;37;46m"
end
helpers do