@operato/styles 2.0.0-alpha.99 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +148 -0
- package/dist/src/button-container-styles.js +25 -23
- package/dist/src/button-container-styles.js.map +1 -1
- package/dist/src/common-grist-styles.js +19 -17
- package/dist/src/common-grist-styles.js.map +1 -1
- package/dist/src/common-header-styles.js +30 -20
- package/dist/src/common-header-styles.js.map +1 -1
- package/dist/src/scrollbar-styles.js +9 -8
- package/dist/src/scrollbar-styles.js.map +1 -1
- package/dist/src/spinner-styles.js +1 -0
- package/dist/src/spinner-styles.js.map +1 -1
- package/dist/src/tooltip-styles.js +1 -1
- package/dist/src/tooltip-styles.js.map +1 -1
- package/dist/stories/button-container-styles.stories.d.ts +7 -2
- package/dist/stories/button-container-styles.stories.js +35 -6
- package/dist/stories/button-container-styles.stories.js.map +1 -1
- package/dist/stories/common-header-styles-actions.stories.d.ts +5 -0
- package/dist/stories/common-header-styles-actions.stories.js +40 -16
- package/dist/stories/common-header-styles-actions.stories.js.map +1 -1
- package/dist/stories/common-header-styles-pure.stories.d.ts +5 -0
- package/dist/stories/common-header-styles-pure.stories.js +36 -13
- package/dist/stories/common-header-styles-pure.stories.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/button-container-styles.ts +25 -23
- package/src/common-grist-styles.ts +19 -17
- package/src/common-header-styles.ts +30 -20
- package/src/scrollbar-styles.ts +9 -8
- package/src/spinner-styles.ts +1 -0
- package/src/tooltip-styles.ts +1 -1
- package/stories/button-container-styles.stories.ts +36 -7
- package/stories/common-header-styles-actions.stories.ts +67 -42
- package/stories/common-header-styles-pure.stories.ts +37 -13
- package/themes/dark-hc.css +151 -0
- package/themes/dark-mc.css +151 -0
- package/themes/dark.css +151 -0
- package/themes/grist-theme.css +169 -0
- package/themes/light-hc.css +151 -0
- package/themes/light-mc.css +151 -0
- package/themes/light.css +151 -0
- package/themes/md-typescale-styles.css +100 -0
- package/themes/spacing.css +43 -0
- package/themes/state-color.css +6 -0
- package/themes/app-theme.css +0 -161
- package/themes/form-theme.css +0 -75
@@ -2,12 +2,14 @@ import '@material/web/icon/icon.js'
|
|
2
2
|
import { CommonHeaderStyles } from '../src/common-header-styles.js'
|
3
3
|
|
4
4
|
import { css, html, render, TemplateResult } from 'lit'
|
5
|
+
import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
|
5
6
|
|
6
7
|
export default {
|
7
8
|
title: 'common-header-styles-pure',
|
8
9
|
component: 'div',
|
9
10
|
argTypes: {
|
10
|
-
label: { control: 'string' }
|
11
|
+
label: { control: 'string' },
|
12
|
+
theme: { control: 'select', options: ['light', 'dark'] }
|
11
13
|
}
|
12
14
|
}
|
13
15
|
|
@@ -19,12 +21,17 @@ interface Story<T> {
|
|
19
21
|
|
20
22
|
interface ArgTypes {
|
21
23
|
label?: string
|
24
|
+
theme?: 'light' | 'dark'
|
22
25
|
}
|
23
26
|
|
24
|
-
const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
|
25
|
-
<link href="/
|
26
|
-
|
27
|
-
|
27
|
+
const Template: Story<ArgTypes> = ({ label = '', theme = 'light' }: ArgTypes) => html`
|
28
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
|
29
|
+
|
30
|
+
<link href="/themes/light.css" rel="stylesheet" />
|
31
|
+
<link href="/themes/dark.css" rel="stylesheet" />
|
32
|
+
<link href="/themes/spacing.css" rel="stylesheet" />
|
33
|
+
|
34
|
+
<link
|
28
35
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
29
36
|
rel="stylesheet"
|
30
37
|
/>
|
@@ -37,25 +44,42 @@ const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
|
|
37
44
|
rel="stylesheet"
|
38
45
|
/>
|
39
46
|
|
47
|
+
<script>
|
48
|
+
document.body.classList.add('${theme}')
|
49
|
+
</script>
|
40
50
|
|
41
51
|
<style>
|
42
52
|
body {
|
43
|
-
|
53
|
+
width: 100%;
|
54
|
+
height: 500px;
|
55
|
+
text-align: center;
|
56
|
+
|
57
|
+
background-color: var(--md-sys-color-background);
|
58
|
+
color: var(--md-sys-color-on-background);
|
44
59
|
}
|
45
60
|
|
61
|
+
.container {
|
62
|
+
padding: var(--spacing-medium);
|
63
|
+
background-color: var(--md-sys-color-primary-container);
|
64
|
+
color: var(--md-sys-color-on-primary-container);
|
65
|
+
|
66
|
+
display: flex;
|
67
|
+
flex-direction: column;
|
68
|
+
gap: 10px;
|
69
|
+
}
|
70
|
+
|
71
|
+
${MDTypeScaleStyles.cssText}
|
46
72
|
${CommonHeaderStyles.cssText}
|
47
73
|
</style>
|
48
74
|
|
49
|
-
<div
|
75
|
+
<div class="container md-typescale-body-medium">
|
50
76
|
<div class="header">
|
51
|
-
<div class="title">
|
52
|
-
${label}
|
53
|
-
</div>
|
77
|
+
<div class="title">${label}</div>
|
54
78
|
|
55
79
|
<div class="filters">
|
56
|
-
<div class="filter"><label>Filter</label><input type="text"
|
57
|
-
<div class="filter"><label>Filter</label><input type="text"
|
58
|
-
<div class="filter"><label>Filter</label><input type="text"
|
80
|
+
<div class="filter"><label>Filter</label><input type="text" /></div>
|
81
|
+
<div class="filter"><label>Filter</label><input type="text" /></div>
|
82
|
+
<div class="filter"><label>Filter</label><input type="text" /></div>
|
59
83
|
</div>
|
60
84
|
|
61
85
|
<div class="actions">
|
@@ -0,0 +1,151 @@
|
|
1
|
+
.dark-high-contrast {
|
2
|
+
--md-sys-color-primary: rgb(252 250 255);
|
3
|
+
--md-sys-color-surface-tint: rgb(178 197 255);
|
4
|
+
--md-sys-color-on-primary: rgb(0 0 0);
|
5
|
+
--md-sys-color-primary-container: rgb(184 201 255);
|
6
|
+
--md-sys-color-on-primary-container: rgb(0 0 0);
|
7
|
+
--md-sys-color-secondary: rgb(248 251 255);
|
8
|
+
--md-sys-color-on-secondary: rgb(0 0 0);
|
9
|
+
--md-sys-color-secondary-container: rgb(147 211 247);
|
10
|
+
--md-sys-color-on-secondary-container: rgb(0 0 0);
|
11
|
+
--md-sys-color-tertiary: rgb(238 255 242);
|
12
|
+
--md-sys-color-on-tertiary: rgb(0 0 0);
|
13
|
+
--md-sys-color-tertiary-container: rgb(148 218 179);
|
14
|
+
--md-sys-color-on-tertiary-container: rgb(0 0 0);
|
15
|
+
--md-sys-color-error: rgb(255 249 249);
|
16
|
+
--md-sys-color-on-error: rgb(0 0 0);
|
17
|
+
--md-sys-color-error-container: rgb(255 185 180);
|
18
|
+
--md-sys-color-on-error-container: rgb(0 0 0);
|
19
|
+
--md-sys-color-background: rgb(18 19 24);
|
20
|
+
--md-sys-color-on-background: rgb(227 226 233);
|
21
|
+
--md-sys-color-surface: rgb(18 19 24);
|
22
|
+
--md-sys-color-on-surface: rgb(255 255 255);
|
23
|
+
--md-sys-color-surface-variant: rgb(69 70 79);
|
24
|
+
--md-sys-color-on-surface-variant: rgb(252 250 255);
|
25
|
+
--md-sys-color-outline: rgb(201 202 212);
|
26
|
+
--md-sys-color-outline-variant: rgb(201 202 212);
|
27
|
+
--md-sys-color-shadow: rgb(0 0 0);
|
28
|
+
--md-sys-color-scrim: rgb(0 0 0);
|
29
|
+
--md-sys-color-inverse-surface: rgb(227 226 233);
|
30
|
+
--md-sys-color-inverse-on-surface: rgb(0 0 0);
|
31
|
+
--md-sys-color-inverse-primary: rgb(16 39 90);
|
32
|
+
--md-sys-color-primary-fixed: rgb(224 230 255);
|
33
|
+
--md-sys-color-on-primary-fixed: rgb(0 0 0);
|
34
|
+
--md-sys-color-primary-fixed-dim: rgb(184 201 255);
|
35
|
+
--md-sys-color-on-primary-fixed-variant: rgb(0 19 61);
|
36
|
+
--md-sys-color-secondary-fixed: rgb(205 235 255);
|
37
|
+
--md-sys-color-on-secondary-fixed: rgb(0 0 0);
|
38
|
+
--md-sys-color-secondary-fixed-dim: rgb(147 211 247);
|
39
|
+
--md-sys-color-on-secondary-fixed-variant: rgb(0 25 36);
|
40
|
+
--md-sys-color-tertiary-fixed: rgb(175 246 206);
|
41
|
+
--md-sys-color-on-tertiary-fixed: rgb(0 0 0);
|
42
|
+
--md-sys-color-tertiary-fixed-dim: rgb(148 218 179);
|
43
|
+
--md-sys-color-on-tertiary-fixed-variant: rgb(0 27 14);
|
44
|
+
--md-sys-color-surface-dim: rgb(18 19 24);
|
45
|
+
--md-sys-color-surface-bright: rgb(56 57 63);
|
46
|
+
--md-sys-color-surface-container-lowest: rgb(13 14 19);
|
47
|
+
--md-sys-color-surface-container-low: rgb(26 27 33);
|
48
|
+
--md-sys-color-surface-container: rgb(30 31 37);
|
49
|
+
--md-sys-color-surface-container-high: rgb(41 42 47);
|
50
|
+
--md-sys-color-surface-container-highest: rgb(51 52 58);
|
51
|
+
|
52
|
+
/* primary palette */
|
53
|
+
--md-ref-palette-primary0:#000000;
|
54
|
+
--md-ref-palette-primary5:#000E32;
|
55
|
+
--md-ref-palette-primary10:#001848;
|
56
|
+
--md-ref-palette-primary15:#00215E;
|
57
|
+
--md-ref-palette-primary20:#002B74;
|
58
|
+
--md-ref-palette-primary25:#002B74;
|
59
|
+
--md-ref-palette-primary30:#0040A2;
|
60
|
+
--md-ref-palette-primary35:#002B74;
|
61
|
+
--md-ref-palette-primary40:#1957CA;
|
62
|
+
--md-ref-palette-primary50:#3E71E5;
|
63
|
+
--md-ref-palette-primary60:#5C8BFF;
|
64
|
+
--md-ref-palette-primary70:#89A9FF;
|
65
|
+
--md-ref-palette-primary80:#B2C5FF;
|
66
|
+
--md-ref-palette-primary90:#DAE2FF;
|
67
|
+
--md-ref-palette-primary95:#EEF0FF;
|
68
|
+
--md-ref-palette-primary98:#FAF8FF;
|
69
|
+
--md-ref-palette-primary99:#FEFBFF;
|
70
|
+
--md-ref-palette-primary100:#FFFFFF;
|
71
|
+
|
72
|
+
/* secondary palette */
|
73
|
+
--md-ref-palette-secondary0:#000000;
|
74
|
+
--md-ref-palette-secondary5:#00131D;
|
75
|
+
--md-ref-palette-secondary10:#001E2C;
|
76
|
+
--md-ref-palette-secondary15:#00293A;
|
77
|
+
--md-ref-palette-secondary20:#003549;
|
78
|
+
--md-ref-palette-secondary25:#004058;
|
79
|
+
--md-ref-palette-secondary30:#004C68;
|
80
|
+
--md-ref-palette-secondary35:#005978;
|
81
|
+
--md-ref-palette-secondary40:#006689;
|
82
|
+
--md-ref-palette-secondary50:#0080AC;
|
83
|
+
--md-ref-palette-secondary60:#009BCF;
|
84
|
+
--md-ref-palette-secondary70:#00B8F4;
|
85
|
+
--md-ref-palette-secondary80:#79D1FF;
|
86
|
+
--md-ref-palette-secondary90:#C3E8FF;
|
87
|
+
--md-ref-palette-secondary95:#E3F3FF;
|
88
|
+
--md-ref-palette-secondary98:#F5FAFF;
|
89
|
+
--md-ref-palette-secondary99:#FBFCFF;
|
90
|
+
--md-ref-palette-secondary100:#FFFFFF;
|
91
|
+
|
92
|
+
/* tertiary palette */
|
93
|
+
--md-ref-palette-tertiary0:#000000;
|
94
|
+
--md-ref-palette-tertiary5:#00150A;
|
95
|
+
--md-ref-palette-tertiary10:#002113;
|
96
|
+
--md-ref-palette-tertiary15:#002C1B;
|
97
|
+
--md-ref-palette-tertiary20:#003823;
|
98
|
+
--md-ref-palette-tertiary25:#00452B;
|
99
|
+
--md-ref-palette-tertiary30:#005234;
|
100
|
+
--md-ref-palette-tertiary35:#005F3E;
|
101
|
+
--md-ref-palette-tertiary40:#006C47;
|
102
|
+
--md-ref-palette-tertiary50:#00885A;
|
103
|
+
--md-ref-palette-tertiary60:#31A372;
|
104
|
+
--md-ref-palette-tertiary70:#51BF8B;
|
105
|
+
--md-ref-palette-tertiary80:#6EDBA5;
|
106
|
+
--md-ref-palette-tertiary90:#A2F4C7;
|
107
|
+
--md-ref-palette-tertiary95:#BFFFD9;
|
108
|
+
--md-ref-palette-tertiary98:#E8FFEF;
|
109
|
+
--md-ref-palette-tertiary99:#F4FFF5;
|
110
|
+
--md-ref-palette-tertiary100:#FFFFFF;
|
111
|
+
|
112
|
+
/* error palette */
|
113
|
+
--md-ref-palette-error0:#000000;
|
114
|
+
--md-ref-palette-error5:#2d0102;
|
115
|
+
--md-ref-palette-error10:#410304;
|
116
|
+
--md-ref-palette-error15:#540507;
|
117
|
+
--md-ref-palette-error20:#68070a;
|
118
|
+
--md-ref-palette-error25:#7d0b0e;
|
119
|
+
--md-ref-palette-error30:#930f14;
|
120
|
+
--md-ref-palette-error35:#a91319;
|
121
|
+
--md-ref-palette-error40:#bc1620;
|
122
|
+
--md-ref-palette-error50:#e03236;
|
123
|
+
--md-ref-palette-error60:#ff5450;
|
124
|
+
--md-ref-palette-error70:#ff8982;
|
125
|
+
--md-ref-palette-error80:#ffb3ad;
|
126
|
+
--md-ref-palette-error90:#ffdad7;
|
127
|
+
--md-ref-palette-error95:#ffedeb;
|
128
|
+
--md-ref-palette-error98:#fff8f7;
|
129
|
+
--md-ref-palette-error99:#fffbff;
|
130
|
+
--md-ref-palette-error100:#FFFFFF;
|
131
|
+
|
132
|
+
/* neutral palette */
|
133
|
+
--md-ref-palette-neutral0:#000000;
|
134
|
+
--md-ref-palette-neutral5:#111111;
|
135
|
+
--md-ref-palette-neutral10:#1C1C1C;
|
136
|
+
--md-ref-palette-neutral15:#262626;
|
137
|
+
--md-ref-palette-neutral20:#313131;
|
138
|
+
--md-ref-palette-neutral25:#3C3C3C;
|
139
|
+
--md-ref-palette-neutral30:#474747;
|
140
|
+
--md-ref-palette-neutral35:#535353;
|
141
|
+
--md-ref-palette-neutral40:#5F5F5F;
|
142
|
+
--md-ref-palette-neutral50:#787878;
|
143
|
+
--md-ref-palette-neutral60:#929292;
|
144
|
+
--md-ref-palette-neutral70:#ACACAC;
|
145
|
+
--md-ref-palette-neutral80:#C8C8C8;
|
146
|
+
--md-ref-palette-neutral90:#E4E4E4;
|
147
|
+
--md-ref-palette-neutral95:#F0F0F0;
|
148
|
+
--md-ref-palette-neutral98:#F9F9F9;
|
149
|
+
--md-ref-palette-neutral99:#FEFEFE;
|
150
|
+
--md-ref-palette-neutral100:#FFFFFF;
|
151
|
+
}
|
@@ -0,0 +1,151 @@
|
|
1
|
+
.dark-medium-contrast {
|
2
|
+
--md-sys-color-primary: rgb(184 201 255);
|
3
|
+
--md-sys-color-surface-tint: rgb(178 197 255);
|
4
|
+
--md-sys-color-on-primary: rgb(0 19 61);
|
5
|
+
--md-sys-color-primary-container: rgb(124 143 200);
|
6
|
+
--md-sys-color-on-primary-container: rgb(0 0 0);
|
7
|
+
--md-sys-color-secondary: rgb(147 211 247);
|
8
|
+
--md-sys-color-on-secondary: rgb(0 25 36);
|
9
|
+
--md-sys-color-secondary-container: rgb(88 152 186);
|
10
|
+
--md-sys-color-on-secondary-container: rgb(0 0 0);
|
11
|
+
--md-sys-color-tertiary: #cffce3;
|
12
|
+
--md-sys-color-on-tertiary: rgb(0 27 14);
|
13
|
+
--md-sys-color-tertiary-container: #005234;
|
14
|
+
--md-sys-color-on-tertiary-container: #cffce3;
|
15
|
+
--md-sys-color-error: #fbafa9;
|
16
|
+
--md-sys-color-on-error: #fe594e;
|
17
|
+
--md-sys-color-error-container: #fe594e;
|
18
|
+
--md-sys-color-on-error-container: #fbafa9;
|
19
|
+
--md-sys-color-background: rgb(18 19 24);
|
20
|
+
--md-sys-color-on-background: rgb(227 226 233);
|
21
|
+
--md-sys-color-surface: rgb(18 19 24);
|
22
|
+
--md-sys-color-on-surface: rgb(252 250 255);
|
23
|
+
--md-sys-color-surface-variant: rgb(69 70 79);
|
24
|
+
--md-sys-color-on-surface-variant: rgb(201 202 212);
|
25
|
+
--md-sys-color-outline: rgb(161 162 172);
|
26
|
+
--md-sys-color-outline-variant: rgb(129 131 140);
|
27
|
+
--md-sys-color-shadow: rgb(0 0 0);
|
28
|
+
--md-sys-color-scrim: rgb(0 0 0);
|
29
|
+
--md-sys-color-inverse-surface: rgb(227 226 233);
|
30
|
+
--md-sys-color-inverse-on-surface: rgb(41 42 47);
|
31
|
+
--md-sys-color-inverse-primary: rgb(50 70 122);
|
32
|
+
--md-sys-color-primary-fixed: rgb(218 226 255);
|
33
|
+
--md-sys-color-on-primary-fixed: rgb(0 15 51);
|
34
|
+
--md-sys-color-primary-fixed-dim: rgb(178 197 255);
|
35
|
+
--md-sys-color-on-primary-fixed-variant: rgb(31 52 102);
|
36
|
+
--md-sys-color-secondary-fixed: rgb(195 232 255);
|
37
|
+
--md-sys-color-on-secondary-fixed: rgb(0 19 29);
|
38
|
+
--md-sys-color-secondary-fixed-dim: rgb(143 207 243);
|
39
|
+
--md-sys-color-on-secondary-fixed-variant: rgb(0 59 81);
|
40
|
+
--md-sys-color-tertiary-fixed: #c7e6d5;
|
41
|
+
--md-sys-color-on-tertiary-fixed: rgb(0 21 10);
|
42
|
+
--md-sys-color-tertiary-fixed-dim: #c7e6d5;
|
43
|
+
--md-sys-color-on-tertiary-fixed-variant: rgb(0 63 39);
|
44
|
+
--md-sys-color-surface-dim: rgb(18 19 24);
|
45
|
+
--md-sys-color-surface-bright: rgb(56 57 63);
|
46
|
+
--md-sys-color-surface-container-lowest: rgb(13 14 19);
|
47
|
+
--md-sys-color-surface-container-low: rgb(26 27 33);
|
48
|
+
--md-sys-color-surface-container: rgb(30 31 37);
|
49
|
+
--md-sys-color-surface-container-high: rgb(41 42 47);
|
50
|
+
--md-sys-color-surface-container-highest: rgb(51 52 58);
|
51
|
+
|
52
|
+
/* primary palette */
|
53
|
+
--md-ref-palette-primary0:#000000;
|
54
|
+
--md-ref-palette-primary5:#000E32;
|
55
|
+
--md-ref-palette-primary10:#001848;
|
56
|
+
--md-ref-palette-primary15:#00215E;
|
57
|
+
--md-ref-palette-primary20:#002B74;
|
58
|
+
--md-ref-palette-primary25:#002B74;
|
59
|
+
--md-ref-palette-primary30:#0040A2;
|
60
|
+
--md-ref-palette-primary35:#002B74;
|
61
|
+
--md-ref-palette-primary40:#1957CA;
|
62
|
+
--md-ref-palette-primary50:#3E71E5;
|
63
|
+
--md-ref-palette-primary60:#5C8BFF;
|
64
|
+
--md-ref-palette-primary70:#89A9FF;
|
65
|
+
--md-ref-palette-primary80:#B2C5FF;
|
66
|
+
--md-ref-palette-primary90:#DAE2FF;
|
67
|
+
--md-ref-palette-primary95:#EEF0FF;
|
68
|
+
--md-ref-palette-primary98:#FAF8FF;
|
69
|
+
--md-ref-palette-primary99:#FEFBFF;
|
70
|
+
--md-ref-palette-primary100:#FFFFFF;
|
71
|
+
|
72
|
+
/* secondary palette */
|
73
|
+
--md-ref-palette-secondary0:#000000;
|
74
|
+
--md-ref-palette-secondary5:#00131D;
|
75
|
+
--md-ref-palette-secondary10:#001E2C;
|
76
|
+
--md-ref-palette-secondary15:#00293A;
|
77
|
+
--md-ref-palette-secondary20:#003549;
|
78
|
+
--md-ref-palette-secondary25:#004058;
|
79
|
+
--md-ref-palette-secondary30:#004C68;
|
80
|
+
--md-ref-palette-secondary35:#005978;
|
81
|
+
--md-ref-palette-secondary40:#006689;
|
82
|
+
--md-ref-palette-secondary50:#0080AC;
|
83
|
+
--md-ref-palette-secondary60:#009BCF;
|
84
|
+
--md-ref-palette-secondary70:#00B8F4;
|
85
|
+
--md-ref-palette-secondary80:#79D1FF;
|
86
|
+
--md-ref-palette-secondary90:#C3E8FF;
|
87
|
+
--md-ref-palette-secondary95:#E3F3FF;
|
88
|
+
--md-ref-palette-secondary98:#F5FAFF;
|
89
|
+
--md-ref-palette-secondary99:#FBFCFF;
|
90
|
+
--md-ref-palette-secondary100:#FFFFFF;
|
91
|
+
|
92
|
+
/* tertiary palette */
|
93
|
+
--md-ref-palette-tertiary0:#000000;
|
94
|
+
--md-ref-palette-tertiary5:#00150A;
|
95
|
+
--md-ref-palette-tertiary10:#002113;
|
96
|
+
--md-ref-palette-tertiary15:#002C1B;
|
97
|
+
--md-ref-palette-tertiary20:#003823;
|
98
|
+
--md-ref-palette-tertiary25:#00452B;
|
99
|
+
--md-ref-palette-tertiary30:#005234;
|
100
|
+
--md-ref-palette-tertiary35:#005F3E;
|
101
|
+
--md-ref-palette-tertiary40:#006C47;
|
102
|
+
--md-ref-palette-tertiary50:#00885A;
|
103
|
+
--md-ref-palette-tertiary60:#31A372;
|
104
|
+
--md-ref-palette-tertiary70:#51BF8B;
|
105
|
+
--md-ref-palette-tertiary80:#6EDBA5;
|
106
|
+
--md-ref-palette-tertiary90:#A2F4C7;
|
107
|
+
--md-ref-palette-tertiary95:#BFFFD9;
|
108
|
+
--md-ref-palette-tertiary98:#E8FFEF;
|
109
|
+
--md-ref-palette-tertiary99:#F4FFF5;
|
110
|
+
--md-ref-palette-tertiary100:#FFFFFF;
|
111
|
+
|
112
|
+
/* error palette */
|
113
|
+
--md-ref-palette-error0:#000000;
|
114
|
+
--md-ref-palette-error5:#2d0102;
|
115
|
+
--md-ref-palette-error10:#410304;
|
116
|
+
--md-ref-palette-error15:#540507;
|
117
|
+
--md-ref-palette-error20:#68070a;
|
118
|
+
--md-ref-palette-error25:#7d0b0e;
|
119
|
+
--md-ref-palette-error30:#930f14;
|
120
|
+
--md-ref-palette-error35:#a91319;
|
121
|
+
--md-ref-palette-error40:#bc1620;
|
122
|
+
--md-ref-palette-error50:#e03236;
|
123
|
+
--md-ref-palette-error60:#ff5450;
|
124
|
+
--md-ref-palette-error70:#ff8982;
|
125
|
+
--md-ref-palette-error80:#ffb3ad;
|
126
|
+
--md-ref-palette-error90:#ffdad7;
|
127
|
+
--md-ref-palette-error95:#ffedeb;
|
128
|
+
--md-ref-palette-error98:#fff8f7;
|
129
|
+
--md-ref-palette-error99:#fffbff;
|
130
|
+
--md-ref-palette-error100:#FFFFFF;
|
131
|
+
|
132
|
+
/* neutral palette */
|
133
|
+
--md-ref-palette-neutral0:#000000;
|
134
|
+
--md-ref-palette-neutral5:#111111;
|
135
|
+
--md-ref-palette-neutral10:#1C1C1C;
|
136
|
+
--md-ref-palette-neutral15:#262626;
|
137
|
+
--md-ref-palette-neutral20:#313131;
|
138
|
+
--md-ref-palette-neutral25:#3C3C3C;
|
139
|
+
--md-ref-palette-neutral30:#474747;
|
140
|
+
--md-ref-palette-neutral35:#535353;
|
141
|
+
--md-ref-palette-neutral40:#5F5F5F;
|
142
|
+
--md-ref-palette-neutral50:#787878;
|
143
|
+
--md-ref-palette-neutral60:#929292;
|
144
|
+
--md-ref-palette-neutral70:#ACACAC;
|
145
|
+
--md-ref-palette-neutral80:#C8C8C8;
|
146
|
+
--md-ref-palette-neutral90:#E4E4E4;
|
147
|
+
--md-ref-palette-neutral95:#F0F0F0;
|
148
|
+
--md-ref-palette-neutral98:#F9F9F9;
|
149
|
+
--md-ref-palette-neutral99:#FEFEFE;
|
150
|
+
--md-ref-palette-neutral100:#FFFFFF;
|
151
|
+
}
|
package/themes/dark.css
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
.dark {
|
2
|
+
--md-sys-color-primary: rgb(178 197 255);
|
3
|
+
--md-sys-color-surface-tint: rgb(178 197 255);
|
4
|
+
--md-sys-color-on-primary: rgb(24 46 96);
|
5
|
+
--md-sys-color-primary-container: rgb(49 69 120);
|
6
|
+
--md-sys-color-on-primary-container: rgb(218 226 255);
|
7
|
+
--md-sys-color-secondary: rgb(143 207 243);
|
8
|
+
--md-sys-color-on-secondary: rgb(0 53 73);
|
9
|
+
--md-sys-color-secondary-container: rgb(0 76 104);
|
10
|
+
--md-sys-color-on-secondary-container: rgb(195 232 255);
|
11
|
+
--md-sys-color-tertiary: #cffce3;
|
12
|
+
--md-sys-color-on-tertiary: rgb(0 56 35);
|
13
|
+
--md-sys-color-tertiary-container: #005234;
|
14
|
+
--md-sys-color-on-tertiary-container: #cffce3;
|
15
|
+
--md-sys-color-error: #fbafa9;
|
16
|
+
--md-sys-color-on-error: #fe594e;
|
17
|
+
--md-sys-color-error-container: #fe594e;
|
18
|
+
--md-sys-color-on-error-container: #fbafa9;
|
19
|
+
--md-sys-color-background: rgb(18 19 24);
|
20
|
+
--md-sys-color-on-background: rgb(227 226 233);
|
21
|
+
--md-sys-color-surface: rgb(18 19 24);
|
22
|
+
--md-sys-color-on-surface: rgb(227 226 233);
|
23
|
+
--md-sys-color-surface-variant: rgb(69 70 79);
|
24
|
+
--md-sys-color-on-surface-variant: rgb(197 198 208);
|
25
|
+
--md-sys-color-outline: rgb(143 144 154);
|
26
|
+
--md-sys-color-outline-variant: rgb(69 70 79);
|
27
|
+
--md-sys-color-shadow: rgb(0 0 0);
|
28
|
+
--md-sys-color-scrim: rgb(0 0 0);
|
29
|
+
--md-sys-color-inverse-surface: rgb(227 226 233);
|
30
|
+
--md-sys-color-inverse-on-surface: rgb(47 48 54);
|
31
|
+
--md-sys-color-inverse-primary: rgb(73 93 146);
|
32
|
+
--md-sys-color-primary-fixed: rgb(218 226 255);
|
33
|
+
--md-sys-color-on-primary-fixed: rgb(0 24 72);
|
34
|
+
--md-sys-color-primary-fixed-dim: rgb(178 197 255);
|
35
|
+
--md-sys-color-on-primary-fixed-variant: rgb(49 69 120);
|
36
|
+
--md-sys-color-secondary-fixed: rgb(195 232 255);
|
37
|
+
--md-sys-color-on-secondary-fixed: rgb(0 30 44);
|
38
|
+
--md-sys-color-secondary-fixed-dim: rgb(143 207 243);
|
39
|
+
--md-sys-color-on-secondary-fixed-variant: rgb(0 76 104);
|
40
|
+
--md-sys-color-tertiary-fixed: #c7e6d5;
|
41
|
+
--md-sys-color-on-tertiary-fixed: rgb(0 33 19);
|
42
|
+
--md-sys-color-tertiary-fixed-dim: #c7e6d5;
|
43
|
+
--md-sys-color-on-tertiary-fixed-variant: rgb(0 82 52);
|
44
|
+
--md-sys-color-surface-dim: rgb(18 19 24);
|
45
|
+
--md-sys-color-surface-bright: rgb(56 57 63);
|
46
|
+
--md-sys-color-surface-container-lowest: rgb(13 14 19);
|
47
|
+
--md-sys-color-surface-container-low: rgb(26 27 33);
|
48
|
+
--md-sys-color-surface-container: rgb(30 31 37);
|
49
|
+
--md-sys-color-surface-container-high: rgb(41 42 47);
|
50
|
+
--md-sys-color-surface-container-highest: rgb(51 52 58);
|
51
|
+
|
52
|
+
/* primary palette */
|
53
|
+
--md-ref-palette-primary0:#000000;
|
54
|
+
--md-ref-palette-primary5:#000E32;
|
55
|
+
--md-ref-palette-primary10:#001848;
|
56
|
+
--md-ref-palette-primary15:#00215E;
|
57
|
+
--md-ref-palette-primary20:#002B74;
|
58
|
+
--md-ref-palette-primary25:#002B74;
|
59
|
+
--md-ref-palette-primary30:#0040A2;
|
60
|
+
--md-ref-palette-primary35:#002B74;
|
61
|
+
--md-ref-palette-primary40:#1957CA;
|
62
|
+
--md-ref-palette-primary50:#3E71E5;
|
63
|
+
--md-ref-palette-primary60:#5C8BFF;
|
64
|
+
--md-ref-palette-primary70:#89A9FF;
|
65
|
+
--md-ref-palette-primary80:#B2C5FF;
|
66
|
+
--md-ref-palette-primary90:#DAE2FF;
|
67
|
+
--md-ref-palette-primary95:#EEF0FF;
|
68
|
+
--md-ref-palette-primary98:#FAF8FF;
|
69
|
+
--md-ref-palette-primary99:#FEFBFF;
|
70
|
+
--md-ref-palette-primary100:#FFFFFF;
|
71
|
+
|
72
|
+
/* secondary palette */
|
73
|
+
--md-ref-palette-secondary0:#000000;
|
74
|
+
--md-ref-palette-secondary5:#00131D;
|
75
|
+
--md-ref-palette-secondary10:#001E2C;
|
76
|
+
--md-ref-palette-secondary15:#00293A;
|
77
|
+
--md-ref-palette-secondary20:#003549;
|
78
|
+
--md-ref-palette-secondary25:#004058;
|
79
|
+
--md-ref-palette-secondary30:#004C68;
|
80
|
+
--md-ref-palette-secondary35:#005978;
|
81
|
+
--md-ref-palette-secondary40:#006689;
|
82
|
+
--md-ref-palette-secondary50:#0080AC;
|
83
|
+
--md-ref-palette-secondary60:#009BCF;
|
84
|
+
--md-ref-palette-secondary70:#00B8F4;
|
85
|
+
--md-ref-palette-secondary80:#79D1FF;
|
86
|
+
--md-ref-palette-secondary90:#C3E8FF;
|
87
|
+
--md-ref-palette-secondary95:#E3F3FF;
|
88
|
+
--md-ref-palette-secondary98:#F5FAFF;
|
89
|
+
--md-ref-palette-secondary99:#FBFCFF;
|
90
|
+
--md-ref-palette-secondary100:#FFFFFF;
|
91
|
+
|
92
|
+
/* tertiary palette */
|
93
|
+
--md-ref-palette-tertiary0:#000000;
|
94
|
+
--md-ref-palette-tertiary5:#00150A;
|
95
|
+
--md-ref-palette-tertiary10:#002113;
|
96
|
+
--md-ref-palette-tertiary15:#002C1B;
|
97
|
+
--md-ref-palette-tertiary20:#003823;
|
98
|
+
--md-ref-palette-tertiary25:#00452B;
|
99
|
+
--md-ref-palette-tertiary30:#005234;
|
100
|
+
--md-ref-palette-tertiary35:#005F3E;
|
101
|
+
--md-ref-palette-tertiary40:#006C47;
|
102
|
+
--md-ref-palette-tertiary50:#00885A;
|
103
|
+
--md-ref-palette-tertiary60:#31A372;
|
104
|
+
--md-ref-palette-tertiary70:#51BF8B;
|
105
|
+
--md-ref-palette-tertiary80:#6EDBA5;
|
106
|
+
--md-ref-palette-tertiary90:#A2F4C7;
|
107
|
+
--md-ref-palette-tertiary95:#BFFFD9;
|
108
|
+
--md-ref-palette-tertiary98:#E8FFEF;
|
109
|
+
--md-ref-palette-tertiary99:#F4FFF5;
|
110
|
+
--md-ref-palette-tertiary100:#FFFFFF;
|
111
|
+
|
112
|
+
/* error palette */
|
113
|
+
--md-ref-palette-error0:#000000;
|
114
|
+
--md-ref-palette-error5:#2d0102;
|
115
|
+
--md-ref-palette-error10:#410304;
|
116
|
+
--md-ref-palette-error15:#540507;
|
117
|
+
--md-ref-palette-error20:#68070a;
|
118
|
+
--md-ref-palette-error25:#7d0b0e;
|
119
|
+
--md-ref-palette-error30:#930f14;
|
120
|
+
--md-ref-palette-error35:#a91319;
|
121
|
+
--md-ref-palette-error40:#bc1620;
|
122
|
+
--md-ref-palette-error50:#e03236;
|
123
|
+
--md-ref-palette-error60:#ff5450;
|
124
|
+
--md-ref-palette-error70:#ff8982;
|
125
|
+
--md-ref-palette-error80:#ffb3ad;
|
126
|
+
--md-ref-palette-error90:#ffdad7;
|
127
|
+
--md-ref-palette-error95:#ffedeb;
|
128
|
+
--md-ref-palette-error98:#fff8f7;
|
129
|
+
--md-ref-palette-error99:#fffbff;
|
130
|
+
--md-ref-palette-error100:#FFFFFF;
|
131
|
+
|
132
|
+
/* neutral palette */
|
133
|
+
--md-ref-palette-neutral0:#000000;
|
134
|
+
--md-ref-palette-neutral5:#111111;
|
135
|
+
--md-ref-palette-neutral10:#1C1C1C;
|
136
|
+
--md-ref-palette-neutral15:#262626;
|
137
|
+
--md-ref-palette-neutral20:#313131;
|
138
|
+
--md-ref-palette-neutral25:#3C3C3C;
|
139
|
+
--md-ref-palette-neutral30:#474747;
|
140
|
+
--md-ref-palette-neutral35:#535353;
|
141
|
+
--md-ref-palette-neutral40:#5F5F5F;
|
142
|
+
--md-ref-palette-neutral50:#787878;
|
143
|
+
--md-ref-palette-neutral60:#929292;
|
144
|
+
--md-ref-palette-neutral70:#ACACAC;
|
145
|
+
--md-ref-palette-neutral80:#C8C8C8;
|
146
|
+
--md-ref-palette-neutral90:#E4E4E4;
|
147
|
+
--md-ref-palette-neutral95:#F0F0F0;
|
148
|
+
--md-ref-palette-neutral98:#F9F9F9;
|
149
|
+
--md-ref-palette-neutral99:#FEFEFE;
|
150
|
+
--md-ref-palette-neutral100:#FFFFFF;
|
151
|
+
}
|