summaryrefslogtreecommitdiff
path: root/pkgs/astal/src
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/astal/src')
-rw-r--r--pkgs/astal/src/style/style.scss13
-rw-r--r--pkgs/astal/src/style/theme.scss32
2 files changed, 6 insertions, 39 deletions
diff --git a/pkgs/astal/src/style/style.scss b/pkgs/astal/src/style/style.scss
index 77c8b36..7be2b2f 100644
--- a/pkgs/astal/src/style/style.scss
+++ b/pkgs/astal/src/style/style.scss
@@ -8,22 +8,21 @@
}
window {
- color: $text;
+ color: $fg;
font-family: $font-name;
}
button {
- color: $text;
+ color: $fg;
background: $surface-bg;
&:hover {
- color: $hover;
background: $hover-bg;
}
&.primary {
- color: $primary;
- background: $primary-bg;
+ color: $bg;
+ background: $primary;
}
}
@@ -33,7 +32,7 @@ menu {
border-radius: $outer-radius;
menuitem {
- color: $text;
+ color: $fg;
margin: $inner-gap $outer-gap;
padding: $inner-gap;
border-radius: $inner-radius;
@@ -44,7 +43,7 @@ menu {
}
&:disabled {
- color: $subtext;
+ color: darken($fg, 5%);
}
}
diff --git a/pkgs/astal/src/style/theme.scss b/pkgs/astal/src/style/theme.scss
deleted file mode 100644
index 2af74f5..0000000
--- a/pkgs/astal/src/style/theme.scss
+++ /dev/null
@@ -1,32 +0,0 @@
-
-$text: #cdd6f4;
-$subtext: #a6adc8;
-
-$bg: #1e1e2e;
-$surface-bg: #313244;
-
-$hover: $text;
-$hover-bg: #6c7086;
-
-$primary: $bg;
-$primary-bg: #89b4fa;
-
-$success: #a6e3a1;
-$success-bg: $bg;
-
-$warning: #f9e2af;
-$warning-bg: $bg;
-
-$error: #f38ba8;
-$error-bg: $bg;
-
-$border: 2px;
-
-$inner-radius: 4px;
-$outer-radius: 8px;
-
-$inner-gap: 3px;
-$outer-gap: 10px;
-
-$font-name: "JetBrains Mono", "monospace";
-$font-size: 14px;