@govbr-ds/tokens 4.0.0-next.2 → 4.0.0-next.20
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/component/avatar.css +37 -0
- package/dist/css/component/button.css +57 -0
- package/dist/css/component/checkbox.css +46 -0
- package/dist/css/component/checkboxGroup.css +7 -0
- package/dist/css/component/divider.css +12 -0
- package/dist/css/component/formlabel.css +6 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/input.css +37 -0
- package/dist/css/component/list.css +54 -0
- package/dist/css/component/message.css +17 -0
- package/dist/css/component/radioGroup.css +39 -0
- package/dist/css/component/select.css +9 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +69 -52
- package/dist/css/themes/light.css +69 -52
- package/dist/css/tokens.css +676 -516
- package/dist/js/component/avatar.js +36 -0
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/checkbox.js +45 -0
- package/dist/js/component/checkboxGroup.js +5 -0
- package/dist/js/component/divider.js +10 -0
- package/dist/js/component/formlabel.js +4 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/input.js +35 -0
- package/dist/js/component/list.js +52 -0
- package/dist/js/component/message.js +17 -0
- package/dist/js/component/radioGroup.js +38 -0
- package/dist/js/component/select.js +8 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +77 -52
- package/dist/js/themes/light.js +77 -52
- package/dist/js/tokens.js +700 -531
- package/dist/json/component/avatar.json +907 -0
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/checkbox.json +1132 -0
- package/dist/json/component/checkboxGroup.json +169 -0
- package/dist/json/component/divider.json +302 -0
- package/dist/json/component/formlabel.json +117 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/input.json +907 -0
- package/dist/json/component/list.json +1394 -0
- package/dist/json/component/message.json +441 -0
- package/dist/json/component/radioGroup.json +963 -0
- package/dist/json/component/select.json +207 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +1597 -856
- package/dist/json/themes/light.json +1597 -856
- package/dist/json/tokens.json +13699 -5459
- package/dist/scss/component/avatar.scss +35 -0
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/checkbox.scss +44 -0
- package/dist/scss/component/checkboxGroup.scss +5 -0
- package/dist/scss/component/divider.scss +10 -0
- package/dist/scss/component/formlabel.scss +4 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/input.scss +35 -0
- package/dist/scss/component/list.scss +52 -0
- package/dist/scss/component/message.scss +15 -0
- package/dist/scss/component/radioGroup.scss +37 -0
- package/dist/scss/component/select.scss +7 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +69 -0
- package/dist/scss/themes/light.scss +69 -0
- package/dist/scss/tokens.scss +817 -0
- package/dist/tokens-studio/tokens.json +6554 -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/avatar.json +156 -0
- package/src/figma/component/base14.json +94 -0
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/divider.json +24 -0
- package/src/figma/component/formlabel.json +24 -0
- package/src/figma/component/icon.json +142 -0
- package/src/figma/component/input.json +156 -0
- package/src/figma/component/manifest.json +30 -0
- package/src/figma/component/message.json +70 -0
- package/src/figma/component/text.json +56 -0
- package/src/figma/dark.json +352 -0
- package/src/figma/elevation.json +234 -0
- package/src/figma/{variables/grid.json → grid.json} +29 -29
- 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 +352 -0
- package/src/figma/light.json +352 -0
- package/src/figma/manifest.json +42 -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 +260 -0
- package/src/figma/{variables/surface.json → surface.json} +34 -38
- package/src/figma/{variables/typography.json → typography.json} +10 -46
- package/src/temp/component.json +1895 -0
- package/src/temp/core.json +3883 -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 +6554 -0
- package/dist/scss/_tokens.scss +0 -662
- package/dist/scss/themes/_dark.scss +0 -55
- package/dist/scss/themes/_light.scss +0 -55
- package/src/figma/tokens.json +0 -3513
- package/src/figma/variables/manifest.json +0 -26
- package/src/style-dictionary/themes/dark.json +0 -3239
- package/src/style-dictionary/themes/light.json +0 -3239
- package/src/style-dictionary/tokens.json +0 -2971
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
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--avatar-color-read-bright: #ffffff;
|
|
3
|
+
--avatar-color-read-dim: #000000;
|
|
4
|
+
--avatar-color-surface: #5942d2;
|
|
5
|
+
--avatar-spacing-padding: 4px;
|
|
6
|
+
--avatar-rounder-mask: 999999px;
|
|
7
|
+
--avatar-font-size-calc-xlarge: 1.125 ^ 12;
|
|
8
|
+
--avatar-font-size-xsmall: 0.624rem;
|
|
9
|
+
--avatar-font-size-small: 1rem;
|
|
10
|
+
--avatar-font-size-medium: 1.602rem;
|
|
11
|
+
--avatar-font-size-large: 2.566rem;
|
|
12
|
+
--avatar-font-size-xlarge: 1.125px ^ 12rem;
|
|
13
|
+
--avatar-font-style-text: 600 1.602rem/1 'Noto Sans';
|
|
14
|
+
--avatar-size-xsmall: 1.248rem;
|
|
15
|
+
--avatar-size-small: 2rem;
|
|
16
|
+
--avatar-size-medium: 3.204rem;
|
|
17
|
+
--avatar-size-large: 5.132rem;
|
|
18
|
+
--avatar-size-xlarge: 1.125px ^ 12rem * 2px;
|
|
19
|
+
--avatar-disabled-opacity: 0.3;
|
|
20
|
+
--avatar-hover-color: rgba(12, 50, 111, 0.6);
|
|
21
|
+
--avatar-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
22
|
+
--avatar-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
23
|
+
--avatar-hover-duration-in: 200ms;
|
|
24
|
+
--avatar-hover-duration-out: 100ms;
|
|
25
|
+
--avatar-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
26
|
+
--avatar-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
27
|
+
--avatar-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
28
|
+
--avatar-pressed-duration-in: 100ms;
|
|
29
|
+
--avatar-pressed-duration-out: 50ms;
|
|
30
|
+
--avatar-focus-spacing: 4px;
|
|
31
|
+
--avatar-focus-border-style-main: 4px dashed #da680b;
|
|
32
|
+
--avatar-focus-border-style-contrast: 4px dashed #ff8c00;
|
|
33
|
+
--avatar-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
34
|
+
--avatar-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
35
|
+
--avatar-focus-duration-in: 200ms;
|
|
36
|
+
--avatar-focus-duration-out: 100ms;
|
|
37
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--button-rounder: 999999px;
|
|
3
|
+
--button-spacing-gap: 8px;
|
|
4
|
+
--button-spacing-padding: 16px;
|
|
5
|
+
--button-density-compact: 4px;
|
|
6
|
+
--button-density-regular: 8px;
|
|
7
|
+
--button-density-spacious: 12px;
|
|
8
|
+
--button-color-read-main-primary: #ffffff;
|
|
9
|
+
--button-color-read-main-secondary: #0040b4;
|
|
10
|
+
--button-color-read-main-tertiary: #0040b4;
|
|
11
|
+
--button-color-read-contrast-primary: #000000;
|
|
12
|
+
--button-color-read-contrast-secondary: #adcdff;
|
|
13
|
+
--button-color-read-contrast-tertiary: #adcdff;
|
|
14
|
+
--button-color-surface-main-primary: #0040b4;
|
|
15
|
+
--button-color-surface-main-secondary: rgba(0, 0, 0, 0);
|
|
16
|
+
--button-color-surface-main-tertiary: rgba(0, 0, 0, 0);
|
|
17
|
+
--button-color-surface-contrast-primary: #adcdff;
|
|
18
|
+
--button-color-surface-contrast-secondary: rgba(0, 0, 0, 0);
|
|
19
|
+
--button-color-surface-contrast-tertiary: rgba(0, 0, 0, 0);
|
|
20
|
+
--button-border-style-main-secondary: 1px solid #0040b4;
|
|
21
|
+
--button-border-style-contrast-secondary: 1px solid #adcdff;
|
|
22
|
+
--button-cta-color-main: #216e1f;
|
|
23
|
+
--button-cta-color-contrast: #70e17b;
|
|
24
|
+
--button-cta-color-read-main: #ffffff;
|
|
25
|
+
--button-cta-color-read-contrast: #000000;
|
|
26
|
+
--button-disabled-color-main: #4a4a4a;
|
|
27
|
+
--button-disabled-color-contrast: #cccccc;
|
|
28
|
+
--button-disabled-opacity: 0.3;
|
|
29
|
+
--button-hover-color-main-surface: rgba(12, 50, 111, 0.6);
|
|
30
|
+
--button-hover-color-main-read: rgba(212, 229, 255, 0.5);
|
|
31
|
+
--button-hover-color-contrast-surface: rgba(212, 229, 255, 0.5);
|
|
32
|
+
--button-hover-color-contrast-read: rgba(12, 50, 111, 0.6);
|
|
33
|
+
--button-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
34
|
+
--button-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
35
|
+
--button-hover-duration-in: 200ms;
|
|
36
|
+
--button-hover-duration-out: 100ms;
|
|
37
|
+
--button-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
38
|
+
--button-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
39
|
+
--button-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
40
|
+
--button-pressed-duration-in: 100ms;
|
|
41
|
+
--button-pressed-duration-out: 50ms;
|
|
42
|
+
--button-focus-spacing: 4px;
|
|
43
|
+
--button-focus-border-style-main: 4px dashed #da680b;
|
|
44
|
+
--button-focus-border-style-contrast: 4px dashed #ff8c00;
|
|
45
|
+
--button-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
46
|
+
--button-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
47
|
+
--button-focus-duration-in: 200ms;
|
|
48
|
+
--button-focus-duration-out: 100ms;
|
|
49
|
+
--button-active-color-main: #0c326f;
|
|
50
|
+
--button-active-color-contrast: #81aefc;
|
|
51
|
+
--button-active-color-read-main: #ffffff;
|
|
52
|
+
--button-active-color-read-contrast: #000000;
|
|
53
|
+
--button-active-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
54
|
+
--button-active-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
55
|
+
--button-active-duration-in: 150ms;
|
|
56
|
+
--button-active-duration-out: 100ms;
|
|
57
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--checkbox-color-surface-base: #fcfcfc;
|
|
3
|
+
--checkbox-color-surface-alternative: #f0f0f0;
|
|
4
|
+
--checkbox-gap: 8px;
|
|
5
|
+
--checkbox-rounder: 4px;
|
|
6
|
+
--checkbox-icon-name-selected: check;
|
|
7
|
+
--checkbox-icon-name-intermediary: minus;
|
|
8
|
+
--checkbox-border-style: 1px solid #cccccc;
|
|
9
|
+
--checkbox-density-compact: 0;
|
|
10
|
+
--checkbox-density-regular: 4px;
|
|
11
|
+
--checkbox-density-spacious: 8px;
|
|
12
|
+
--checkbox-disabled-color: #4a4a4a;
|
|
13
|
+
--checkbox-disabled-opacity: 0.3;
|
|
14
|
+
--checkbox-hover-color-read: rgba(212, 229, 255, 0.5);
|
|
15
|
+
--checkbox-hover-color-surface: rgba(12, 50, 111, 0.6);
|
|
16
|
+
--checkbox-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
17
|
+
--checkbox-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
18
|
+
--checkbox-hover-duration-in: 200ms;
|
|
19
|
+
--checkbox-hover-duration-out: 100ms;
|
|
20
|
+
--checkbox-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
21
|
+
--checkbox-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
22
|
+
--checkbox-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
23
|
+
--checkbox-pressed-duration-in: 100ms;
|
|
24
|
+
--checkbox-pressed-duration-out: 50ms;
|
|
25
|
+
--checkbox-focus-border-style: 2px solid #da680b;
|
|
26
|
+
--checkbox-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
27
|
+
--checkbox-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
28
|
+
--checkbox-focus-duration-in: 200ms;
|
|
29
|
+
--checkbox-focus-duration-out: 100ms;
|
|
30
|
+
--checkbox-selected-color-read: #ffffff;
|
|
31
|
+
--checkbox-selected-color-surface: #2670e8;
|
|
32
|
+
--checkbox-selected-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
33
|
+
--checkbox-selected-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
34
|
+
--checkbox-selected-duration-in: 150ms;
|
|
35
|
+
--checkbox-selected-duration-out: 100ms;
|
|
36
|
+
--checkbox-intermediary-color: #2670e8;
|
|
37
|
+
--checkbox-intermediary-border-style: 1px solid #2670e8;
|
|
38
|
+
--checkbox-intermediary-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
39
|
+
--checkbox-intermediary-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
40
|
+
--checkbox-intermediary-duration-in: 150ms;
|
|
41
|
+
--checkbox-intermediary-duration-out: 100ms;
|
|
42
|
+
--checkbox-readonly-color-read-main: #636363;
|
|
43
|
+
--checkbox-readonly-color-read-contrast: #cccccc;
|
|
44
|
+
--checkbox-readonly-color-surface: rgba(0, 0, 0, 0);
|
|
45
|
+
--checkbox-readonly-border-width: 0;
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--divider-border-style-small-solid: 1px solid #cccccc;
|
|
3
|
+
--divider-border-style-small-dashed: 1px dashed #cccccc;
|
|
4
|
+
--divider-border-style-medium-solid: 2px solid #cccccc;
|
|
5
|
+
--divider-border-style-medium-dashed: 2px dashed #cccccc;
|
|
6
|
+
--divider-border-style-large-solid: 4px solid #cccccc;
|
|
7
|
+
--divider-border-style-large-dashed: 4px dashed #cccccc;
|
|
8
|
+
--divider-spacing-gap: 8px;
|
|
9
|
+
--divider-density-compact: 4px;
|
|
10
|
+
--divider-density-regular: 20px;
|
|
11
|
+
--divider-density-spacious: 36px;
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--icon-color-main-base: #1b1b1b;
|
|
3
|
+
--icon-color-main-alternative: #636363;
|
|
4
|
+
--icon-color-contrast-base: #fcfcfc;
|
|
5
|
+
--icon-color-contrast-alternative: #cccccc;
|
|
6
|
+
--icon-icon-style-solid: solid 1rem/1 'Font Awesome 6 Free';
|
|
7
|
+
--icon-icon-style-brand: 400 1rem/1 'Font Awesome 6 Brands';
|
|
8
|
+
--icon-font-size-default: 1rem;
|
|
9
|
+
--icon-font-size-up-01: 1.125rem;
|
|
10
|
+
--icon-font-size-up-02: 1.266rem;
|
|
11
|
+
--icon-font-size-up-03: 1.424rem;
|
|
12
|
+
--icon-font-size-up-04: 1.602rem;
|
|
13
|
+
--icon-font-size-up-05: 1.802rem;
|
|
14
|
+
--icon-font-size-up-06: 2.027rem;
|
|
15
|
+
--icon-font-size-up-07: 2.281rem;
|
|
16
|
+
--icon-font-size-up-08: 2.566rem;
|
|
17
|
+
--icon-font-size-down-01: 0.889rem;
|
|
18
|
+
--icon-font-size-down-02: 0.79rem;
|
|
19
|
+
--icon-font-size-down-03: 0.702rem;
|
|
20
|
+
--icon-font-size-down-04: 0.624rem;
|
|
21
|
+
--icon-ratio: 1.25;
|
|
22
|
+
--icon-size-default: 1.25rem;
|
|
23
|
+
--icon-size-up-01: 1.4063rem;
|
|
24
|
+
--icon-size-up-02: 1.5825rem;
|
|
25
|
+
--icon-size-up-03: 1.78rem;
|
|
26
|
+
--icon-size-up-04: 2.0025rem;
|
|
27
|
+
--icon-size-up-05: 2.2525rem;
|
|
28
|
+
--icon-size-up-06: 2.5338rem;
|
|
29
|
+
--icon-size-up-07: 2.8513rem;
|
|
30
|
+
--icon-size-up-08: 3.2075rem;
|
|
31
|
+
--icon-size-down-01: 1.1113rem;
|
|
32
|
+
--icon-size-down-02: 0.9875rem;
|
|
33
|
+
--icon-size-down-03: 0.8775rem;
|
|
34
|
+
--icon-size-down-04: 0.78rem;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--input-color-read-placeholder: #636363;
|
|
3
|
+
--input-color-read-input: #1b1b1b;
|
|
4
|
+
--input-color-surface-base: #fcfcfc;
|
|
5
|
+
--input-color-surface-alternative: #f0f0f0;
|
|
6
|
+
--input-rounder: 4px;
|
|
7
|
+
--input-spacing-padding: 8px;
|
|
8
|
+
--input-spacing-gap: 8px;
|
|
9
|
+
--input-border-style: 1px solid #cccccc;
|
|
10
|
+
--input-font-style-placeholder: italic 400 1rem/1.5 'Noto Sans';
|
|
11
|
+
--input-font-style-input: 500 1rem/1.5 'Noto Sans';
|
|
12
|
+
--input-line-height: 2.1;
|
|
13
|
+
--input-density-compact: 0;
|
|
14
|
+
--input-density-regular: 4px;
|
|
15
|
+
--input-density-spacious: 8px;
|
|
16
|
+
--input-readonly-color-read-main: #636363;
|
|
17
|
+
--input-readonly-color-read-contrast: #cccccc;
|
|
18
|
+
--input-readonly-color-surface: rgba(0, 0, 0, 0);
|
|
19
|
+
--input-readonly-border-width: 0;
|
|
20
|
+
--input-hover-color: rgba(212, 229, 255, 0.5);
|
|
21
|
+
--input-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
22
|
+
--input-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
23
|
+
--input-hover-duration-in: 200ms;
|
|
24
|
+
--input-hover-duration-out: 100ms;
|
|
25
|
+
--input-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
26
|
+
--input-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
27
|
+
--input-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
28
|
+
--input-pressed-duration-in: 100ms;
|
|
29
|
+
--input-pressed-duration-out: 50ms;
|
|
30
|
+
--input-focus-border-style: 2px solid #da680b;
|
|
31
|
+
--input-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
32
|
+
--input-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
33
|
+
--input-focus-duration-in: 200ms;
|
|
34
|
+
--input-focus-duration-out: 100ms;
|
|
35
|
+
--input-disabled-color: #4a4a4a;
|
|
36
|
+
--input-disabled-opacity: 0.3;
|
|
37
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--list-spacing-padding-header: 4px;
|
|
3
|
+
--list-spacing-padding-list: 8px;
|
|
4
|
+
--list-spacing-padding-item: 16px;
|
|
5
|
+
--list-spacing-gap-header: 4px;
|
|
6
|
+
--list-spacing-gap-list: 8px;
|
|
7
|
+
--list-spacing-gap-item: 16px;
|
|
8
|
+
--list-spacing-gap-actions: 8px;
|
|
9
|
+
--list-density-compact: 4px;
|
|
10
|
+
--list-density-regular: 8px;
|
|
11
|
+
--list-density-spacious: 12px;
|
|
12
|
+
--list-rounder: 4px;
|
|
13
|
+
--list-color-main-base: #fcfcfc;
|
|
14
|
+
--list-color-main-alternative: #f0f0f0;
|
|
15
|
+
--list-color-contrast-base: #252f3e;
|
|
16
|
+
--list-color-contrast-alternative: #2f4668;
|
|
17
|
+
--list-hover-color-main: rgba(212, 229, 255, 0.5);
|
|
18
|
+
--list-hover-color-contrast: rgba(12, 50, 111, 0.6);
|
|
19
|
+
--list-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
20
|
+
--list-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
21
|
+
--list-hover-duration-in: 200ms;
|
|
22
|
+
--list-hover-duration-out: 100ms;
|
|
23
|
+
--list-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
24
|
+
--list-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
25
|
+
--list-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
26
|
+
--list-pressed-duration-in: 100ms;
|
|
27
|
+
--list-pressed-duration-out: 50ms;
|
|
28
|
+
--list-active-color-main-read: #ffffff;
|
|
29
|
+
--list-active-color-main-surface: #0c326f;
|
|
30
|
+
--list-active-color-contrast-read: #000000;
|
|
31
|
+
--list-active-color-contrast-surface: #81aefc;
|
|
32
|
+
--list-active-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
33
|
+
--list-active-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
34
|
+
--list-active-duration-in: 150ms;
|
|
35
|
+
--list-active-duration-out: 100ms;
|
|
36
|
+
--list-selected-color-main-read: #ffffff;
|
|
37
|
+
--list-selected-color-main-surface: #2670e8;
|
|
38
|
+
--list-selected-color-contrast-read: #000000;
|
|
39
|
+
--list-selected-color-contrast-surface: #5992ed;
|
|
40
|
+
--list-selected-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
41
|
+
--list-selected-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
42
|
+
--list-selected-duration-in: 150ms;
|
|
43
|
+
--list-selected-duration-out: 100ms;
|
|
44
|
+
--list-focus-border-style-main: 4px dashed #da680b;
|
|
45
|
+
--list-focus-border-style-contrast: 4px dashed #ff8c00;
|
|
46
|
+
--list-focus-spacing: 4px;
|
|
47
|
+
--list-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
48
|
+
--list-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
49
|
+
--list-focus-duration-in: 200ms;
|
|
50
|
+
--list-focus-duration-out: 100ms;
|
|
51
|
+
--list-disabled-color-main: #4a4a4a;
|
|
52
|
+
--list-disabled-color-contrast: #cccccc;
|
|
53
|
+
--list-disabled-opacity: 0.3;
|
|
54
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--message-color-surface-base: #fcfcfc;
|
|
3
|
+
--message-color-surface-alternative: #f0f0f0;
|
|
4
|
+
--message-color-read-description: #1b1b1b;
|
|
5
|
+
--message-rounder-global: 0;
|
|
6
|
+
--message-rounder-contextual: 4px;
|
|
7
|
+
--message-shadow-style-global: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2);
|
|
8
|
+
--message-shadow-style-contextual: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
|
|
9
|
+
--message-font-style-description: 400 1rem/1.5 'Noto Sans';
|
|
10
|
+
--message-spacing-gap-global: 8px;
|
|
11
|
+
--message-spacing-gap-contextual: 4px;
|
|
12
|
+
--message-spacing-padding-global: 16px;
|
|
13
|
+
--message-spacing-padding-contextual: 4px;
|
|
14
|
+
--message-hover-color-success: rgba(36, 52, 19, 0.5);
|
|
15
|
+
--message-hover-color-alert: rgba(254, 230, 133, 0.6);
|
|
16
|
+
--message-hover-color-error: rgba(92, 17, 17, 0.5);
|
|
17
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--radio-group-color-surface-base: #fcfcfc;
|
|
3
|
+
--radio-group-color-surface-alternative: #f0f0f0;
|
|
4
|
+
--radio-group-gap-default: 8px;
|
|
5
|
+
--radio-group-gap-vertical: 8px;
|
|
6
|
+
--radio-group-gap-horizontal: 24px;
|
|
7
|
+
--radio-group-rounder: 999999px;
|
|
8
|
+
--radio-group-icon-name-selected: circle;
|
|
9
|
+
--radio-group-border-style: 1px solid #cccccc;
|
|
10
|
+
--radio-group-density-compact: 4px;
|
|
11
|
+
--radio-group-density-regular: 8px;
|
|
12
|
+
--radio-group-density-spacious: 12px;
|
|
13
|
+
--radio-group-disabled-color: #4a4a4a;
|
|
14
|
+
--radio-group-disabled-opacity: 0.3;
|
|
15
|
+
--radio-group-hover-color-read: rgba(212, 229, 255, 0.5);
|
|
16
|
+
--radio-group-hover-color-surface: rgba(12, 50, 111, 0.6);
|
|
17
|
+
--radio-group-hover-easing-in: cubic-bezier(0.42, 0, 1, 1);
|
|
18
|
+
--radio-group-hover-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
19
|
+
--radio-group-hover-duration-in: 200ms;
|
|
20
|
+
--radio-group-hover-duration-out: 100ms;
|
|
21
|
+
--radio-group-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5);
|
|
22
|
+
--radio-group-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1);
|
|
23
|
+
--radio-group-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
24
|
+
--radio-group-pressed-duration-in: 100ms;
|
|
25
|
+
--radio-group-pressed-duration-out: 50ms;
|
|
26
|
+
--radio-group-focus-border-style: 2px solid #da680b;
|
|
27
|
+
--radio-group-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0);
|
|
28
|
+
--radio-group-focus-easing-out: cubic-bezier(0, 0, 0.58, 1);
|
|
29
|
+
--radio-group-focus-duration-in: 200ms;
|
|
30
|
+
--radio-group-focus-duration-out: 100ms;
|
|
31
|
+
--radio-group-selected-color-read: #ffffff;
|
|
32
|
+
--radio-group-selected-color-surface: #2670e8;
|
|
33
|
+
--radio-group-selected-easing-in: cubic-bezier(0, 0, 0.58, 1);
|
|
34
|
+
--radio-group-selected-easing-out: cubic-bezier(0.42, 0, 1, 1);
|
|
35
|
+
--radio-group-selected-duration-in: 150ms;
|
|
36
|
+
--radio-group-selected-duration-out: 100ms;
|
|
37
|
+
--radio-group-readonly-color-main: #636363;
|
|
38
|
+
--radio-group-readonly-color-contrast: #cccccc;
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--select-color-select-all-read: #ffffff;
|
|
3
|
+
--select-color-select-all-surface: #0040b4;
|
|
4
|
+
--select-color-group-surface: #f0f0f0;
|
|
5
|
+
--select-icon-name-selected: square-check;
|
|
6
|
+
--select-icon-name-deselected: square;
|
|
7
|
+
--select-icon-name-intermediary: square-minus;
|
|
8
|
+
--select-shadow-style-list: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2);
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--text-color-main-base: #1b1b1b;
|
|
3
|
+
--text-color-main-alternative: #636363;
|
|
4
|
+
--text-color-contrast-base: #fcfcfc;
|
|
5
|
+
--text-color-contrast-alternative: #cccccc;
|
|
6
|
+
--text-font-style-label: 600 0.889rem/1.5 'Noto Sans';
|
|
7
|
+
--text-font-style-title: 600 1.266rem/1.5 'Noto Sans';
|
|
8
|
+
--text-font-size-label-small: 0.79rem;
|
|
9
|
+
--text-font-size-label-medium: 0.889rem;
|
|
10
|
+
--text-font-size-label-large: 1rem;
|
|
11
|
+
--text-font-size-title-small: 1.125rem;
|
|
12
|
+
--text-font-size-title-medium: 1.266rem;
|
|
13
|
+
--text-font-size-title-large: 1.424rem;
|
|
14
|
+
--text-density-compact: 1.2;
|
|
15
|
+
--text-density-regular: 1.5;
|
|
16
|
+
--text-density-spacious: 2.1;
|
|
17
|
+
}
|