@govbr-ds/tokens 4.0.0-next.1 → 4.0.0-next.11
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/README.md +69 -106
- package/dist/css/themes/dark.css +69 -52
- package/dist/css/themes/light.css +69 -52
- package/dist/css/tokens.css +635 -574
- package/dist/js/themes/dark.js +77 -52
- package/dist/js/themes/light.js +77 -52
- package/dist/js/tokens.js +633 -562
- package/dist/json/themes/dark.json +1597 -856
- package/dist/json/themes/light.json +1597 -856
- package/dist/json/tokens.json +10591 -5481
- package/dist/scss/themes/dark.scss +69 -0
- package/dist/scss/themes/light.scss +69 -0
- package/dist/scss/tokens.scss +730 -0
- package/dist/tokens-studio/tokens.json +4435 -0
- package/package.json +15 -12
- package/src/figma/base14.json +62 -0
- package/src/figma/{variables/color.json → color.json} +1 -1
- package/src/figma/component/manifest.json +10 -0
- package/src/figma/component/text.json +46 -0
- package/src/figma/dark.json +352 -0
- package/src/figma/elevation.json +234 -0
- package/src/figma/grid.json +120 -0
- package/src/figma/guideline/componente.json +24 -0
- package/src/figma/guideline/fundamento.json +24 -0
- package/src/figma/guideline/geral.json +20 -0
- package/src/figma/guideline/manifest.json +12 -0
- package/src/figma/guideline/padrao.json +24 -0
- package/src/figma/iconography.json +14 -0
- package/src/figma/light.json +352 -0
- package/src/figma/manifest.json +27 -0
- package/src/figma/motion.json +112 -0
- package/src/figma/pattern/form.json +16 -0
- package/src/figma/pattern/manifest.json +10 -0
- package/src/figma/pattern/skeleton.json +52 -0
- package/src/figma/{variables/spacing.json → spacing.json} +20 -0
- package/src/figma/state.json +232 -0
- package/src/figma/{variables/surface.json → surface.json} +42 -44
- package/src/figma/typography.json +114 -0
- package/src/temp/component.json +142 -0
- package/src/temp/core.json +3517 -0
- package/src/temp/dark.json +352 -0
- package/src/temp/light.json +352 -0
- package/src/temp/pattern.json +70 -0
- package/src/tokens.json +4435 -0
- package/dist/scss/_tokens.scss +0 -674
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/figma/tokens.json +0 -3587
- package/src/figma/variables/manifest.json +0 -16
- package/src/figma/variables/typography.json +0 -148
- package/src/style-dictionary/themes/dark.json +0 -3313
- package/src/style-dictionary/themes/light.json +0 -3313
- package/src/style-dictionary/tokens.json +0 -3045
package/README.md
CHANGED
|
@@ -6,154 +6,117 @@ Este é o repositório de *Tokens* para os projetos [GOVBR-DS](http://gov.br/ds/
|
|
|
6
6
|
|
|
7
7
|
Esse projeto é desenvolvido usando:
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
1. [Style Dictionary](https://github.com/amzn/style-dictionary)
|
|
10
|
+
2. [Style Dictionary Transforms for Tokens Studio](https://github.com/tokens-studio/sd-transforms)
|
|
11
11
|
|
|
12
12
|
## Como usar nossa biblioteca em seu projeto?
|
|
13
13
|
|
|
14
|
-
### Instalação
|
|
14
|
+
### Instalação do pacote
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
- Dentro da pasta **dist** encontram-se vários formatos compilados;
|
|
18
|
-
- Carregue o formato adequado no seu projeto.
|
|
16
|
+
Você pode instalar este pacote via npm:
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```html
|
|
23
|
-
<head>
|
|
24
|
-
<!-- Tokens -->
|
|
25
|
-
<link rel="stylesheet" href="diretorio-dos-tokens/dist/css/tokens.css" />
|
|
26
|
-
|
|
27
|
-
<!-- Temas -->
|
|
28
|
-
<link rel="stylesheet" href="diretorio-dos-tokens/dist/css/themes/light.css" />
|
|
29
|
-
<link rel="stylesheet" href="diretorio-dos-tokens/dist/css/themes/dark.css" />
|
|
30
|
-
</head>
|
|
18
|
+
```bash
|
|
19
|
+
npm install @govbr-ds/tokens
|
|
31
20
|
```
|
|
32
21
|
|
|
33
|
-
Exemplo
|
|
22
|
+
### Exemplo de uso
|
|
34
23
|
|
|
35
|
-
|
|
36
|
-
// Tokens
|
|
37
|
-
@import "diretorio-dos-tokens/dist/scss/tokens";
|
|
24
|
+
Para compilar os tokens, execute:
|
|
38
25
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
@import "diretorio-dos-tokens/dist/scss/themes/dark";
|
|
26
|
+
```bash
|
|
27
|
+
npm run build
|
|
42
28
|
```
|
|
43
29
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
Use o atributo **data-br-theme** para configurar o tema.
|
|
30
|
+
## Scripts disponíveis
|
|
47
31
|
|
|
48
|
-
|
|
32
|
+
O pacote faz uso de dois scripts para compilar os tokens. Os scripts podem ser modificados de acordo com a necessidade.
|
|
49
33
|
|
|
50
|
-
-
|
|
34
|
+
### `split-tokens.js`
|
|
51
35
|
|
|
52
|
-
|
|
53
|
-
<html data-br-theme="light">
|
|
54
|
-
<head>...</head>
|
|
55
|
-
<body>...</body>
|
|
56
|
-
</html>
|
|
57
|
-
```
|
|
36
|
+
Gera novos arquivos JSON para compilação.
|
|
58
37
|
|
|
59
|
-
|
|
38
|
+
```bash
|
|
39
|
+
node scripts/split-tokens.js arquivo.json destino [--key=chave] [--subkey=subchave]
|
|
40
|
+
```
|
|
60
41
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
42
|
+
| Parâmetro | Descrição |
|
|
43
|
+
| ----------------- | --------------------------------------------------------------- |
|
|
44
|
+
| arquivo.json | O caminho para o arquivo JSON de origem. |
|
|
45
|
+
| destino | O diretório onde o(s) arquivo(s) JSON serão salvos. |
|
|
46
|
+
| --key=chave | (Opcional) A chave principal do JSON a ser extraída. |
|
|
47
|
+
| --subkey=subchave | (Opcional) A subchave dentro da chave principal a ser extraída. |
|
|
67
48
|
|
|
68
|
-
|
|
49
|
+
#### Exemplos de uso
|
|
69
50
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<body>
|
|
74
|
-
<div data-br-theme="light">...</div>
|
|
75
|
-
</body>
|
|
76
|
-
</html>
|
|
77
|
-
```
|
|
51
|
+
```bash
|
|
52
|
+
# Exemplo 1: Cria arquivos JSON para cada chave da raiz
|
|
53
|
+
node scripts/split-tokens.js src/figma/tokens.json temp
|
|
78
54
|
|
|
79
|
-
|
|
55
|
+
# Exemplo 2: Cria arquivo JSON para a chave informada
|
|
56
|
+
node scripts/split-tokens.js src/figma/tokens.json temp --key=light
|
|
80
57
|
|
|
81
|
-
|
|
58
|
+
# Exemplo 3: Cria arquivo para a chave e subchave informada
|
|
59
|
+
node scripts/split-tokens.js src/figma/tokens.json temp --key=core --subkey=typography
|
|
60
|
+
```
|
|
82
61
|
|
|
83
|
-
|
|
62
|
+
### `build-tokens.js`
|
|
84
63
|
|
|
85
|
-
|
|
86
|
-
- Em JS é usado o padrão [*camel case*](https://developer.mozilla.org/en-US/docs/Glossary/Camel_case).
|
|
64
|
+
Compila os tokens usando o **Style Dictionary**. Ele possui alguns *transforms* e *filters*.
|
|
87
65
|
|
|
88
|
-
|
|
66
|
+
O script aceita o parâmetro `--themes` para a criação de arquivos de temas.
|
|
89
67
|
|
|
90
|
-
|
|
68
|
+
#### Exemplos de uso
|
|
91
69
|
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
color: var(--color-pure-100);
|
|
96
|
-
margin: var(--spacing-layout-03);
|
|
97
|
-
padding: var(--spacing-layout-01);
|
|
98
|
-
}
|
|
70
|
+
```bash
|
|
71
|
+
# Exemplo 1: Compila os tokens e os informados
|
|
72
|
+
node scripts/build-tokens.js --themes='light, dark'
|
|
99
73
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
color: var(--theme-interactive-text-main);
|
|
103
|
-
}
|
|
104
|
-
```
|
|
74
|
+
# Exemplo 2: Compila os tokens e o tema informado
|
|
75
|
+
node scripts/build-tokens.js --themes='light'
|
|
105
76
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Recomendamos usar os *tokens* como **variáveis CSS** para manter a compatibilidade com os temas. Exemplo:
|
|
109
|
-
|
|
110
|
-
```scss
|
|
111
|
-
.seletor {
|
|
112
|
-
background-color: var(--color-pure-0);
|
|
113
|
-
color: var(--color-pure-100);
|
|
114
|
-
margin: var(--spacing-layout-03);
|
|
115
|
-
padding: var(--spacing-layout-01);
|
|
116
|
-
|
|
117
|
-
// Cria as variações
|
|
118
|
-
@each $type in "success", "alert", "error" {
|
|
119
|
-
&-#{$type} {
|
|
120
|
-
background-color: var(--theme-#{$type}-main);
|
|
121
|
-
color: var(--theme-#{$type}-text);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
77
|
+
# Exemplo 3: Compila os tokens
|
|
78
|
+
node scripts/build-tokens.js
|
|
125
79
|
```
|
|
126
80
|
|
|
127
|
-
|
|
81
|
+
#### Transforms
|
|
128
82
|
|
|
129
|
-
|
|
83
|
+
| Transform | Descrição |
|
|
84
|
+
| -------------- | ------------------------------------------------------------------------------- |
|
|
85
|
+
| add/unit/px | Transforma valores de tokens de configuração para a unidade 'px'. |
|
|
86
|
+
| add/unit/rem | Transforma valores de tokens de configuração para a unidade 'rem'. |
|
|
87
|
+
| add/unit/ms | Transforma valores de duração de movimento para a unidade 'ms' (*millisecond*). |
|
|
88
|
+
| add/unit/deg | Transforma valores de rotação para a unidade 'deg' (*degrees*). |
|
|
89
|
+
| resolve/Calc | Calcula as fómulas matemáticas dos tokens. |
|
|
90
|
+
| remove/unit/px | Remove a unidade 'px' dos tokens. |
|
|
130
91
|
|
|
131
|
-
|
|
132
|
-
2. Baixe todas as dependências do projeto usando `npm install`
|
|
133
|
-
3. Localize os *tokens* na pasta 'src' e faça as modificações necessárias
|
|
134
|
-
4. Compile os novos *tokens* usando `npm run build`
|
|
92
|
+
#### Filters
|
|
135
93
|
|
|
136
|
-
|
|
94
|
+
| Filter | Descrição |
|
|
95
|
+
| ------ | ---------------------------- |
|
|
96
|
+
| core | Filtro para tokens "core". |
|
|
97
|
+
| themes | Filtro para tokens de temas. |
|
|
137
98
|
|
|
138
|
-
|
|
99
|
+
### `build-tokens-studio.js`
|
|
139
100
|
|
|
140
|
-
|
|
101
|
+
Compila os tokens usados no plugin "tokens-studio" usando o **Style Dictionary**.
|
|
141
102
|
|
|
142
|
-
|
|
103
|
+
O arquivo final deve ser informado na chamada do script.
|
|
143
104
|
|
|
144
|
-
|
|
105
|
+
#### Exemplos de uso
|
|
145
106
|
|
|
146
|
-
|
|
107
|
+
```bash
|
|
108
|
+
# Exemplo: Compila os tokens para o "tokens-studio" e salva no path informado
|
|
109
|
+
node scripts/build-tokens-studio.js dist/tokens-studio/tokens.json
|
|
147
110
|
|
|
148
|
-
##
|
|
111
|
+
## Precisa de ajuda?
|
|
149
112
|
|
|
150
|
-
|
|
113
|
+
> Por favor **não** crie issues para fazer perguntas...
|
|
151
114
|
|
|
152
|
-
|
|
115
|
+
Use nossos canais abaixo para obter tirar suas dúvidas:
|
|
153
116
|
|
|
154
|
-
|
|
117
|
+
- Site do Design System GOV.BR <https://www.gov.br/ds/>
|
|
155
118
|
|
|
156
|
-
|
|
119
|
+
- Usando nosso canal no discord <https://discord.gg/NkaVZERAT7>
|
|
157
120
|
|
|
158
121
|
## Licença
|
|
159
122
|
|
package/dist/css/themes/dark.css
CHANGED
|
@@ -1,54 +1,71 @@
|
|
|
1
1
|
[data-br-theme="dark"] {
|
|
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
|
-
--
|
|
2
|
+
--color-read-main-base: #fcfcfc;
|
|
3
|
+
--color-read-main-alternative: #cccccc;
|
|
4
|
+
--color-surface-main-base: #2d2e2f;
|
|
5
|
+
--color-surface-main-alternative: #1c1d1f;
|
|
6
|
+
--color-border-base: #4a4a4a;
|
|
7
|
+
--color-border-alternative: #757575;
|
|
8
|
+
--state-disabled-color-main: #a9aeb1;
|
|
9
|
+
--state-hover-color-bright: rgba(212, 229, 255, 0.5);
|
|
10
|
+
--state-hover-color-dim: rgba(12, 50, 111, 0.6);
|
|
11
|
+
--state-focus-color-main: #ff8c00;
|
|
12
|
+
--state-active-color-main: #5992ed;
|
|
13
|
+
--state-active-color-read-main: #000000;
|
|
14
|
+
--state-selected-color-main: #adcdff;
|
|
15
|
+
--state-selected-color-read-main: #000000;
|
|
16
|
+
--state-on-color-main: #155bcb;
|
|
17
|
+
--state-on-color-read-main: #ffffff;
|
|
18
|
+
--state-off-color-main: #636363;
|
|
19
|
+
--state-off-color-read-main: #ffffff;
|
|
20
|
+
--state-interactive-color-main: #81aefc;
|
|
21
|
+
--state-interactive-color-read-main: #000000;
|
|
22
|
+
--state-cta-color-main: #21c834;
|
|
23
|
+
--state-cta-color-read-main: #000000;
|
|
24
|
+
--state-visited-color-main: #98afd2;
|
|
25
|
+
--state-success-color-main: #538200;
|
|
26
|
+
--state-success-color-read-main: #ffffff;
|
|
27
|
+
--state-alert-color-main: #ffcd07;
|
|
28
|
+
--state-alert-color-read-main: #000000;
|
|
29
|
+
--state-error-color-main: #e52207;
|
|
30
|
+
--state-error-color-read-main: #ffffff;
|
|
31
|
+
--color-read-contrast-base: var(--color-read-main-base);
|
|
32
|
+
--color-read-contrast-alternative: var(--color-read-main-alternative);
|
|
33
|
+
--color-surface-contrast-base: var(--color-surface-main-base);
|
|
34
|
+
--color-surface-contrast-alternative: var(--color-surface-main-alternative);
|
|
35
|
+
--elevation-opacity-shadow: 0.6;
|
|
36
|
+
--elevation-color-shadow: rgba(0, 0, 0, 0.6);
|
|
37
|
+
--elevation-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6);
|
|
38
|
+
--elevation-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6);
|
|
39
|
+
--state-disabled-color-contrast: var(--state-disabled-color-main);
|
|
40
|
+
--state-hover-color-main-read: var(--state-hover-color-dim);
|
|
41
|
+
--state-hover-color-main-surface: var(--state-hover-color-bright);
|
|
42
|
+
--state-focus-color-contrast: var(--state-focus-color-main);
|
|
43
|
+
--state-active-color-contrast: var(--state-active-color-main);
|
|
44
|
+
--state-active-color-read-contrast: var(--state-active-color-read-main);
|
|
45
|
+
--state-selected-color-contrast: var(--state-selected-color-main);
|
|
46
|
+
--state-selected-color-read-contrast: var(--state-selected-color-read-main);
|
|
47
|
+
--state-grabbing-color-main: var(--state-interactive-color-main);
|
|
48
|
+
--state-dropzone-color-main: var(--state-interactive-color-main);
|
|
49
|
+
--state-dropzone-active-color-main: var(--state-interactive-color-main);
|
|
50
|
+
--state-on-color-contrast: var(--state-on-color-main);
|
|
51
|
+
--state-on-color-read-contrast: var(--state-on-color-read-main);
|
|
52
|
+
--state-off-color-contrast: var(--state-off-color-main);
|
|
53
|
+
--state-off-color-read-contrast: var(--state-off-color-read-main);
|
|
54
|
+
--state-interactive-color-contrast: var(--state-interactive-color-main);
|
|
55
|
+
--state-interactive-color-read-contrast: var(--state-interactive-color-read-main);
|
|
56
|
+
--state-cta-color-contrast: var(--state-cta-color-main);
|
|
57
|
+
--state-cta-color-read-contrast: var(--state-cta-color-read-main);
|
|
58
|
+
--state-visited-color-contrast: var(--state-visited-color-main);
|
|
59
|
+
--elevation-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6);
|
|
60
|
+
--elevation-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.6), 0 0 12px 0 rgba(0, 0, 0, 0.6);
|
|
61
|
+
--elevation-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.6), 0 0 16px 0 rgba(0, 0, 0, 0.6);
|
|
62
|
+
--state-disabled-shadow-style: var(--elevation-shadow-style-level-0);
|
|
63
|
+
--state-hover-color-contrast-read: var(--state-hover-color-main-read);
|
|
64
|
+
--state-hover-color-contrast-surface: var(--state-hover-color-main-surface);
|
|
65
|
+
--state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
66
|
+
--state-grabbing-shadow-style-main: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
|
|
67
|
+
--state-grabbing-color-contrast: var(--state-interactive-color-contrast);
|
|
68
|
+
--state-grabbing-shadow-style-contrast: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
|
|
69
|
+
--state-dropzone-color-contrast: var(--state-interactive-color-contrast);
|
|
70
|
+
--state-dropzone-active-color-contrast: var(--state-interactive-color-contrast);
|
|
54
71
|
}
|
|
@@ -1,54 +1,71 @@
|
|
|
1
1
|
[data-br-theme="light"] {
|
|
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
|
-
--
|
|
2
|
+
--color-read-main-base: #1b1b1b;
|
|
3
|
+
--color-read-main-alternative: #636363;
|
|
4
|
+
--color-read-contrast-base: #fcfcfc;
|
|
5
|
+
--color-read-contrast-alternative: #cccccc;
|
|
6
|
+
--color-surface-main-base: #fcfcfc;
|
|
7
|
+
--color-surface-main-alternative: #f0f0f0;
|
|
8
|
+
--color-surface-contrast-base: #252f3e;
|
|
9
|
+
--color-surface-contrast-alternative: #2f4668;
|
|
10
|
+
--color-border-base: #cccccc;
|
|
11
|
+
--color-border-alternative: #888888;
|
|
12
|
+
--state-disabled-color-main: #4a4a4a;
|
|
13
|
+
--state-disabled-color-contrast: #cccccc;
|
|
14
|
+
--state-hover-color-bright: rgba(212, 229, 255, 0.5);
|
|
15
|
+
--state-hover-color-dim: rgba(12, 50, 111, 0.6);
|
|
16
|
+
--state-focus-color-main: #da680b;
|
|
17
|
+
--state-focus-color-contrast: #ff8c00;
|
|
18
|
+
--state-active-color-main: #0c326f;
|
|
19
|
+
--state-active-color-contrast: #81aefc;
|
|
20
|
+
--state-active-color-read-main: #ffffff;
|
|
21
|
+
--state-active-color-read-contrast: #000000;
|
|
22
|
+
--state-selected-color-main: #2670e8;
|
|
23
|
+
--state-selected-color-contrast: #5992ed;
|
|
24
|
+
--state-selected-color-read-main: #ffffff;
|
|
25
|
+
--state-selected-color-read-contrast: #000000;
|
|
26
|
+
--state-on-color-main: #5992ed;
|
|
27
|
+
--state-on-color-contrast: #2670e8;
|
|
28
|
+
--state-on-color-read-main: #000000;
|
|
29
|
+
--state-on-color-read-contrast: #ffffff;
|
|
30
|
+
--state-off-color-main: #888888;
|
|
31
|
+
--state-off-color-contrast: #757575;
|
|
32
|
+
--state-off-color-read-main: #000000;
|
|
33
|
+
--state-off-color-read-contrast: #ffffff;
|
|
34
|
+
--state-interactive-color-main: #0040b4;
|
|
35
|
+
--state-interactive-color-contrast: #adcdff;
|
|
36
|
+
--state-interactive-color-read-main: #ffffff;
|
|
37
|
+
--state-interactive-color-read-contrast: #000000;
|
|
38
|
+
--state-cta-color-main: #216e1f;
|
|
39
|
+
--state-cta-color-contrast: #70e17b;
|
|
40
|
+
--state-cta-color-read-main: #ffffff;
|
|
41
|
+
--state-cta-color-read-contrast: #000000;
|
|
42
|
+
--state-visited-color-main: #2f4668;
|
|
43
|
+
--state-visited-color-contrast: #c5d4eb;
|
|
44
|
+
--state-success-color-main: #538200;
|
|
45
|
+
--state-success-color-read-main: #ffffff;
|
|
46
|
+
--state-alert-color-main: #ffcd07;
|
|
47
|
+
--state-alert-color-read-main: #000000;
|
|
48
|
+
--state-error-color-main: #e52207;
|
|
49
|
+
--state-error-color-read-main: #ffffff;
|
|
50
|
+
--elevation-opacity-shadow: 0.2;
|
|
51
|
+
--elevation-color-shadow: rgba(0, 0, 0, 0.2);
|
|
52
|
+
--elevation-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
|
|
53
|
+
--elevation-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2);
|
|
54
|
+
--state-hover-color-main-read: var(--state-hover-color-bright);
|
|
55
|
+
--state-hover-color-main-surface: var(--state-hover-color-dim);
|
|
56
|
+
--state-hover-color-contrast-read: var(--state-hover-color-dim);
|
|
57
|
+
--state-hover-color-contrast-surface: var(--state-hover-color-bright);
|
|
58
|
+
--state-grabbing-color-main: var(--state-interactive-color-main);
|
|
59
|
+
--state-grabbing-color-contrast: var(--state-interactive-color-contrast);
|
|
60
|
+
--state-dropzone-color-main: var(--state-interactive-color-main);
|
|
61
|
+
--state-dropzone-color-contrast: var(--state-interactive-color-contrast);
|
|
62
|
+
--state-dropzone-active-color-main: var(--state-interactive-color-main);
|
|
63
|
+
--state-dropzone-active-color-contrast: var(--state-interactive-color-contrast);
|
|
64
|
+
--elevation-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2);
|
|
65
|
+
--elevation-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2);
|
|
66
|
+
--elevation-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2);
|
|
67
|
+
--state-disabled-shadow-style: var(--elevation-shadow-style-level-0);
|
|
68
|
+
--state-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
69
|
+
--state-grabbing-shadow-style-main: 0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2);
|
|
70
|
+
--state-grabbing-shadow-style-contrast: 0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2);
|
|
54
71
|
}
|