summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/styles/_feature-callout-theme.scss
blob: b62591f3acd294ebb08222397a4c9114c77d466d (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

// stylelint-disable color-hex-length -- we want to preserve these values
// exactly, since they're drawn from other parts of the browser.

@mixin light-theme {
  --fc-background: var(--fc-background-light, #FFF);
  --fc-color: var(--fc-color-light, #15141A);
  --fc-border: var(--fc-border-light, #CFCFD8);
  --fc-accent-color: var(--fc-accent-color-light, #0061E0);
  --fc-button-background: var(--fc-button-background-light, #F0F0F4);
  --fc-button-color: var(--fc-button-color-light, #15141A);
  --fc-button-border: var(--fc-button-border-light, transparent);
  --fc-button-background-hover: var(--fc-button-background-hover-light, #E0E0E6);
  --fc-button-color-hover: var(--fc-button-color-hover-light, #15141A);
  --fc-button-border-hover: var(--fc-button-border-hover-light, transparent);
  --fc-button-background-active: var(--fc-button-background-active-light, #CFCFD8);
  --fc-button-color-active: var(--fc-button-color-active-light, #15141A);
  --fc-button-border-active: var(--fc-button-border-active-light, transparent);
  --fc-step-color: color-mix(in srgb, currentColor 50%, transparent);
}

@mixin dark-theme {
  --fc-background: var(--fc-background-dark, #42414D);
  --fc-color: var(--fc-color-dark, #FBFBFE);
  --fc-border: var(--fc-border-dark, #3A3944);
  --fc-accent-color: var(--fc-accent-color-dark, #00DDFF);
  --fc-button-background: var(--fc-button-background-dark, #2B2A33);
  --fc-button-color: var(--fc-button-color-dark, #FBFBFE);
  --fc-button-border: var(--fc-button-border-dark, transparent);
  --fc-button-background-hover: var(--fc-button-background-hover-dark, #52525E);
  --fc-button-color-hover: var(--fc-button-color-hover-dark, #FBFBFE);
  --fc-button-border-hover: var(--fc-button-border-hover-dark, transparent);
  --fc-button-background-active: var(--fc-button-background-active-dark, #5B5B66);
  --fc-button-color-active: var(--fc-button-color-active-dark, #FBFBFE);
  --fc-button-border-active: var(--fc-button-border-active-dark, transparent);
}

@mixin hcm-theme {
  --fc-background: var(--fc-background-hcm, -moz-dialog);
  --fc-color: var(--fc-color-hcm, -moz-dialogtext);
  --fc-border: var(--fc-border-hcm, -moz-dialogtext);
  --fc-accent-color: var(--fc-accent-color-hcm, LinkText);
  --fc-button-background: var(--fc-button-background-hcm, ButtonFace);
  --fc-button-color: var(--fc-button-color-hcm, ButtonText);
  --fc-button-border: var(--fc-button-border-hcm, ButtonText);
  --fc-button-background-hover: var(--fc-button-background-hover-hcm, ButtonText);
  --fc-button-color-hover: var(--fc-button-color-hover-hcm, ButtonFace);
  --fc-button-border-hover: var(--fc-button-border-hover-hcm, ButtonText);
  --fc-button-background-active: var(--fc-button-background-active-hcm, ButtonText);
  --fc-button-color-active: var(--fc-button-color-active-hcm, ButtonFace);
  --fc-button-border-active: var(--fc-button-border-active-hcm, ButtonText);
  --fc-step-color: var(--fc-accent-color-hcm, LinkText);
}