diff options
Diffstat (limited to 'pkgs/astal/theme.nix')
| -rw-r--r-- | pkgs/astal/theme.nix | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/pkgs/astal/theme.nix b/pkgs/astal/theme.nix index 9774012..b76864c 100644 --- a/pkgs/astal/theme.nix +++ b/pkgs/astal/theme.nix @@ -1,26 +1,26 @@ -{options, ...}: '' +{theme, ...}: '' - $text: #${options.theme.colors.text}; - $subtext: #${options.theme.colors.subtext}; + $text: #${theme.colors.text}; + $subtext: #${theme.colors.subtext}; - $base: #${options.theme.colors.base}; - $surface: #${options.theme.colors.surface}; - $overlay: #${options.theme.colors.overlay}; + $base: #${theme.colors.base}; + $surface: #${theme.colors.surface}; + $overlay: #${theme.colors.overlay}; - $primary: #${options.theme.colors.primary}; - $success: #${options.theme.colors.success}; - $warning: #${options.theme.colors.warning}; - $error: #${options.theme.colors.error}; + $primary: #${theme.colors.primary}; + $success: #${theme.colors.success}; + $warning: #${theme.colors.warning}; + $error: #${theme.colors.error}; - $border: ${toString options.theme.borderWidth}px; + $border: ${toString theme.borderWidth}px; - $inner-radius: ${toString options.theme.innerRadius}px; - $outer-radius: ${toString options.theme.outerRadius}px; + $inner-radius: ${toString theme.innerRadius}px; + $outer-radius: ${toString theme.outerRadius}px; - $inner-gap: ${toString options.theme.innerGap}px; - $outer-gap: ${toString options.theme.outerGap}px; + $inner-gap: ${toString theme.innerGap}px; + $outer-gap: ${toString theme.outerGap}px; - $font-name: "${options.theme.font.regular}", "${options.theme.font.monospace}"; - $font-size: ${toString options.theme.font.size}px; + $font-name: "${theme.font.regular}", "${theme.font.monospace}"; + $font-size: ${toString theme.font.size}px; '' |