summaryrefslogtreecommitdiff
path: root/pkgs/astal/theme.nix
blob: 977401212caf0680ccd48ec42e944c6f2430a57a (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
{options, ...}: ''

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

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

  $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;

''