@govbr-ds/tokens 4.0.0-next.10 → 4.0.0-next.12

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.
Files changed (54) hide show
  1. package/README.md +82 -1
  2. package/dist/css/themes/dark.css +69 -80
  3. package/dist/css/themes/light.css +69 -80
  4. package/dist/css/tokens.css +303 -213
  5. package/dist/js/themes/dark.js +77 -80
  6. package/dist/js/themes/light.js +77 -80
  7. package/dist/js/tokens.js +257 -157
  8. package/dist/json/themes/dark.json +1338 -1538
  9. package/dist/json/themes/light.json +1338 -1538
  10. package/dist/json/tokens.json +8788 -5829
  11. package/dist/scss/themes/dark.scss +69 -80
  12. package/dist/scss/themes/light.scss +69 -80
  13. package/dist/scss/tokens.scss +303 -213
  14. package/dist/tokens-studio/tokens.json +5033 -0
  15. package/package.json +12 -8
  16. package/src/figma/{variables/base14.json → base14.json} +2 -6
  17. package/src/figma/{variables/color.json → color.json} +1 -1
  18. package/src/figma/component/base14.json +64 -0
  19. package/src/figma/component/icon.json +202 -0
  20. package/src/figma/component/manifest.json +18 -0
  21. package/src/figma/{variables/component → component}/text.json +21 -11
  22. package/src/figma/dark.json +352 -0
  23. package/src/figma/{variables/elevation.json → elevation.json} +29 -27
  24. package/src/figma/{variables/grid.json → grid.json} +6 -6
  25. package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
  26. package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
  27. package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
  28. package/src/figma/guideline/manifest.json +12 -0
  29. package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
  30. package/src/figma/iconography.json +348 -0
  31. package/src/figma/light.json +352 -0
  32. package/src/figma/{variables/manifest.json → manifest.json} +9 -0
  33. package/src/figma/{variables/motion.json → motion.json} +1 -1
  34. package/src/figma/pattern/form.json +16 -0
  35. package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
  36. package/src/figma/pattern/skeleton.json +52 -0
  37. package/src/figma/{variables/spacing.json → spacing.json} +1 -1
  38. package/src/figma/state.json +232 -0
  39. package/src/figma/{variables/surface.json → surface.json} +20 -24
  40. package/src/figma/{variables/typography.json → typography.json} +7 -19
  41. package/src/temp/component.json +406 -0
  42. package/src/temp/core.json +3851 -0
  43. package/src/temp/dark.json +352 -0
  44. package/src/temp/light.json +352 -0
  45. package/src/temp/pattern.json +70 -0
  46. package/src/tokens.json +5033 -0
  47. package/src/figma/tokens.json +0 -4465
  48. package/src/figma/variables/component/manifest.json +0 -12
  49. package/src/figma/variables/dark.json +0 -314
  50. package/src/figma/variables/guideline/manifest.json +0 -21
  51. package/src/figma/variables/iconography.json +0 -14
  52. package/src/figma/variables/light.json +0 -314
  53. package/src/figma/variables/pattern/skeleton.json +0 -52
  54. package/src/figma/variables/state.json +0 -238
