fix: correct foreground/background order

This commit is contained in:
Daylin Morgan 2023-05-11 13:14:31 -05:00
parent 36d8cf1ac7
commit 6b7cf9439c
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 9 additions and 9 deletions

View file

@ -2,8 +2,8 @@ THEMES = (
( (
"cat-mocha", "cat-mocha",
( (
[198, 208, 245],
[30, 30, 46], [30, 30, 46],
[198, 208, 245],
[ [
[179, 188, 223], [179, 188, 223],
[243, 139, 168], [243, 139, 168],
@ -29,8 +29,8 @@ THEMES = (
( (
"cat-macchiato", "cat-macchiato",
( (
[197, 207, 245],
[36, 39, 58], [36, 39, 58],
[197, 207, 245],
[ [
[179, 188, 223], [179, 188, 223],
[243, 139, 168], [243, 139, 168],
@ -56,8 +56,8 @@ THEMES = (
( (
"cat-frappe", "cat-frappe",
( (
[198, 206, 239],
[48, 52, 70], [48, 52, 70],
[198, 206, 239],
[ [
[179, 188, 223], [179, 188, 223],
[243, 139, 168], [243, 139, 168],
@ -83,8 +83,8 @@ THEMES = (
( (
"cat-latte", "cat-latte",
( (
[76, 79, 105],
[239, 241, 245], [239, 241, 245],
[76, 79, 105],
[ [
[179, 188, 223], [179, 188, 223],
[243, 139, 168], [243, 139, 168],
@ -110,8 +110,8 @@ THEMES = (
( (
"dracula", "dracula",
( (
[248, 248, 242],
[40, 42, 54], [40, 42, 54],
[248, 248, 242],
[ [
[33, 34, 44], [33, 34, 44],
[255, 85, 85], [255, 85, 85],
@ -137,8 +137,8 @@ THEMES = (
( (
"gruvbox-dark", "gruvbox-dark",
( (
[213, 196, 161],
[40, 40, 40], [40, 40, 40],
[213, 196, 161],
[ [
[40, 40, 40], [40, 40, 40],
[251, 73, 52], [251, 73, 52],
@ -164,8 +164,8 @@ THEMES = (
( (
"gruvbox-light", "gruvbox-light",
( (
[80, 73, 69],
[251, 241, 199], [251, 241, 199],
[80, 73, 69],
[ [
[251, 241, 199], [251, 241, 199],
[157, 0, 6], [157, 0, 6],
@ -191,8 +191,8 @@ THEMES = (
( (
"nord", "nord",
( (
[215, 222, 233],
[46, 52, 64], [46, 52, 64],
[215, 222, 233],
[ [
[59, 66, 82], [59, 66, 82],
[191, 97, 106], [191, 97, 106],

View file

@ -69,7 +69,7 @@ class YartsuTheme(TerminalTheme):
class ThemeDB: class ThemeDB:
def __init__(self): def __init__(self):
self.default = os.getenv("YARTSU_THEME", "cat-frappe") self.default = os.getenv("YARTSU_THEME", "cat-mocha")
self.selected = self.default self.selected = self.default
self.themes = { self.themes = {
**self._load_yartsu_themes(), **self._load_yartsu_themes(),