From 43b341860be6913f5c31032b94b1fef8fc5916ca Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 18 Mar 2025 11:09:43 +0100 Subject: [PATCH] extend styling to dark theme --- src/main/resources/css/dark_theme.css | 11 +++++++++++ src/main/resources/css/light_theme.css | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/resources/css/dark_theme.css b/src/main/resources/css/dark_theme.css index 4d3db3968..41c2645ea 100644 --- a/src/main/resources/css/dark_theme.css +++ b/src/main/resources/css/dark_theme.css @@ -16,6 +16,10 @@ src: url('opensans_bold.ttf'); } +@font-face { + src: url('firacode_regular.ttf'); +} + /******************************************************************************* * * * Root Styling & Colors * @@ -125,6 +129,13 @@ -fx-fill: TEXT_FILL; } +.cryptic-text { + -fx-background-color: MAIN_BG; + -fx-text-fill: TEXT_FILL; + -fx-font-family: 'Fira Code'; + -fx-font-size: 1.1em; +} + /******************************************************************************* * * * Glyph Icons * diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index ea82411f4..cda105fa0 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -19,7 +19,6 @@ @font-face { src: url('firacode_regular.ttf'); } -} /******************************************************************************* * *