package/README.md CHANGED
@@ -6,7 +6,7 @@ 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
- 1. [Style Dictionary](https://amzn.github.io/style-dictionary/#/)
9
+ 1. [Style Dictionary](https://github.com/amzn/style-dictionary)
10
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?
@@ -27,6 +27,87 @@ Para compilar os tokens, execute:
27
27
  npm run build
28
28
  ```
29
29
 
30
+ ## Scripts disponíveis
31
+
32
+ O pacote faz uso de dois scripts para compilar os tokens. Os scripts podem ser modificados de acordo com a necessidade.
33
+
34
+ ### `split-tokens.js`
35
+
36
+ Gera novos arquivos JSON para compilação.
37
+
38
+ ```bash
39
+ node scripts/split-tokens.js arquivo.json destino [--key=chave] [--subkey=subchave]
40
+ ```
41
+
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. |
48
+
49
+ #### Exemplos de uso
50
+
51
+ ```bash
52
+ # Exemplo 1: Cria arquivos JSON para cada chave da raiz
53
+ node scripts/split-tokens.js src/figma/tokens.json temp
54
+
55
+ # Exemplo 2: Cria arquivo JSON para a chave informada
56
+ node scripts/split-tokens.js src/figma/tokens.json temp --key=light
57
+
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
+ ```
61
+
62
+ ### `build-tokens.js`
63
+
64
+ Compila os tokens usando o **Style Dictionary**. Ele possui alguns *transforms* e *filters*.
65
+
66
+ O script aceita o parâmetro `--themes` para a criação de arquivos de temas.
67
+
68
+ #### Exemplos de uso
69
+
70
+ ```bash
71
+ # Exemplo 1: Compila os tokens e os informados
72
+ node scripts/build-tokens.js --themes='light, dark'
73
+
74
+ # Exemplo 2: Compila os tokens e o tema informado
75
+ node scripts/build-tokens.js --themes='light'
76
+
77
+ # Exemplo 3: Compila os tokens
78
+ node scripts/build-tokens.js
79
+ ```
80
+
81
+ #### Transforms
82
+
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. |
91
+
92
+ #### Filters
93
+
94
+ | Filter | Descrição |
95
+ | ------ | ---------------------------- |
96
+ | core | Filtro para tokens "core". |
97
+ | themes | Filtro para tokens de temas. |
98
+
99
+ ### `build-tokens-studio.js`
100
+
101
+ Compila os tokens usados no plugin "tokens-studio" usando o **Style Dictionary**.
102
+
103
+ O arquivo final deve ser informado na chamada do script.
104
+
105
+ #### Exemplos de uso
106
+
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
110
+
30
111
  ## Precisa de ajuda?
31
112
 
32
113
  > Por favor **não** crie issues para fazer perguntas...
@@ -1,82 +1,71 @@
1
1
  [data-br-theme="dark"] {
2
- --theme-shadow-opacity: 0.6;
3
- --theme-shadow-color: rgba(0, 0, 0, 0.6);
4
- --theme-border-style-focus-high-main: 3px dashed #ff8c00;
5
- --theme-border-style-focus-high-contrast: 3px dashed #ff8c00;
6
- --theme-border-style-focus-low-main: 2px solid #ff8c00;
7
- --theme-border-style-focus-low-contrast: 2px solid #ff8c00;
8
- --theme-border-style-active-main: 4px dashed #5992ed;
9
- --theme-border-style-active-contrast: 4px dashed #5992ed;
10
- --theme-border-style-grabbing-main: 2px solid #81aefc;
11
- --theme-border-style-grabbing-contrast: 2px solid #81aefc;
12
- --theme-border-style-dropzone-main: 1px dashed #81aefc;
13
- --theme-border-style-dropzone-contrast: 1px dashed #81aefc;
14
- --theme-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6);
15
- --theme-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6);
16
- --theme-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6);
17
- --theme-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.6), 0 0 12px 0 rgba(0, 0, 0, 0.6);
18
- --theme-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.6), 0 0 16px 0 rgba(0, 0, 0, 0.6);
19
- --theme-shadow-style-disabled: 0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6);
20
- --theme-shadow-style-hover-highlight: 0 0 4px 0 rgba(0, 0, 0, 0.6);
21
- --theme-shadow-style-pressed: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
22
- --theme-shadow-style-grabbing-main: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
23
- --theme-shadow-style-grabbing-contrast: 0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6);
24
- --theme-read-main-base: #fcfcfc;
25
- --theme-read-main-alternative: #cccccc;
26
- --theme-read-contrast-base: #fcfcfc;
27
- --theme-read-contrast-alternative: #cccccc;
28
- --theme-surface-main-base: #2d2e2f;
29
- --theme-surface-main-alternative: #1c1d1f;
30
- --theme-surface-contrast-base: #2d2e2f;
31
- --theme-surface-contrast-alternative: #1c1d1f;
32
- --theme-border-base: #4a4a4a;
33
- --theme-border-alternative: #757575;
34
- --theme-interactive-main: #81aefc;
35
- --theme-interactive-contrast: #81aefc;
36
- --theme-interactive-read-main: #000000;
37
- --theme-interactive-read-contrast: #000000;
38
- --theme-cta-main: #21c834;
39
- --theme-cta-contrast: #21c834;
40
- --theme-cta-read-main: #000000;
41
- --theme-cta-read-contrast: #000000;
42
- --theme-disabled-main: #a9aeb1;
43
- --theme-disabled-contrast: #a9aeb1;
44
- --theme-visited-main: #98afd2;
45
- --theme-visited-contrast: #98afd2;
46
- --theme-hover-bright: rgba(212, 229, 255, 0.5);
47
- --theme-hover-dim: rgba(12, 50, 111, 0.6);
48
- --theme-hover-main-read: rgba(12, 50, 111, 0.6);
49
- --theme-hover-main-surface: rgba(212, 229, 255, 0.5);
50
- --theme-hover-contrast-read: rgba(12, 50, 111, 0.6);
51
- --theme-hover-contrast-surface: rgba(212, 229, 255, 0.5);
52
- --theme-focus-main: #ff8c00;
53
- --theme-focus-contrast: #ff8c00;
54
- --theme-active-main: #5992ed;
55
- --theme-active-contrast: #5992ed;
56
- --theme-active-read-main: #000000;
57
- --theme-active-read-contrast: #000000;
58
- --theme-selected-main: #adcdff;
59
- --theme-selected-contrast: #adcdff;
60
- --theme-selected-read-main: #000000;
61
- --theme-selected-read-contrast: #000000;
62
- --theme-grabbing-main: #81aefc;
63
- --theme-grabbing-contrast: #81aefc;
64
- --theme-dropzone-main: #81aefc;
65
- --theme-dropzone-contrast: #81aefc;
66
- --theme-dropzone-active-main: #81aefc;
67
- --theme-dropzone-active-contrast: #81aefc;
68
- --theme-on-main: #155bcb;
69
- --theme-on-contrast: #155bcb;
70
- --theme-on-read-main: #ffffff;
71
- --theme-on-read-contrast: #ffffff;
72
- --theme-off-main: #636363;
73
- --theme-off-contrast: #636363;
74
- --theme-off-read-main: #ffffff;
75
- --theme-off-read-contrast: #ffffff;
76
- --theme-success-main: #538200;
77
- --theme-success-read-main: #ffffff;
78
- --theme-alert-main: #ffcd07;
79
- --theme-alert-read-main: #000000;
80
- --theme-error-main: #e52207;
81
- --theme-error-read-main: #ffffff;
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);
82
71
  }
@@ -1,82 +1,71 @@
1
1
  [data-br-theme="light"] {
2
- --theme-shadow-opacity: 0.2;
3
- --theme-shadow-color: rgba(0, 0, 0, 0.2);
4
- --theme-border-style-focus-high-main: 3px dashed #da680b;
5
- --theme-border-style-focus-high-contrast: 3px dashed #ff8c00;
6
- --theme-border-style-focus-low-main: 2px solid #da680b;
7
- --theme-border-style-focus-low-contrast: 2px solid #ff8c00;
8
- --theme-border-style-active-main: 4px solid #0c326f;
9
- --theme-border-style-active-contrast: 4px solid #81aefc;
10
- --theme-border-style-grabbing-main: 2px solid #0040b4;
11
- --theme-border-style-grabbing-contrast: 2px solid #adcdff;
12
- --theme-border-style-dropzone-main: 1px dashed #0040b4;
13
- --theme-border-style-dropzone-contrast: 1px dashed #adcdff;
14
- --theme-shadow-style-level-0: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
15
- --theme-shadow-style-level-1: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2);
16
- --theme-shadow-style-level-2: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2);
17
- --theme-shadow-style-level-3: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 0 12px 0 rgba(0, 0, 0, 0.2);
18
- --theme-shadow-style-level-4: 0 12px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px 0 rgba(0, 0, 0, 0.2);
19
- --theme-shadow-style-disabled: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
20
- --theme-shadow-style-hover-highlight: 0 0 4px 0 rgba(0, 0, 0, 0.2);
21
- --theme-shadow-style-pressed: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
22
- --theme-shadow-style-grabbing-main: 0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2);
23
- --theme-shadow-style-grabbing-contrast: 0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2);
24
- --theme-read-main-base: #1b1b1b;
25
- --theme-read-main-alternative: #636363;
26
- --theme-read-contrast-base: #fcfcfc;
27
- --theme-read-contrast-alternative: #cccccc;
28
- --theme-surface-main-base: #fcfcfc;
29
- --theme-surface-main-alternative: #f0f0f0;
30
- --theme-surface-contrast-base: #252f3e;
31
- --theme-surface-contrast-alternative: #2f4668;
32
- --theme-border-base: #cccccc;
33
- --theme-border-alternative: #888888;
34
- --theme-interactive-main: #0040b4;
35
- --theme-interactive-contrast: #adcdff;
36
- --theme-interactive-read-main: #ffffff;
37
- --theme-interactive-read-contrast: #000000;
38
- --theme-cta-main: #216e1f;
39
- --theme-cta-contrast: #70e17b;
40
- --theme-cta-read-main: #ffffff;
41
- --theme-cta-read-contrast: #000000;
42
- --theme-disabled-main: #4a4a4a;
43
- --theme-disabled-contrast: #cccccc;
44
- --theme-visited-main: #2f4668;
45
- --theme-visited-contrast: #c5d4eb;
46
- --theme-hover-bright: rgba(212, 229, 255, 0.5);
47
- --theme-hover-dim: rgba(12, 50, 111, 0.6);
48
- --theme-hover-main-read: rgba(212, 229, 255, 0.5);
49
- --theme-hover-main-surface: rgba(12, 50, 111, 0.6);
50
- --theme-hover-contrast-read: rgba(12, 50, 111, 0.6);
51
- --theme-hover-contrast-surface: rgba(212, 229, 255, 0.5);
52
- --theme-focus-main: #da680b;
53
- --theme-focus-contrast: #ff8c00;
54
- --theme-active-main: #0c326f;
55
- --theme-active-contrast: #81aefc;
56
- --theme-active-read-main: #ffffff;
57
- --theme-active-read-contrast: #000000;
58
- --theme-selected-main: #2670e8;
59
- --theme-selected-contrast: #5992ed;
60
- --theme-selected-read-main: #ffffff;
61
- --theme-selected-read-contrast: #000000;
62
- --theme-grabbing-main: #0040b4;
63
- --theme-grabbing-contrast: #adcdff;
64
- --theme-dropzone-main: #0040b4;
65
- --theme-dropzone-contrast: #adcdff;
66
- --theme-dropzone-active-main: #0040b4;
67
- --theme-dropzone-active-contrast: #adcdff;
68
- --theme-on-main: #5992ed;
69
- --theme-on-contrast: #2670e8;
70
- --theme-on-read-main: #000000;
71
- --theme-on-read-contrast: #ffffff;
72
- --theme-off-main: #888888;
73
- --theme-off-contrast: #757575;
74
- --theme-off-read-main: #000000;
75
- --theme-off-read-contrast: #ffffff;
76
- --theme-success-main: #538200;
77
- --theme-success-read-main: #ffffff;
78
- --theme-alert-main: #ffcd07;
79
- --theme-alert-read-main: #000000;
80
- --theme-error-main: #e52207;
81
- --theme-error-read-main: #ffffff;
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);
82
71
  }