Skip to content

Commit 1df5c7d

Browse files
authored
Merge pull request #6278 from akhenakh/main
added solarized dark theme
2 parents 8baa0a0 + 1678804 commit 1df5c7d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/textual/theme.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,27 @@ def to_color_system(self) -> ColorSystem:
283283
"footer-description-foreground": "#fdf6e3",
284284
},
285285
),
286+
"solarized-dark": Theme(
287+
name="solarized-dark",
288+
primary="#268bd2",
289+
secondary="#2aa198",
290+
warning="#cb4b16",
291+
error="#dc322f",
292+
success="#859900",
293+
accent="#6c71c4",
294+
background="#002b36",
295+
surface="#073642",
296+
panel="#073642",
297+
foreground="#839496",
298+
dark=True,
299+
variables={
300+
"button-color-foreground": "#fdf6e3",
301+
"footer-background": "#268bd2",
302+
"footer-key-foreground": "#fdf6e3",
303+
"footer-description-foreground": "#fdf6e3",
304+
"input-selection-background": "#073642", # Base02
305+
}
306+
),
286307
"rose-pine": Theme(
287308
name="rose-pine",
288309
primary="#c4a7e7",

0 commit comments

Comments
 (0)