summaryrefslogtreecommitdiff
path: root/pkgs/astal/theme.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-17 21:35:43 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-17 21:35:43 -0400
commitf40273ec45e6676b975d42f4bc0c44a6392b7098 (patch)
treea896d01bed07fb1aa57d37b75d8fa2ad714e4ccf /pkgs/astal/theme.nix
parentchange color scheme basis (diff)
downloaddotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.tar.gz
dotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.tar.bz2
dotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.zip
refactor styles to new color scheme basis
Diffstat (limited to 'pkgs/astal/theme.nix')
-rw-r--r--pkgs/astal/theme.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/astal/theme.nix b/pkgs/astal/theme.nix
new file mode 100644
index 0000000..1efd1fe
--- /dev/null
+++ b/pkgs/astal/theme.nix
@@ -0,0 +1,33 @@
+{
+ options,
+ ...
+}:
+
+''
+
+$fg: #${options.theme.colors.fg};
+$bg: #${options.theme.colors.bg};
+
+$surface-fg: #${options.theme.colors.surface.fg};
+$surface-bg: #${options.theme.colors.surface.bg};
+
+$hover-fg: #${options.theme.colors.hover.fg};
+$hover-bg: #${options.theme.colors.hover.bg};
+
+$primary: #${options.theme.colors.primary};
+$success: #${options.theme.colors.success};
+$warning: #${options.theme.colors.warning};
+$error: #${options.theme.colors.error};
+
+$border: ${toString options.theme.borderWidth}px;
+
+$inner-radius: ${toString options.theme.innerRadius}px;
+$outer-radius: ${toString options.theme.outerRadius}px;
+
+$inner-gap: ${toString options.theme.innerGap}px;
+$outer-gap: ${toString options.theme.outerGap}px;
+
+$font-name: "${options.theme.font.regular}", "${options.theme.font.monospace}";
+$font-size: ${toString options.theme.font.size}px;
+
+''