Skip to content

Commit

Permalink
added terminal themes: solarized light/dark
Browse files Browse the repository at this point in the history
  • Loading branch information
Isidro Arias authored and isidroas committed Mar 9, 2024
1 parent 0d7e598 commit cbb8f92
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions rich/terminal_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,53 @@ def __init__(
(253, 253, 197),
],
)

SOLARIZED_LIGHT = TerminalTheme(
(0xFD, 0xF6, 0xE3),
(0x58, 0x6E, 0x75),
[
(0x00, 0x2B, 0x36),
(0xDC, 0x32, 0x2F),
(0x85, 0x99, 0x00),
(0xB5, 0x89, 0x00),
(0x26, 0x8B, 0xD2),
(0x6C, 0x71, 0xC4),
(0x2A, 0xA1, 0x98),
(0x93, 0xA1, 0xA1),
],
[
(0x65, 0x7B, 0x83),
(0xDC, 0x32, 0x2F),
(0x85, 0x99, 0x00),
(0xB5, 0x89, 0x00),
(0x26, 0x8B, 0xD2),
(0x6C, 0x71, 0xC4),
(0x2A, 0xA1, 0x98),
(0xFD, 0xF6, 0xE3),
],
)

SOLARIZED_DARK = TerminalTheme(
(0x00, 0x2B, 0x36),
(0x93, 0xA1, 0xA1),
[
(0x00, 0x2B, 0x36),
(0xDC, 0x32, 0x2F),
(0x85, 0x99, 0x00),
(0xB5, 0x89, 0x00),
(0x26, 0x8B, 0xD2),
(0x6C, 0x71, 0xC4),
(0x2A, 0xA1, 0x98),
(0x93, 0xA1, 0xA1),
],
[
(0x65, 0x7B, 0x83),
(0xDC, 0x32, 0x2F),
(0x85, 0x99, 0x00),
(0xB5, 0x89, 0x00),
(0x26, 0x8B, 0xD2),
(0x6C, 0x71, 0xC4),
(0x2A, 0xA1, 0x98),
(0xFD, 0xF6, 0xE3),
],
)

0 comments on commit cbb8f92

Please sign in to comment.