summaryrefslogtreecommitdiffstats
path: root/browser/components/asrouter/content-src/styles/_feature-callout-theme.scss
blob: 657d4fa6a32fa5df403ff0e1397c9865747810ba (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// 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, color-hex-case -- 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, rgb(21, 20, 26));
  --fc-border: var(--fc-border-light, #CFCFD8);
  --fc-accent-color: var(--fc-accent-color-light, rgb(0, 97, 224));
  --fc-button-background: var(--fc-button-background-light, #F0F0F4);
  --fc-button-color: var(--fc-button-color-light, rgb(21, 20, 26));
  --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, rgb(21, 20, 26));
  --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, rgb(21, 20, 26));
  --fc-button-border-active: var(--fc-button-border-active-light, transparent);
  --fc-primary-button-background: var(--fc-primary-button-background-light, #0061e0);
  --fc-primary-button-color: var(--fc-primary-button-color-light, rgb(251,251,254));
  --fc-primary-button-border: var(--fc-primary-button-border-light, transparent);
  --fc-primary-button-background-hover: var(--fc-primary-button-background-hover-light, #0250bb);
  --fc-primary-button-color-hover: var(--fc-primary-button-color-hover-light, rgb(251,251,254));
  --fc-primary-button-border-hover: var(--fc-primary-button-border-hover-light, transparent);
  --fc-primary-button-background-active: var(--fc-primary-button-background-active-light, #053e94);
  --fc-primary-button-color-active: var(--fc-primary-button-color-active-light, rgb(251,251,254));
  --fc-primary-button-border-active: var(--fc-primary-button-border-active-light, transparent);
  --fc-step-color: color-mix(in srgb, currentColor 50%, transparent);
  --fc-link-color: var(--fc-link-color-light, #0061E0);
  --fc-link-color-hover: var(--fc-link-color-hover-light, #0250BB);
  --fc-link-color-active: var(--fc-link-color-active-light, #053E94);
}

@mixin dark-theme {
  --fc-background: var(--fc-background-dark, rgb(43, 42, 51));
  --fc-color: var(--fc-color-dark, rgb(251, 251, 254));
  --fc-border: var(--fc-border-dark, #3A3944);
  --fc-accent-color: var(--fc-accent-color-dark, rgb(0, 221, 255));
  --fc-button-background: var(--fc-button-background-dark, #2B2A33);
  --fc-button-color: var(--fc-button-color-dark, rgb(251, 251, 254));
  --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, rgb(251, 251, 254));
  --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, rgb(251, 251, 254));
  --fc-button-border-active: var(--fc-button-border-active-dark, transparent);
  --fc-primary-button-background: var(--fc-primary-button-background-dark, rgb(0,221,255));
  --fc-primary-button-color: var(--fc-primary-button-color-dark, rgb(43,42,51));
  --fc-primary-button-border: var(--fc-primary-button-border-dark, transparent);
  --fc-primary-button-background-hover: var(--fc-primary-button-background-hover-dark, rgb(128,235,255));
  --fc-primary-button-color-hover: var(--fc-primary-button-color-hover-dark, rgb(43,42,51));
  --fc-primary-button-border-hover: var(--fc-primary-button-border-hover-dark, transparent);
  --fc-primary-button-background-active: var(--fc-primary-button-background-active-dark, rgb(170,242,255));
  --fc-primary-button-color-active: var(--fc-primary-button-color-active-dark, rgb(43,42,51));
  --fc-primary-button-border-active: var(--fc-primary-button-border-active-dark, transparent);
  --fc-link-color: var(--fc-link-color-dark, #00DDFF);
  --fc-link-color-hover: var(--fc-link-color-hover-dark, #80EBFF);
  --fc-link-color-active: var(--fc-link-color-hover-active, #AAF2FF);
}

@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-primary-button-background: var(--fc-primary-button-background-hcm, ButtonText);
  --fc-primary-button-color: var(--fc-primary-button-color-hcm, ButtonFace);
  --fc-primary-button-border: var(--fc-primary-button-border-hcm, ButtonFace);
  --fc-primary-button-background-hover: var(--fc-primary-button-background-hover-hcm, SelectedItem);
  --fc-primary-button-color-hover: var(--fc-primary-button-color-hover-hcm, SelectedItemText);
  --fc-primary-button-border-hover: var(--fc-primary-button-border-hover-hcm, SelectedItemText);
  --fc-primary-button-background-active: var(--fc-primary-button-background-active-hcm, SelectedItemText);
  --fc-primary-button-color-active: var(--fc-primary-button-color-active-hcm, SelectedItem);
  --fc-primary-button-border-active: var(--fc-primary-button-border-active-hcm, SelectedItem);
  --fc-step-color: var(--fc-accent-color-hcm, LinkText);
  --fc-link-color: var(--fc-link-color-hcm, LinkText);
  --fc-link-color-hover: var(--fc-link-color-hover-hcm, LinkText);
  --fc-link-color-active: var(--fc-link-color-active-hcm, ActiveText);
}