This commit is contained in:
Will McGugan
2023-04-21 21:59:11 +01:00
parent 0f8d4893e7
commit 4b9ae2c91b
2 changed files with 10 additions and 12 deletions

View File

@@ -116,19 +116,19 @@ LayoutDefinition = "dict[str, Any]"
DEFAULT_COLORS = {
"dark": ColorSystem(
primary="#004578",
secondary="#ffa62b",
warning="#ffa62b",
error="#ba3c5b",
success="#4EBF71",
secondary="#F2A549",
warning="#F2A549",
error="#EF4248",
success="#22BF81",
accent="#0178D4",
dark=True,
),
"light": ColorSystem(
primary="#004578",
secondary="#ffa62b",
warning="#ffa62b",
error="#ba3c5b",
success="#4EBF71",
secondary="#F2A549",
warning="#F2A549",
error="#EF4248",
success="#22BF81",
accent="#0178D4",
dark=False,
),

View File

@@ -58,9 +58,7 @@ class Button(Static, can_focus=True):
opacity: 0.5;
}
App.-light-mode Button.-default {
border: tall $foreground;
}
App.-light-mode Button.-default:hover {
border: tall $accent;
@@ -143,7 +141,7 @@ class Button(Static, can_focus=True):
}
App.-light-mode Button.-error {
background: $error;
background: $error 80%;
color: $text;
}