-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (50 loc) · 1.33 KB
/
style.css
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
/* Purple Light scheme (Default) */
/* Can be forced with data-theme="light" */
[data-theme="light"],
:root:not([data-theme="dark"]) {
--primary: #8e24aa;
--primary-hover: #7b1fa2;
--primary-focus: rgba(142, 36, 170, 0.125);
--primary-inverse: #FFF;
}
/* Purple Dark scheme (Auto) */
/* Automatically enabled if user has Dark mode enabled */
@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--primary: #8e24aa;
--primary-hover: #9c27b0;
--primary-focus: rgba(142, 36, 170, 0.25);
--primary-inverse: #FFF;
}
}
/* Purple Dark scheme (Forced) */
/* Enabled if forced with data-theme="dark" */
[data-theme="dark"] {
--primary: #8e24aa;
--primary-hover: #9c27b0;
--primary-focus: rgba(142, 36, 170, 0.25);
--primary-inverse: #FFF;
}
/* Purple (Common styles) */
:root {
--form-element-active-border-color: var(--primary);
--form-element-focus-color: var(--primary-focus);
--switch-color: var(--primary-inverse);
--switch-checked-background-color: var(--primary);
}
/* Custom styles */
.card-selected {
outline-style: solid;
outline-color: var(--primary);
outline-width: .15em;
}
article {
transition-property: outline-width, outline-color;
transition-duration: 100ms;
outline-style: solid;
outline-color: var(--primary-hover);
outline-width: 0em;
}
article:hover {
outline-width: .15em;
}