@operato/styles 2.0.0-alpha.142 → 2.0.0-alpha.148
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 +16 -0
- package/dist/src/button-container-styles.js +15 -14
- package/dist/src/button-container-styles.js.map +1 -1
- package/dist/src/common-grist-styles.js +16 -16
- package/dist/src/common-grist-styles.js.map +1 -1
- package/dist/src/common-header-styles.js +21 -20
- package/dist/src/common-header-styles.js.map +1 -1
- package/dist/src/scrollbar-styles.js +4 -4
- package/dist/src/scrollbar-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 +15 -14
- package/src/common-grist-styles.ts +16 -16
- package/src/common-header-styles.ts +21 -20
- package/src/scrollbar-styles.ts +4 -4
- 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
package/src/scrollbar-styles.ts
CHANGED
@@ -9,11 +9,11 @@ export const ScrollbarStyles = css`
|
|
9
9
|
background-color: transparent;
|
10
10
|
}
|
11
11
|
::-webkit-scrollbar-thumb {
|
12
|
-
background-color: var(--scrollbar-thumb-color,
|
12
|
+
background-color: var(--scrollbar-thumb-color, var(--md-sys-color-outline));
|
13
13
|
border-radius: var(--scrollbar-thumb-border-radius, 0);
|
14
14
|
}
|
15
15
|
::-webkit-scrollbar-thumb:hover {
|
16
|
-
background-color: var(--scrollbar-thumb-hover-color,
|
16
|
+
background-color: var(--scrollbar-thumb-hover-color, var(--md-sys-color-outline-variant));
|
17
17
|
}
|
18
18
|
|
19
19
|
:host::-webkit-scrollbar {
|
@@ -24,9 +24,9 @@ export const ScrollbarStyles = css`
|
|
24
24
|
background-color: transparent;
|
25
25
|
}
|
26
26
|
:host::-webkit-scrollbar-thumb {
|
27
|
-
background-color: var(--scrollbar-thumb-color,
|
27
|
+
background-color: var(--scrollbar-thumb-color, var(--md-sys-color-outline));
|
28
28
|
}
|
29
29
|
:host::-webkit-scrollbar-thumb:hover {
|
30
|
-
background-color: var(--scrollbar-thumb-hover-color,
|
30
|
+
background-color: var(--scrollbar-thumb-hover-color, var(--md-sys-color-outline-variant));
|
31
31
|
}
|
32
32
|
`
|
@@ -2,11 +2,14 @@ import '@material/web/icon/icon.js'
|
|
2
2
|
import { ButtonContainerStyles } from '../src/button-container-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: 'button-container-styles-pure',
|
8
9
|
component: 'div',
|
9
|
-
argTypes: {
|
10
|
+
argTypes: {
|
11
|
+
theme: { control: 'select', options: ['light', 'dark'] }
|
12
|
+
}
|
10
13
|
}
|
11
14
|
|
12
15
|
interface Story<T> {
|
@@ -16,12 +19,16 @@ interface Story<T> {
|
|
16
19
|
}
|
17
20
|
|
18
21
|
interface ArgTypes {
|
19
|
-
|
22
|
+
theme?: 'light' | 'dark'
|
20
23
|
}
|
21
24
|
|
22
|
-
const Template: Story<ArgTypes> = ({
|
23
|
-
<link href="/
|
24
|
-
|
25
|
+
const Template: Story<ArgTypes> = ({ theme = 'light' }: ArgTypes) => html`
|
26
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
|
27
|
+
|
28
|
+
<link href="/themes/light.css" rel="stylesheet" />
|
29
|
+
<link href="/themes/dark.css" rel="stylesheet" />
|
30
|
+
<link href="/themes/spacing.css" rel="stylesheet" />
|
31
|
+
|
25
32
|
<link
|
26
33
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
27
34
|
rel="stylesheet"
|
@@ -35,14 +42,36 @@ const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
|
|
35
42
|
rel="stylesheet"
|
36
43
|
/>
|
37
44
|
|
45
|
+
<script>
|
46
|
+
document.body.classList.add('${theme}')
|
47
|
+
</script>
|
48
|
+
|
38
49
|
<style>
|
39
50
|
body {
|
40
|
-
|
51
|
+
width: 100%;
|
52
|
+
height: 500px;
|
53
|
+
text-align: center;
|
54
|
+
|
55
|
+
|
56
|
+
background-color: var(--md-sys-color-background);
|
57
|
+
color: var(--md-sys-color-on-background);
|
41
58
|
}
|
42
59
|
|
60
|
+
.container {
|
61
|
+
padding: var(--spacing-medium);
|
62
|
+
background-color: var(--md-sys-color-primary-container);
|
63
|
+
color: var(--md-sys-color-on-primary-container);
|
64
|
+
|
65
|
+
display: flex;
|
66
|
+
flex-direction: column;
|
67
|
+
gap: 10px;
|
68
|
+
}
|
69
|
+
|
70
|
+
${MDTypeScaleStyles.cssText}
|
43
71
|
${ButtonContainerStyles.cssText}
|
44
72
|
</style>
|
45
|
-
|
73
|
+
|
74
|
+
<div class="container md-typescale-body-medium">
|
46
75
|
<div class="button-container" style="background-color: white;">
|
47
76
|
<button raised><md-icon>save</md-icon>save</button>
|
48
77
|
<button outlined><md-icon>launch</md-icon>remove</button>
|
@@ -4,12 +4,14 @@ import '@operato/context/ox-context-page-toolbar.js'
|
|
4
4
|
import { CommonHeaderStyles } from '../src/common-header-styles.js'
|
5
5
|
|
6
6
|
import { css, html, render, TemplateResult } from 'lit'
|
7
|
+
import { styles as MDTypeScaleStyles } from '@material/web/typography/md-typescale-styles'
|
7
8
|
|
8
9
|
export default {
|
9
10
|
title: 'common-header-styles-actions',
|
10
11
|
component: 'div',
|
11
12
|
argTypes: {
|
12
|
-
label: { control: 'string' }
|
13
|
+
label: { control: 'string' },
|
14
|
+
theme: { control: 'select', options: ['light', 'dark'] }
|
13
15
|
}
|
14
16
|
}
|
15
17
|
|
@@ -21,12 +23,17 @@ interface Story<T> {
|
|
21
23
|
|
22
24
|
interface ArgTypes {
|
23
25
|
label?: string
|
26
|
+
theme?: 'light' | 'dark'
|
24
27
|
}
|
25
28
|
|
26
|
-
const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
|
27
|
-
<link href="/
|
28
|
-
|
29
|
-
|
29
|
+
const Template: Story<ArgTypes> = ({ label = '', theme = 'light' }: ArgTypes) => html`
|
30
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
|
31
|
+
|
32
|
+
<link href="/themes/light.css" rel="stylesheet" />
|
33
|
+
<link href="/themes/dark.css" rel="stylesheet" />
|
34
|
+
<link href="/themes/spacing.css" rel="stylesheet" />
|
35
|
+
|
36
|
+
<link
|
30
37
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
31
38
|
rel="stylesheet"
|
32
39
|
/>
|
@@ -39,54 +46,72 @@ const Template: Story<ArgTypes> = ({ label = '' }: ArgTypes) => html`
|
|
39
46
|
rel="stylesheet"
|
40
47
|
/>
|
41
48
|
|
49
|
+
<script>
|
50
|
+
document.body.classList.add('${theme}')
|
51
|
+
</script>
|
42
52
|
|
43
53
|
<style>
|
44
54
|
body {
|
45
|
-
|
55
|
+
width: 100%;
|
56
|
+
height: 500px;
|
57
|
+
text-align: center;
|
58
|
+
|
59
|
+
background-color: var(--md-sys-color-background);
|
60
|
+
color: var(--md-sys-color-on-background);
|
46
61
|
}
|
47
62
|
|
63
|
+
.container {
|
64
|
+
padding: var(--spacing-medium);
|
65
|
+
background-color: var(--md-sys-color-primary-container);
|
66
|
+
color: var(--md-sys-color-on-primary-container);
|
67
|
+
|
68
|
+
display: flex;
|
69
|
+
flex-direction: column;
|
70
|
+
gap: var(--spacing-medium);
|
71
|
+
}
|
72
|
+
|
73
|
+
${MDTypeScaleStyles.cssText}
|
48
74
|
${CommonHeaderStyles.cssText}
|
49
75
|
</style>
|
50
76
|
|
51
|
-
<div
|
77
|
+
<div class="container md-typescale-body-medium">
|
52
78
|
<div class="header">
|
53
|
-
<div class="title">
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
// name: i18next.t('title.data-set list'),
|
64
|
-
// data: this.exportHandler.bind(this)
|
65
|
-
},
|
66
|
-
importable: {
|
67
|
-
// handler: this.importHandler.bind(this)
|
68
|
-
},
|
69
|
-
actions: [
|
70
|
-
{
|
71
|
-
title: 'save',
|
72
|
-
// action: this._updateDataSet.bind(this),
|
73
|
-
icon: 'save'
|
79
|
+
<div class="title">${label}</div>
|
80
|
+
|
81
|
+
<div class="filters"><label>Filter</label><input type="text" /></div>
|
82
|
+
|
83
|
+
<ox-context-page-toolbar
|
84
|
+
class="actions"
|
85
|
+
.context=${{
|
86
|
+
exportable: {
|
87
|
+
// name: i18next.t('title.data-set list'),
|
88
|
+
// data: this.exportHandler.bind(this)
|
74
89
|
},
|
75
|
-
{
|
76
|
-
|
77
|
-
// action: this._copyDataSet.bind(this),
|
78
|
-
icon: 'content_copy'
|
90
|
+
importable: {
|
91
|
+
// handler: this.importHandler.bind(this)
|
79
92
|
},
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
93
|
+
actions: [
|
94
|
+
{
|
95
|
+
title: 'save',
|
96
|
+
// action: this._updateDataSet.bind(this),
|
97
|
+
icon: 'save'
|
98
|
+
},
|
99
|
+
{
|
100
|
+
title: 'copy',
|
101
|
+
// action: this._copyDataSet.bind(this),
|
102
|
+
icon: 'content_copy'
|
103
|
+
},
|
104
|
+
{
|
105
|
+
title: 'delete',
|
106
|
+
// action: this._deleteDataSet.bind(this),
|
107
|
+
icon: 'delete'
|
108
|
+
}
|
109
|
+
],
|
110
|
+
toolbar: false
|
111
|
+
}}
|
112
|
+
}
|
113
|
+
>
|
114
|
+
</ox-context-page-toolbar>
|
90
115
|
</div>
|
91
116
|
</div>
|
92
117
|
`
|
@@ -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
|
+
}
|