summaryrefslogtreecommitdiff
path: root/pkgs/astal/theme.nix
blob: b76864cedfde8bb427990afdab7b72060423bbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{theme, ...}: ''

  $text: #${theme.colors.text};
  $subtext: #${theme.colors.subtext};

  $base: #${theme.colors.base};
  $surface: #${theme.colors.surface};
  $overlay: #${theme.colors.overlay};

  $primary: #${theme.colors.primary};
  $success: #${theme.colors.success};
  $warning: #${theme.colors.warning};
  $error: #${theme.colors.error};

  $border: ${toString theme.borderWidth}px;

  $inner-radius: ${toString theme.innerRadius}px;
  $outer-radius: ${toString theme.outerRadius}px;

  $inner-gap: ${toString theme.innerGap}px;
  $outer-gap: ${toString theme.outerGap}px;

  $font-name: "${theme.font.regular}", "${theme.font.monospace}";
  $font-size: ${toString theme.font.size}px;

''