From ae7c767c0ae94ff55e2c3ce40317daf8afd31030 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 13 May 2026 18:35:40 +0200 Subject: [PATCH] theme --- Gemfile.lock | 2 +- bbs.rb | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4c5e47d..917390b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://git.teletype.hu/tools/rubbs.git - revision: 40c9397e123e8c90b017ccb57a59f396e50936b5 + revision: 11c26a5b63329718f117377a3dcb9a22f712f5b6 specs: bbs (0.4.0) artii (~> 2.1) diff --git a/bbs.rb b/bbs.rb index 2529de2..c1282b7 100644 --- a/bbs.rb +++ b/bbs.rb @@ -54,7 +54,20 @@ SERVICES = { }.freeze MAIN_APP = BBS::Application.define do - theme BBS::Theme.synchronet + 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" + end helpers do def sysop?