@skbkontur/colors 0.5.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +171 -76
- package/colors.css +158 -158
- package/colors.less +158 -158
- package/colors.scss +158 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0](https://git.skbkontur.ru/ui/ui-parking/compare/@skbkontur/colors@0.5.1...@skbkontur/colors@1.0.0) (2024-08-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **colors:** add scss and change naming ([ef3345f](https://git.skbkontur.ru/ui/ui-parking/commits/ef3345f5f54be830f284c9a2a53991e117b8ba0b))
|
|
12
|
+
* **colors:** add scss and change naming ([78b32b7](https://git.skbkontur.ru/ui/ui-parking/commits/78b32b7a22d260baf166195e7eb1adeea5b2c9f7))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* **colors:** change naming from camelCase to dash-case
|
|
18
|
+
* **colors:** change naming from camelCase to dash-case
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [0.5.1](https://git.skbkontur.ru/ui/ui-parking/compare/@skbkontur/colors@0.5.0...@skbkontur/colors@0.5.1) (2024-08-08)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @skbkontur/colors
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
# [0.5.0](https://git.skbkontur.ru/ui/ui-parking/compare/@skbkontur/colors@0.4.4...@skbkontur/colors@0.5.0) (2024-06-25)
|
|
7
33
|
|
|
8
34
|
|
package/README.md
CHANGED
|
@@ -1,115 +1,210 @@
|
|
|
1
1
|
# Библиотека цветов
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NPM-пакет для доступа к цветам из общей Figma-библиотеки [Kontur.Colors](https://www.figma.com/file/XuiIin3JAOEcHHPihtthOJ/%E2%9A%A1%EF%B8%8F-Kontur-Colors?node-id=0%3A1&t=pL38Ju5ZOo3VC6vt-0)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Установка
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm i @skbkontur/colors
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## Использование
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- `@
|
|
16
|
-
- `--blueDark30` для colors.css
|
|
17
|
-
- `KonturColors.blueDark30` для colors.ts
|
|
13
|
+
- JS/TS токены содержатся в объекте `KonturColors.colorName`
|
|
14
|
+
- В CSS в виде глобальных переменных`--kontur-color-name` в `:root { ... }`
|
|
15
|
+
- В препроцессорах Less `@color-name` и SCSS `$color-name`
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
#### JS/TS
|
|
20
18
|
|
|
21
|
-
```
|
|
22
|
-
|
|
19
|
+
```js static
|
|
20
|
+
import { KonturColors } from '@skbkontur/colors';
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
const text = `<div style="color: ${KonturColors.blueDark90}">Цвет blueDark90</div>`;
|
|
23
|
+
```
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
#### React
|
|
26
|
+
|
|
27
|
+
```jsx static
|
|
28
|
+
import { KonturColors } from '@skbkontur/colors';
|
|
29
|
+
|
|
30
|
+
const Component = () => {
|
|
31
|
+
return <div style={{ color: KonturColors.blueDark90 }}>Цвет blueDark90</div>;
|
|
32
|
+
};
|
|
29
33
|
```
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
#### CSS
|
|
32
36
|
|
|
33
37
|
```css
|
|
34
|
-
// styles.css
|
|
35
|
-
|
|
36
38
|
@import '@skbkontur/colors/colors.css';
|
|
37
39
|
|
|
38
40
|
.class {
|
|
39
|
-
|
|
41
|
+
color: var(--blue-dark-90);
|
|
40
42
|
}
|
|
41
43
|
```
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
// styles.ts
|
|
45
|
+
#### SCSS
|
|
47
46
|
|
|
48
|
-
|
|
47
|
+
```scss
|
|
48
|
+
@import '@skbkontur/colors/colors.scss';
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<div style={{color: KonturColors.blue10}}>some content</div>
|
|
53
|
-
)
|
|
50
|
+
.class {
|
|
51
|
+
color: $blue-dark-90;
|
|
54
52
|
}
|
|
55
53
|
```
|
|
56
54
|
|
|
55
|
+
#### Less
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
```less
|
|
58
|
+
@import '@skbkontur/colors/colors.less';
|
|
59
|
+
|
|
60
|
+
.class {
|
|
61
|
+
color: @blue-dark-90;
|
|
62
|
+
}
|
|
63
|
+
```
|
|
61
64
|
|
|
62
65
|
## Палитра
|
|
63
66
|
|
|
64
|
-
```
|
|
67
|
+
```jsx harmony
|
|
65
68
|
import { KonturColors } from '@skbkontur/colors';
|
|
69
|
+
import {
|
|
70
|
+
Toast,
|
|
71
|
+
DropdownMenu,
|
|
72
|
+
MenuHeader,
|
|
73
|
+
MenuItem,
|
|
74
|
+
ThemeContext,
|
|
75
|
+
ThemeFactory,
|
|
76
|
+
THEME_2022_UPDATE_2024,
|
|
77
|
+
} from '@skbkontur/react-ui';
|
|
78
|
+
|
|
79
|
+
import { css } from '@skbkontur/react-ui/lib/theming/Emotion';
|
|
66
80
|
|
|
67
81
|
const styles = {
|
|
68
|
-
|
|
69
|
-
display:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
82
|
+
colors: css`
|
|
83
|
+
display: grid;
|
|
84
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
85
|
+
gap: 24px;
|
|
86
|
+
`,
|
|
87
|
+
colorGroup: css`
|
|
88
|
+
break-inside: avoid;
|
|
89
|
+
margin-bottom: 64px;
|
|
90
|
+
`,
|
|
91
|
+
colorBlock: css`
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: 10px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
border: none;
|
|
97
|
+
text-align: left;
|
|
98
|
+
background: none;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
padding: 8px;
|
|
101
|
+
border-radius: 8px;
|
|
102
|
+
transition: 0.1s ease;
|
|
103
|
+
|
|
104
|
+
&:hover {
|
|
105
|
+
background: rgba(0, 0, 0, 0.06);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:active {
|
|
109
|
+
background: rgba(0, 0, 0, 0.1);
|
|
110
|
+
}
|
|
111
|
+
`,
|
|
112
|
+
colorTile: css`
|
|
113
|
+
display: block;
|
|
114
|
+
height: 32px;
|
|
115
|
+
width: 32px;
|
|
116
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
117
|
+
border-radius: 8px;
|
|
118
|
+
flex-shrink: 0;
|
|
119
|
+
`,
|
|
120
|
+
groupTitle: css`
|
|
121
|
+
display: block;
|
|
122
|
+
font-size: 20px;
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
margin: 0 8px 12px;
|
|
125
|
+
`,
|
|
126
|
+
title: css`
|
|
127
|
+
display: block;
|
|
128
|
+
padding: 1px 0 0 8px;
|
|
129
|
+
`,
|
|
130
|
+
colorName: css`
|
|
131
|
+
display: block;
|
|
132
|
+
font-size: 14px;
|
|
133
|
+
line-height: 1.2;
|
|
134
|
+
`,
|
|
135
|
+
colorValue: css`
|
|
136
|
+
display: block;
|
|
137
|
+
fontSize: 12px;
|
|
138
|
+
color: #8b8b8b;
|
|
139
|
+
}`,
|
|
92
140
|
};
|
|
93
141
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
142
|
+
const colorGroups = Object.entries(KonturColors).reduce((acc, [colorKey, colorValue]) => {
|
|
143
|
+
const firstWord = ['greenMint', 'blueDark'].find((color) => colorKey.match(color)) || colorKey.match(/^[a-z]+/)[0];
|
|
144
|
+
|
|
145
|
+
acc[firstWord] = { ...acc[firstWord], [colorKey]: colorValue };
|
|
146
|
+
|
|
147
|
+
return acc;
|
|
148
|
+
}, {});
|
|
149
|
+
|
|
150
|
+
const getColors = (color) => {
|
|
151
|
+
const colorDashCase = color
|
|
152
|
+
.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase())
|
|
153
|
+
.replace(/\d/, (m) => `-${m}`)
|
|
154
|
+
.replace('f-f-f', 'fff');
|
|
155
|
+
|
|
156
|
+
return {
|
|
157
|
+
'JavaScript / TypeScript': `KonturColors.${color}`,
|
|
158
|
+
CSS: `var(--kontur-${colorDashCase})`,
|
|
159
|
+
SCSS: `$${colorDashCase}`,
|
|
160
|
+
Less: `@${colorDashCase}`,
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
const copyColor = (color) => {
|
|
165
|
+
navigator.clipboard.writeText(color);
|
|
166
|
+
Toast.push('Цвет скопирован', null, 1000);
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
<div className={styles.colors}>
|
|
170
|
+
<ThemeContext.Provider value={THEME_2022_UPDATE_2024}>
|
|
171
|
+
{Object.entries(colorGroups).map(([group, colors]) => {
|
|
172
|
+
return (
|
|
173
|
+
<div className={styles.colorGroup}>
|
|
174
|
+
<div className={styles.groupTitle}>{group}</div>
|
|
175
|
+
{Object.keys(colors).map((colorName) => {
|
|
176
|
+
const colorValue = KonturColors[colorName];
|
|
177
|
+
const colorTile = (
|
|
178
|
+
<div className={styles.colorBlock}>
|
|
179
|
+
<span className={styles.colorTile} style={{ backgroundColor: colorValue }} />
|
|
180
|
+
<span>
|
|
181
|
+
<span className={styles.colorName}>{colorName}</span>
|
|
182
|
+
<span className={styles.colorValue}>{colorValue}</span>
|
|
183
|
+
</span>
|
|
184
|
+
</div>
|
|
185
|
+
);
|
|
186
|
+
return (
|
|
187
|
+
<div>
|
|
188
|
+
<DropdownMenu caption={colorTile} width="300">
|
|
189
|
+
<MenuHeader>Скопировать переменную</MenuHeader>
|
|
190
|
+
{Object.entries(getColors(colorName)).map(([lang, color]) => (
|
|
191
|
+
<MenuItem onClick={() => copyColor(color)} comment={lang}>
|
|
192
|
+
<div style={{ minWidth: 270 }}>{color}</div>
|
|
193
|
+
</MenuItem>
|
|
194
|
+
))}
|
|
195
|
+
</DropdownMenu>
|
|
196
|
+
</div>
|
|
197
|
+
);
|
|
198
|
+
})}
|
|
110
199
|
</div>
|
|
111
|
-
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
</div
|
|
200
|
+
);
|
|
201
|
+
})}
|
|
202
|
+
</ThemeContext.Provider>
|
|
203
|
+
</div>;
|
|
115
204
|
```
|
|
205
|
+
|
|
206
|
+
## Разработка
|
|
207
|
+
|
|
208
|
+
- Токены выгружаются в формате `camelCase`
|
|
209
|
+
- `src/colors.ts` — файл с токенами
|
|
210
|
+
- `npm run build` — сборка пакета в `/dist`
|
package/colors.css
CHANGED
|
@@ -1,160 +1,160 @@
|
|
|
1
1
|
:root {
|
|
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
|
-
--
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
--
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
--
|
|
88
|
-
--
|
|
89
|
-
--
|
|
90
|
-
--
|
|
91
|
-
--
|
|
92
|
-
--
|
|
93
|
-
--
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
97
|
-
--
|
|
98
|
-
--
|
|
99
|
-
--
|
|
100
|
-
--
|
|
101
|
-
--
|
|
102
|
-
--
|
|
103
|
-
--
|
|
104
|
-
--
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
--
|
|
108
|
-
--
|
|
109
|
-
--
|
|
110
|
-
--
|
|
111
|
-
--
|
|
112
|
-
--
|
|
113
|
-
--
|
|
114
|
-
--
|
|
115
|
-
--
|
|
116
|
-
--
|
|
117
|
-
--
|
|
118
|
-
--
|
|
119
|
-
--
|
|
120
|
-
--
|
|
121
|
-
--
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
--
|
|
126
|
-
--
|
|
127
|
-
--
|
|
128
|
-
--
|
|
129
|
-
--
|
|
130
|
-
--
|
|
131
|
-
--
|
|
132
|
-
--
|
|
133
|
-
--
|
|
134
|
-
--
|
|
135
|
-
--
|
|
136
|
-
--
|
|
137
|
-
--
|
|
138
|
-
--
|
|
139
|
-
--
|
|
140
|
-
--
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
--
|
|
145
|
-
--
|
|
146
|
-
--
|
|
147
|
-
--
|
|
148
|
-
--
|
|
149
|
-
--
|
|
150
|
-
--
|
|
151
|
-
--
|
|
152
|
-
--
|
|
153
|
-
--
|
|
154
|
-
--
|
|
155
|
-
--
|
|
156
|
-
--
|
|
157
|
-
--
|
|
158
|
-
--
|
|
159
|
-
--
|
|
2
|
+
--kontur-red-0-logo: #fe4c4c;
|
|
3
|
+
--kontur-red-10: #ffebeb;
|
|
4
|
+
--kontur-red-20: #ffcbcb;
|
|
5
|
+
--kontur-red-30: #ffabab;
|
|
6
|
+
--kontur-red-40: #fe8c8c;
|
|
7
|
+
--kontur-red-light-basic-50: #fe6c6c;
|
|
8
|
+
--kontur-red-basic-60: #fe4c4c;
|
|
9
|
+
--kontur-red-70: #ed3f3f;
|
|
10
|
+
--kontur-red-80: #dd3333;
|
|
11
|
+
--kontur-red-90: #cc2626;
|
|
12
|
+
--kontur-red-100: #bb1919;
|
|
13
|
+
--kontur-red-110: #ab0d0d;
|
|
14
|
+
--kontur-red-promo-accent: #6c1d45;
|
|
15
|
+
--kontur-orange-0-logo: #fc7630;
|
|
16
|
+
--kontur-orange-10: #ffe0c3;
|
|
17
|
+
--kontur-orange-20: #ffd1a0;
|
|
18
|
+
--kontur-orange-30: #ffc17d;
|
|
19
|
+
--kontur-orange-40: #ffb259;
|
|
20
|
+
--kontur-orange-light-basic-50: #ffa236;
|
|
21
|
+
--kontur-orange-basic-60: #ff8227;
|
|
22
|
+
--kontur-orange-70: #ea7324;
|
|
23
|
+
--kontur-orange-80: #d46421;
|
|
24
|
+
--kontur-orange-90: #bf561e;
|
|
25
|
+
--kontur-orange-100: #a9471b;
|
|
26
|
+
--kontur-orange-110: #943817;
|
|
27
|
+
--kontur-orange-promo-accent: #661429;
|
|
28
|
+
--kontur-yellow-0-logo: #feca42;
|
|
29
|
+
--kontur-yellow-10: #ffeec2;
|
|
30
|
+
--kontur-yellow-20: #fde1a1;
|
|
31
|
+
--kontur-yellow-30: #fdd481;
|
|
32
|
+
--kontur-yellow-40: #fcc660;
|
|
33
|
+
--kontur-yellow-light-basic-50: #fcb73e;
|
|
34
|
+
--kontur-yellow-basic-60: #fda70c;
|
|
35
|
+
--kontur-yellow-70: #f69912;
|
|
36
|
+
--kontur-yellow-80: #ef8b17;
|
|
37
|
+
--kontur-yellow-90: #e77e1b;
|
|
38
|
+
--kontur-yellow-100: #de711e;
|
|
39
|
+
--kontur-yellow-110: #d46421;
|
|
40
|
+
--kontur-green-0-logo: #26ad50;
|
|
41
|
+
--kontur-green-10: #c7f9cc;
|
|
42
|
+
--kontur-green-20: #a7eeb3;
|
|
43
|
+
--kontur-green-30: #87e39a;
|
|
44
|
+
--kontur-green-40: #67d881;
|
|
45
|
+
--kontur-green-light-basic-50: #46cd68;
|
|
46
|
+
--kontur-green-basic-60: #26ad50;
|
|
47
|
+
--kontur-green-70: #23a14a;
|
|
48
|
+
--kontur-green-80: #209644;
|
|
49
|
+
--kontur-green-90: #1c8a3f;
|
|
50
|
+
--kontur-green-100: #197f39;
|
|
51
|
+
--kontur-green-110: #167333;
|
|
52
|
+
--kontur-green-green: #144942;
|
|
53
|
+
--kontur-green-mint-0-logo: #00bea2;
|
|
54
|
+
--kontur-green-mint-10: #c6f5ec;
|
|
55
|
+
--kontur-green-mint-20: #a8eee2;
|
|
56
|
+
--kontur-green-mint-30: #8be7d8;
|
|
57
|
+
--kontur-green-mint-40: #6ddfcd;
|
|
58
|
+
--kontur-green-mint-light-basic-50: #4fd8c3;
|
|
59
|
+
--kontur-green-mint-basic-60: #00c5a8;
|
|
60
|
+
--kontur-green-mint-70: #00b59a;
|
|
61
|
+
--kontur-green-mint-80: #00a58d;
|
|
62
|
+
--kontur-green-mint-90: #00957f;
|
|
63
|
+
--kontur-green-mint-100: #008571;
|
|
64
|
+
--kontur-green-mint-110: #007564;
|
|
65
|
+
--kontur-green-mint-promo-accent: #013f54;
|
|
66
|
+
--kontur-blue-0-logo: #2291ff;
|
|
67
|
+
--kontur-blue-10: #cdedff;
|
|
68
|
+
--kontur-blue-20: #aeddff;
|
|
69
|
+
--kontur-blue-30: #8fcdff;
|
|
70
|
+
--kontur-blue-40: #70bdff;
|
|
71
|
+
--kontur-blue-light-basic-50: #51adff;
|
|
72
|
+
--kontur-blue-basic-60: #2291ff;
|
|
73
|
+
--kontur-blue-70: #1f87ef;
|
|
74
|
+
--kontur-blue-80: #1c7edf;
|
|
75
|
+
--kontur-blue-90: #1874cf;
|
|
76
|
+
--kontur-blue-100: #156abe;
|
|
77
|
+
--kontur-blue-110: #1261ae;
|
|
78
|
+
--kontur-blue-promo-accent: #153177;
|
|
79
|
+
--kontur-blue-dark-0-logo: #366af3;
|
|
80
|
+
--kontur-blue-dark-10: #dde6ff;
|
|
81
|
+
--kontur-blue-dark-20: #becfff;
|
|
82
|
+
--kontur-blue-dark-30: #9fb8ff;
|
|
83
|
+
--kontur-blue-dark-40: #80a1ff;
|
|
84
|
+
--kontur-blue-dark-light-basic-50: #618aff;
|
|
85
|
+
--kontur-blue-dark-basic-60: #366af3;
|
|
86
|
+
--kontur-blue-dark-70: #3365e8;
|
|
87
|
+
--kontur-blue-dark-80: #3060dc;
|
|
88
|
+
--kontur-blue-dark-90: #2e5ad1;
|
|
89
|
+
--kontur-blue-dark-100: #2b55c5;
|
|
90
|
+
--kontur-blue-dark-110: #2850ba;
|
|
91
|
+
--kontur-blue-dark-promo-accent: #272567;
|
|
92
|
+
--kontur-purple-0-logo: #b750d1;
|
|
93
|
+
--kontur-purple-10: #f7d7ff;
|
|
94
|
+
--kontur-purple-20: #eabdf6;
|
|
95
|
+
--kontur-purple-30: #dea3ec;
|
|
96
|
+
--kontur-purple-40: #d189e3;
|
|
97
|
+
--kontur-purple-light-basic-50: #c56fda;
|
|
98
|
+
--kontur-purple-basic-60: #b750d1;
|
|
99
|
+
--kontur-purple-70: #aa49c3;
|
|
100
|
+
--kontur-purple-80: #9e43b5;
|
|
101
|
+
--kontur-purple-90: #913ca6;
|
|
102
|
+
--kontur-purple-100: #843698;
|
|
103
|
+
--kontur-purple-110: #782f8a;
|
|
104
|
+
--kontur-purple-promo-accent: #452a78;
|
|
105
|
+
--kontur-main-link-text-blue-90: #1874cf;
|
|
106
|
+
--kontur-main-link-shape-blue-60: #2291ff;
|
|
107
|
+
--kontur-main-link-background-blue-10: #cdedff;
|
|
108
|
+
--kontur-main-success-text-green-90: #1c8a3f;
|
|
109
|
+
--kontur-main-success-shape-green-60: #26ad50;
|
|
110
|
+
--kontur-main-success-background-green-10: #c7f9cc;
|
|
111
|
+
--kontur-main-warning-text-yellow-80: #ef8b17;
|
|
112
|
+
--kontur-main-warning-shape-yellow-50: #fcb73e;
|
|
113
|
+
--kontur-main-warning-background-yellow-10: #ffeec2;
|
|
114
|
+
--kontur-main-error-text-red-90: #cc2626;
|
|
115
|
+
--kontur-main-error-shape-red-60: #fe4c4c;
|
|
116
|
+
--kontur-main-error-background-red-10: #ffebeb;
|
|
117
|
+
--kontur-grayscale-text: #222222;
|
|
118
|
+
--kontur-grayscale-secondary-text: #757575;
|
|
119
|
+
--kontur-grayscale-disabled-text: #adadad;
|
|
120
|
+
--kontur-grayscale-dark-background: #d6d6d6;
|
|
121
|
+
--kontur-grayscale-background: #e6e6e6;
|
|
122
|
+
--kontur-grayscale-light-background: #f0f0f0;
|
|
123
|
+
--kontur-grayscale-87-text: rgba(0, 0, 0, 0.87);
|
|
124
|
+
--kontur-grayscale-54-secondary-text: rgba(0, 0, 0, 0.54);
|
|
125
|
+
--kontur-grayscale-32-disabled-text: rgba(0, 0, 0, 0.32);
|
|
126
|
+
--kontur-grayscale-16-dark-background: rgba(0, 0, 0, 0.16);
|
|
127
|
+
--kontur-grayscale-10-background: rgba(0, 0, 0, 0.1);
|
|
128
|
+
--kontur-grayscale-6-light-background: rgba(0, 0, 0, 0.06);
|
|
129
|
+
--kontur-grayscale-87-text-white: rgba(255, 255, 255, 0.87);
|
|
130
|
+
--kontur-grayscale-54-secondary-white: rgba(255, 255, 255, 0.54);
|
|
131
|
+
--kontur-grayscale-32-disabled-white: rgba(255, 255, 255, 0.32);
|
|
132
|
+
--kontur-grayscale-16-white: rgba(255, 255, 255, 0.16);
|
|
133
|
+
--kontur-grayscale-10-white: rgba(255, 255, 255, 0.1);
|
|
134
|
+
--kontur-grayscale-6-white: rgba(255, 255, 255, 0.06);
|
|
135
|
+
--kontur-grayscale-black-000: #000000;
|
|
136
|
+
--kontur-grayscale-white-fff: #ffffff;
|
|
137
|
+
--kontur-primary-default: #3d3d3d;
|
|
138
|
+
--kontur-primary-hover: #292929;
|
|
139
|
+
--kontur-primary-pressed: #141414;
|
|
140
|
+
--kontur-link-states-text-hover-blue-100: #156abe;
|
|
141
|
+
--kontur-link-states-text-pressed-blue-110: #1260ae;
|
|
142
|
+
--kontur-link-states-shape-hover-blue-70: #1f87ef;
|
|
143
|
+
--kontur-link-states-shape-pressed-blue-80: #1c7edf;
|
|
144
|
+
--kontur-success-states-text-hover-green-100: #197f39;
|
|
145
|
+
--kontur-success-states-text-pressed-green-110: #167333;
|
|
146
|
+
--kontur-success-states-shape-hover-green-70: #23a14a;
|
|
147
|
+
--kontur-success-states-shape-pressed-green-80: #209644;
|
|
148
|
+
--kontur-warning-states-text-hover-yellow-90: #e77e1b;
|
|
149
|
+
--kontur-warning-states-text-pressed-yellow-100: #de711e;
|
|
150
|
+
--kontur-warning-states-shape-hover-yellow-60: #fda70c;
|
|
151
|
+
--kontur-warning-states-shape-pressed-yellow-70: #f69912;
|
|
152
|
+
--kontur-error-states-text-hover-red-100: #bb1919;
|
|
153
|
+
--kontur-error-states-text-pressed-red-110: #ab0d0d;
|
|
154
|
+
--kontur-error-states-shape-hover-red-70: #ed3f3f;
|
|
155
|
+
--kontur-error-states-shape-pressed-red-80: #dd3333;
|
|
156
|
+
--kontur-shade-16-black: rgba(0, 0, 0, 0.16);
|
|
157
|
+
--kontur-shade-80-white: rgba(255, 255, 255, 0.8);
|
|
158
|
+
--kontur-elements-exceptions-hint: rgba(0, 0, 0, 0.76);
|
|
159
|
+
--kontur-elements-exceptions-toast-red: rgba(210, 15, 0, 0.76);
|
|
160
160
|
}
|
package/colors.less
CHANGED
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
@
|
|
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
|
-
@
|
|
54
|
-
@
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
@
|
|
60
|
-
@
|
|
61
|
-
@
|
|
62
|
-
@
|
|
63
|
-
@
|
|
64
|
-
@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
67
|
-
@
|
|
68
|
-
@
|
|
69
|
-
@
|
|
70
|
-
@
|
|
71
|
-
@
|
|
72
|
-
@
|
|
73
|
-
@
|
|
74
|
-
@
|
|
75
|
-
@
|
|
76
|
-
@
|
|
77
|
-
@
|
|
78
|
-
@
|
|
79
|
-
@
|
|
80
|
-
@
|
|
81
|
-
@
|
|
82
|
-
@
|
|
83
|
-
@
|
|
84
|
-
@
|
|
85
|
-
@
|
|
86
|
-
@
|
|
87
|
-
@
|
|
88
|
-
@
|
|
89
|
-
@
|
|
90
|
-
@
|
|
91
|
-
@
|
|
92
|
-
@
|
|
93
|
-
@
|
|
94
|
-
@
|
|
95
|
-
@
|
|
96
|
-
@
|
|
97
|
-
@
|
|
98
|
-
@
|
|
99
|
-
@
|
|
100
|
-
@
|
|
101
|
-
@
|
|
102
|
-
@
|
|
103
|
-
@
|
|
104
|
-
@
|
|
105
|
-
@
|
|
106
|
-
@
|
|
107
|
-
@
|
|
108
|
-
@
|
|
109
|
-
@
|
|
110
|
-
@
|
|
111
|
-
@
|
|
112
|
-
@
|
|
113
|
-
@
|
|
114
|
-
@
|
|
115
|
-
@
|
|
116
|
-
@
|
|
117
|
-
@
|
|
118
|
-
@
|
|
119
|
-
@
|
|
120
|
-
@
|
|
121
|
-
@
|
|
122
|
-
@
|
|
123
|
-
@
|
|
124
|
-
@
|
|
125
|
-
@
|
|
126
|
-
@
|
|
127
|
-
@
|
|
128
|
-
@
|
|
129
|
-
@
|
|
130
|
-
@
|
|
131
|
-
@
|
|
132
|
-
@
|
|
133
|
-
@
|
|
134
|
-
@
|
|
135
|
-
@
|
|
136
|
-
@
|
|
137
|
-
@
|
|
138
|
-
@
|
|
139
|
-
@
|
|
140
|
-
@
|
|
141
|
-
@
|
|
142
|
-
@
|
|
143
|
-
@
|
|
144
|
-
@
|
|
145
|
-
@
|
|
146
|
-
@
|
|
147
|
-
@
|
|
148
|
-
@
|
|
149
|
-
@
|
|
150
|
-
@
|
|
151
|
-
@
|
|
152
|
-
@
|
|
153
|
-
@
|
|
154
|
-
@
|
|
155
|
-
@
|
|
156
|
-
@
|
|
157
|
-
@
|
|
158
|
-
@
|
|
1
|
+
@red-0-logo: #fe4c4c;
|
|
2
|
+
@red-10: #ffebeb;
|
|
3
|
+
@red-20: #ffcbcb;
|
|
4
|
+
@red-30: #ffabab;
|
|
5
|
+
@red-40: #fe8c8c;
|
|
6
|
+
@red-light-basic-50: #fe6c6c;
|
|
7
|
+
@red-basic-60: #fe4c4c;
|
|
8
|
+
@red-70: #ed3f3f;
|
|
9
|
+
@red-80: #dd3333;
|
|
10
|
+
@red-90: #cc2626;
|
|
11
|
+
@red-100: #bb1919;
|
|
12
|
+
@red-110: #ab0d0d;
|
|
13
|
+
@red-promo-accent: #6c1d45;
|
|
14
|
+
@orange-0-logo: #fc7630;
|
|
15
|
+
@orange-10: #ffe0c3;
|
|
16
|
+
@orange-20: #ffd1a0;
|
|
17
|
+
@orange-30: #ffc17d;
|
|
18
|
+
@orange-40: #ffb259;
|
|
19
|
+
@orange-light-basic-50: #ffa236;
|
|
20
|
+
@orange-basic-60: #ff8227;
|
|
21
|
+
@orange-70: #ea7324;
|
|
22
|
+
@orange-80: #d46421;
|
|
23
|
+
@orange-90: #bf561e;
|
|
24
|
+
@orange-100: #a9471b;
|
|
25
|
+
@orange-110: #943817;
|
|
26
|
+
@orange-promo-accent: #661429;
|
|
27
|
+
@yellow-0-logo: #feca42;
|
|
28
|
+
@yellow-10: #ffeec2;
|
|
29
|
+
@yellow-20: #fde1a1;
|
|
30
|
+
@yellow-30: #fdd481;
|
|
31
|
+
@yellow-40: #fcc660;
|
|
32
|
+
@yellow-light-basic-50: #fcb73e;
|
|
33
|
+
@yellow-basic-60: #fda70c;
|
|
34
|
+
@yellow-70: #f69912;
|
|
35
|
+
@yellow-80: #ef8b17;
|
|
36
|
+
@yellow-90: #e77e1b;
|
|
37
|
+
@yellow-100: #de711e;
|
|
38
|
+
@yellow-110: #d46421;
|
|
39
|
+
@green-0-logo: #26ad50;
|
|
40
|
+
@green-10: #c7f9cc;
|
|
41
|
+
@green-20: #a7eeb3;
|
|
42
|
+
@green-30: #87e39a;
|
|
43
|
+
@green-40: #67d881;
|
|
44
|
+
@green-light-basic-50: #46cd68;
|
|
45
|
+
@green-basic-60: #26ad50;
|
|
46
|
+
@green-70: #23a14a;
|
|
47
|
+
@green-80: #209644;
|
|
48
|
+
@green-90: #1c8a3f;
|
|
49
|
+
@green-100: #197f39;
|
|
50
|
+
@green-110: #167333;
|
|
51
|
+
@green-green: #144942;
|
|
52
|
+
@green-mint-0-logo: #00bea2;
|
|
53
|
+
@green-mint-10: #c6f5ec;
|
|
54
|
+
@green-mint-20: #a8eee2;
|
|
55
|
+
@green-mint-30: #8be7d8;
|
|
56
|
+
@green-mint-40: #6ddfcd;
|
|
57
|
+
@green-mint-light-basic-50: #4fd8c3;
|
|
58
|
+
@green-mint-basic-60: #00c5a8;
|
|
59
|
+
@green-mint-70: #00b59a;
|
|
60
|
+
@green-mint-80: #00a58d;
|
|
61
|
+
@green-mint-90: #00957f;
|
|
62
|
+
@green-mint-100: #008571;
|
|
63
|
+
@green-mint-110: #007564;
|
|
64
|
+
@green-mint-promo-accent: #013f54;
|
|
65
|
+
@blue-0-logo: #2291ff;
|
|
66
|
+
@blue-10: #cdedff;
|
|
67
|
+
@blue-20: #aeddff;
|
|
68
|
+
@blue-30: #8fcdff;
|
|
69
|
+
@blue-40: #70bdff;
|
|
70
|
+
@blue-light-basic-50: #51adff;
|
|
71
|
+
@blue-basic-60: #2291ff;
|
|
72
|
+
@blue-70: #1f87ef;
|
|
73
|
+
@blue-80: #1c7edf;
|
|
74
|
+
@blue-90: #1874cf;
|
|
75
|
+
@blue-100: #156abe;
|
|
76
|
+
@blue-110: #1261ae;
|
|
77
|
+
@blue-promo-accent: #153177;
|
|
78
|
+
@blue-dark-0-logo: #366af3;
|
|
79
|
+
@blue-dark-10: #dde6ff;
|
|
80
|
+
@blue-dark-20: #becfff;
|
|
81
|
+
@blue-dark-30: #9fb8ff;
|
|
82
|
+
@blue-dark-40: #80a1ff;
|
|
83
|
+
@blue-dark-light-basic-50: #618aff;
|
|
84
|
+
@blue-dark-basic-60: #366af3;
|
|
85
|
+
@blue-dark-70: #3365e8;
|
|
86
|
+
@blue-dark-80: #3060dc;
|
|
87
|
+
@blue-dark-90: #2e5ad1;
|
|
88
|
+
@blue-dark-100: #2b55c5;
|
|
89
|
+
@blue-dark-110: #2850ba;
|
|
90
|
+
@blue-dark-promo-accent: #272567;
|
|
91
|
+
@purple-0-logo: #b750d1;
|
|
92
|
+
@purple-10: #f7d7ff;
|
|
93
|
+
@purple-20: #eabdf6;
|
|
94
|
+
@purple-30: #dea3ec;
|
|
95
|
+
@purple-40: #d189e3;
|
|
96
|
+
@purple-light-basic-50: #c56fda;
|
|
97
|
+
@purple-basic-60: #b750d1;
|
|
98
|
+
@purple-70: #aa49c3;
|
|
99
|
+
@purple-80: #9e43b5;
|
|
100
|
+
@purple-90: #913ca6;
|
|
101
|
+
@purple-100: #843698;
|
|
102
|
+
@purple-110: #782f8a;
|
|
103
|
+
@purple-promo-accent: #452a78;
|
|
104
|
+
@main-link-text-blue-90: #1874cf;
|
|
105
|
+
@main-link-shape-blue-60: #2291ff;
|
|
106
|
+
@main-link-background-blue-10: #cdedff;
|
|
107
|
+
@main-success-text-green-90: #1c8a3f;
|
|
108
|
+
@main-success-shape-green-60: #26ad50;
|
|
109
|
+
@main-success-background-green-10: #c7f9cc;
|
|
110
|
+
@main-warning-text-yellow-80: #ef8b17;
|
|
111
|
+
@main-warning-shape-yellow-50: #fcb73e;
|
|
112
|
+
@main-warning-background-yellow-10: #ffeec2;
|
|
113
|
+
@main-error-text-red-90: #cc2626;
|
|
114
|
+
@main-error-shape-red-60: #fe4c4c;
|
|
115
|
+
@main-error-background-red-10: #ffebeb;
|
|
116
|
+
@grayscale-text: #222222;
|
|
117
|
+
@grayscale-secondary-text: #757575;
|
|
118
|
+
@grayscale-disabled-text: #adadad;
|
|
119
|
+
@grayscale-dark-background: #d6d6d6;
|
|
120
|
+
@grayscale-background: #e6e6e6;
|
|
121
|
+
@grayscale-light-background: #f0f0f0;
|
|
122
|
+
@grayscale-87-text: rgba(0, 0, 0, 0.87);
|
|
123
|
+
@grayscale-54-secondary-text: rgba(0, 0, 0, 0.54);
|
|
124
|
+
@grayscale-32-disabled-text: rgba(0, 0, 0, 0.32);
|
|
125
|
+
@grayscale-16-dark-background: rgba(0, 0, 0, 0.16);
|
|
126
|
+
@grayscale-10-background: rgba(0, 0, 0, 0.1);
|
|
127
|
+
@grayscale-6-light-background: rgba(0, 0, 0, 0.06);
|
|
128
|
+
@grayscale-87-text-white: rgba(255, 255, 255, 0.87);
|
|
129
|
+
@grayscale-54-secondary-white: rgba(255, 255, 255, 0.54);
|
|
130
|
+
@grayscale-32-disabled-white: rgba(255, 255, 255, 0.32);
|
|
131
|
+
@grayscale-16-white: rgba(255, 255, 255, 0.16);
|
|
132
|
+
@grayscale-10-white: rgba(255, 255, 255, 0.1);
|
|
133
|
+
@grayscale-6-white: rgba(255, 255, 255, 0.06);
|
|
134
|
+
@grayscale-black-000: #000000;
|
|
135
|
+
@grayscale-white-fff: #ffffff;
|
|
136
|
+
@primary-default: #3d3d3d;
|
|
137
|
+
@primary-hover: #292929;
|
|
138
|
+
@primary-pressed: #141414;
|
|
139
|
+
@link-states-text-hover-blue-100: #156abe;
|
|
140
|
+
@link-states-text-pressed-blue-110: #1260ae;
|
|
141
|
+
@link-states-shape-hover-blue-70: #1f87ef;
|
|
142
|
+
@link-states-shape-pressed-blue-80: #1c7edf;
|
|
143
|
+
@success-states-text-hover-green-100: #197f39;
|
|
144
|
+
@success-states-text-pressed-green-110: #167333;
|
|
145
|
+
@success-states-shape-hover-green-70: #23a14a;
|
|
146
|
+
@success-states-shape-pressed-green-80: #209644;
|
|
147
|
+
@warning-states-text-hover-yellow-90: #e77e1b;
|
|
148
|
+
@warning-states-text-pressed-yellow-100: #de711e;
|
|
149
|
+
@warning-states-shape-hover-yellow-60: #fda70c;
|
|
150
|
+
@warning-states-shape-pressed-yellow-70: #f69912;
|
|
151
|
+
@error-states-text-hover-red-100: #bb1919;
|
|
152
|
+
@error-states-text-pressed-red-110: #ab0d0d;
|
|
153
|
+
@error-states-shape-hover-red-70: #ed3f3f;
|
|
154
|
+
@error-states-shape-pressed-red-80: #dd3333;
|
|
155
|
+
@shade-16-black: rgba(0, 0, 0, 0.16);
|
|
156
|
+
@shade-80-white: rgba(255, 255, 255, 0.8);
|
|
157
|
+
@elements-exceptions-hint: rgba(0, 0, 0, 0.76);
|
|
158
|
+
@elements-exceptions-toast-red: rgba(210, 15, 0, 0.76);
|
package/colors.scss
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
$red-0-logo: #fe4c4c;
|
|
2
|
+
$red-10: #ffebeb;
|
|
3
|
+
$red-20: #ffcbcb;
|
|
4
|
+
$red-30: #ffabab;
|
|
5
|
+
$red-40: #fe8c8c;
|
|
6
|
+
$red-light-basic-50: #fe6c6c;
|
|
7
|
+
$red-basic-60: #fe4c4c;
|
|
8
|
+
$red-70: #ed3f3f;
|
|
9
|
+
$red-80: #dd3333;
|
|
10
|
+
$red-90: #cc2626;
|
|
11
|
+
$red-100: #bb1919;
|
|
12
|
+
$red-110: #ab0d0d;
|
|
13
|
+
$red-promo-accent: #6c1d45;
|
|
14
|
+
$orange-0-logo: #fc7630;
|
|
15
|
+
$orange-10: #ffe0c3;
|
|
16
|
+
$orange-20: #ffd1a0;
|
|
17
|
+
$orange-30: #ffc17d;
|
|
18
|
+
$orange-40: #ffb259;
|
|
19
|
+
$orange-light-basic-50: #ffa236;
|
|
20
|
+
$orange-basic-60: #ff8227;
|
|
21
|
+
$orange-70: #ea7324;
|
|
22
|
+
$orange-80: #d46421;
|
|
23
|
+
$orange-90: #bf561e;
|
|
24
|
+
$orange-100: #a9471b;
|
|
25
|
+
$orange-110: #943817;
|
|
26
|
+
$orange-promo-accent: #661429;
|
|
27
|
+
$yellow-0-logo: #feca42;
|
|
28
|
+
$yellow-10: #ffeec2;
|
|
29
|
+
$yellow-20: #fde1a1;
|
|
30
|
+
$yellow-30: #fdd481;
|
|
31
|
+
$yellow-40: #fcc660;
|
|
32
|
+
$yellow-light-basic-50: #fcb73e;
|
|
33
|
+
$yellow-basic-60: #fda70c;
|
|
34
|
+
$yellow-70: #f69912;
|
|
35
|
+
$yellow-80: #ef8b17;
|
|
36
|
+
$yellow-90: #e77e1b;
|
|
37
|
+
$yellow-100: #de711e;
|
|
38
|
+
$yellow-110: #d46421;
|
|
39
|
+
$green-0-logo: #26ad50;
|
|
40
|
+
$green-10: #c7f9cc;
|
|
41
|
+
$green-20: #a7eeb3;
|
|
42
|
+
$green-30: #87e39a;
|
|
43
|
+
$green-40: #67d881;
|
|
44
|
+
$green-light-basic-50: #46cd68;
|
|
45
|
+
$green-basic-60: #26ad50;
|
|
46
|
+
$green-70: #23a14a;
|
|
47
|
+
$green-80: #209644;
|
|
48
|
+
$green-90: #1c8a3f;
|
|
49
|
+
$green-100: #197f39;
|
|
50
|
+
$green-110: #167333;
|
|
51
|
+
$green-green: #144942;
|
|
52
|
+
$green-mint-0-logo: #00bea2;
|
|
53
|
+
$green-mint-10: #c6f5ec;
|
|
54
|
+
$green-mint-20: #a8eee2;
|
|
55
|
+
$green-mint-30: #8be7d8;
|
|
56
|
+
$green-mint-40: #6ddfcd;
|
|
57
|
+
$green-mint-light-basic-50: #4fd8c3;
|
|
58
|
+
$green-mint-basic-60: #00c5a8;
|
|
59
|
+
$green-mint-70: #00b59a;
|
|
60
|
+
$green-mint-80: #00a58d;
|
|
61
|
+
$green-mint-90: #00957f;
|
|
62
|
+
$green-mint-100: #008571;
|
|
63
|
+
$green-mint-110: #007564;
|
|
64
|
+
$green-mint-promo-accent: #013f54;
|
|
65
|
+
$blue-0-logo: #2291ff;
|
|
66
|
+
$blue-10: #cdedff;
|
|
67
|
+
$blue-20: #aeddff;
|
|
68
|
+
$blue-30: #8fcdff;
|
|
69
|
+
$blue-40: #70bdff;
|
|
70
|
+
$blue-light-basic-50: #51adff;
|
|
71
|
+
$blue-basic-60: #2291ff;
|
|
72
|
+
$blue-70: #1f87ef;
|
|
73
|
+
$blue-80: #1c7edf;
|
|
74
|
+
$blue-90: #1874cf;
|
|
75
|
+
$blue-100: #156abe;
|
|
76
|
+
$blue-110: #1261ae;
|
|
77
|
+
$blue-promo-accent: #153177;
|
|
78
|
+
$blue-dark-0-logo: #366af3;
|
|
79
|
+
$blue-dark-10: #dde6ff;
|
|
80
|
+
$blue-dark-20: #becfff;
|
|
81
|
+
$blue-dark-30: #9fb8ff;
|
|
82
|
+
$blue-dark-40: #80a1ff;
|
|
83
|
+
$blue-dark-light-basic-50: #618aff;
|
|
84
|
+
$blue-dark-basic-60: #366af3;
|
|
85
|
+
$blue-dark-70: #3365e8;
|
|
86
|
+
$blue-dark-80: #3060dc;
|
|
87
|
+
$blue-dark-90: #2e5ad1;
|
|
88
|
+
$blue-dark-100: #2b55c5;
|
|
89
|
+
$blue-dark-110: #2850ba;
|
|
90
|
+
$blue-dark-promo-accent: #272567;
|
|
91
|
+
$purple-0-logo: #b750d1;
|
|
92
|
+
$purple-10: #f7d7ff;
|
|
93
|
+
$purple-20: #eabdf6;
|
|
94
|
+
$purple-30: #dea3ec;
|
|
95
|
+
$purple-40: #d189e3;
|
|
96
|
+
$purple-light-basic-50: #c56fda;
|
|
97
|
+
$purple-basic-60: #b750d1;
|
|
98
|
+
$purple-70: #aa49c3;
|
|
99
|
+
$purple-80: #9e43b5;
|
|
100
|
+
$purple-90: #913ca6;
|
|
101
|
+
$purple-100: #843698;
|
|
102
|
+
$purple-110: #782f8a;
|
|
103
|
+
$purple-promo-accent: #452a78;
|
|
104
|
+
$main-link-text-blue-90: #1874cf;
|
|
105
|
+
$main-link-shape-blue-60: #2291ff;
|
|
106
|
+
$main-link-background-blue-10: #cdedff;
|
|
107
|
+
$main-success-text-green-90: #1c8a3f;
|
|
108
|
+
$main-success-shape-green-60: #26ad50;
|
|
109
|
+
$main-success-background-green-10: #c7f9cc;
|
|
110
|
+
$main-warning-text-yellow-80: #ef8b17;
|
|
111
|
+
$main-warning-shape-yellow-50: #fcb73e;
|
|
112
|
+
$main-warning-background-yellow-10: #ffeec2;
|
|
113
|
+
$main-error-text-red-90: #cc2626;
|
|
114
|
+
$main-error-shape-red-60: #fe4c4c;
|
|
115
|
+
$main-error-background-red-10: #ffebeb;
|
|
116
|
+
$grayscale-text: #222222;
|
|
117
|
+
$grayscale-secondary-text: #757575;
|
|
118
|
+
$grayscale-disabled-text: #adadad;
|
|
119
|
+
$grayscale-dark-background: #d6d6d6;
|
|
120
|
+
$grayscale-background: #e6e6e6;
|
|
121
|
+
$grayscale-light-background: #f0f0f0;
|
|
122
|
+
$grayscale-87-text: rgba(0, 0, 0, 0.87);
|
|
123
|
+
$grayscale-54-secondary-text: rgba(0, 0, 0, 0.54);
|
|
124
|
+
$grayscale-32-disabled-text: rgba(0, 0, 0, 0.32);
|
|
125
|
+
$grayscale-16-dark-background: rgba(0, 0, 0, 0.16);
|
|
126
|
+
$grayscale-10-background: rgba(0, 0, 0, 0.1);
|
|
127
|
+
$grayscale-6-light-background: rgba(0, 0, 0, 0.06);
|
|
128
|
+
$grayscale-87-text-white: rgba(255, 255, 255, 0.87);
|
|
129
|
+
$grayscale-54-secondary-white: rgba(255, 255, 255, 0.54);
|
|
130
|
+
$grayscale-32-disabled-white: rgba(255, 255, 255, 0.32);
|
|
131
|
+
$grayscale-16-white: rgba(255, 255, 255, 0.16);
|
|
132
|
+
$grayscale-10-white: rgba(255, 255, 255, 0.1);
|
|
133
|
+
$grayscale-6-white: rgba(255, 255, 255, 0.06);
|
|
134
|
+
$grayscale-black-000: #000000;
|
|
135
|
+
$grayscale-white-fff: #ffffff;
|
|
136
|
+
$primary-default: #3d3d3d;
|
|
137
|
+
$primary-hover: #292929;
|
|
138
|
+
$primary-pressed: #141414;
|
|
139
|
+
$link-states-text-hover-blue-100: #156abe;
|
|
140
|
+
$link-states-text-pressed-blue-110: #1260ae;
|
|
141
|
+
$link-states-shape-hover-blue-70: #1f87ef;
|
|
142
|
+
$link-states-shape-pressed-blue-80: #1c7edf;
|
|
143
|
+
$success-states-text-hover-green-100: #197f39;
|
|
144
|
+
$success-states-text-pressed-green-110: #167333;
|
|
145
|
+
$success-states-shape-hover-green-70: #23a14a;
|
|
146
|
+
$success-states-shape-pressed-green-80: #209644;
|
|
147
|
+
$warning-states-text-hover-yellow-90: #e77e1b;
|
|
148
|
+
$warning-states-text-pressed-yellow-100: #de711e;
|
|
149
|
+
$warning-states-shape-hover-yellow-60: #fda70c;
|
|
150
|
+
$warning-states-shape-pressed-yellow-70: #f69912;
|
|
151
|
+
$error-states-text-hover-red-100: #bb1919;
|
|
152
|
+
$error-states-text-pressed-red-110: #ab0d0d;
|
|
153
|
+
$error-states-shape-hover-red-70: #ed3f3f;
|
|
154
|
+
$error-states-shape-pressed-red-80: #dd3333;
|
|
155
|
+
$shade-16-black: rgba(0, 0, 0, 0.16);
|
|
156
|
+
$shade-80-white: rgba(255, 255, 255, 0.8);
|
|
157
|
+
$elements-exceptions-hint: rgba(0, 0, 0, 0.76);
|
|
158
|
+
$elements-exceptions-toast-red: rgba(210, 15, 0, 0.76);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skbkontur/colors",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@babel/preset-typescript": "7.22.5",
|
|
26
26
|
"@babel/register": "7.22.5",
|
|
27
|
+
"@skbkontur/react-ui": "4.25.2",
|
|
27
28
|
"rimraf": "^4.1.2"
|
|
28
29
|
}
|
|
29
30
|
}
|