@atls-ui/theme 0.7.2 → 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/dist/tokens/animations.d.ts +12 -4
- package/dist/tokens/animations.js +12 -4
- package/dist/tokens/borders/constants.d.ts +3 -0
- package/dist/tokens/borders/constants.js +3 -0
- package/dist/tokens/colors/dark.js +10 -1
- package/dist/tokens/colors/interfaces.d.ts +10 -0
- package/dist/tokens/colors/light.js +9 -0
- package/dist/tokens/elevation/blurs.d.ts +2 -0
- package/dist/tokens/elevation/blurs.js +2 -0
- package/dist/tokens/elevation/spreads.d.ts +2 -0
- package/dist/tokens/elevation/spreads.js +2 -0
- package/dist/tokens/iconSizes.d.ts +10 -0
- package/dist/tokens/iconSizes.js +9 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.js +1 -0
- package/dist/tokens/layout/spaces.d.ts +1 -0
- package/dist/tokens/layout/spaces.js +1 -0
- package/dist/tokens/typography/fontSizes.d.ts +3 -0
- package/dist/tokens/typography/fontSizes.js +3 -0
- package/dist/tokens/typography/index.d.ts +2 -0
- package/dist/tokens/typography/index.js +2 -0
- package/dist/tokens/typography/lineHeights.d.ts +3 -0
- package/dist/tokens/typography/lineHeights.js +3 -0
- package/package.json +1 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
export declare const animations: {
|
|
2
2
|
readonly duration: {
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
3
|
+
readonly none: "0ms";
|
|
4
|
+
readonly xs: "80ms";
|
|
5
|
+
readonly sm: "120ms";
|
|
6
|
+
readonly md: "200ms";
|
|
7
|
+
readonly lg: "300ms";
|
|
8
|
+
};
|
|
9
|
+
readonly loopDuration: {
|
|
10
|
+
readonly sm: 1500;
|
|
11
|
+
readonly md: 5000;
|
|
12
|
+
};
|
|
13
|
+
readonly curves: {
|
|
14
|
+
readonly smooth: readonly [0.45, 0, 0.55, 1];
|
|
7
15
|
};
|
|
8
16
|
readonly easing: {
|
|
9
17
|
readonly linear: "linear";
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
export const animations = {
|
|
2
2
|
duration: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
none: '0ms',
|
|
4
|
+
xs: '80ms',
|
|
5
|
+
sm: '120ms',
|
|
6
|
+
md: '200ms',
|
|
7
|
+
lg: '300ms',
|
|
8
|
+
},
|
|
9
|
+
loopDuration: {
|
|
10
|
+
sm: 1500,
|
|
11
|
+
md: 5000,
|
|
12
|
+
},
|
|
13
|
+
curves: {
|
|
14
|
+
smooth: [0.45, 0, 0.55, 1],
|
|
7
15
|
},
|
|
8
16
|
easing: {
|
|
9
17
|
linear: 'linear',
|
|
@@ -7,10 +7,11 @@ export const darkColors = {
|
|
|
7
7
|
subtle: '#5F8FFF4D',
|
|
8
8
|
},
|
|
9
9
|
surface: {
|
|
10
|
+
backdrop: '#00000080',
|
|
10
11
|
base: '#111111',
|
|
11
12
|
subtle: '#171717',
|
|
12
13
|
muted: '#1F1F1F',
|
|
13
|
-
soft: '#
|
|
14
|
+
soft: '#1A1A1A',
|
|
14
15
|
inverse: '#F8F9FF',
|
|
15
16
|
},
|
|
16
17
|
text: {
|
|
@@ -19,6 +20,9 @@ export const darkColors = {
|
|
|
19
20
|
tertiary: '#9AA3B2',
|
|
20
21
|
muted: '#6B7485',
|
|
21
22
|
inverse: '#121417',
|
|
23
|
+
error: '#FF5C5C',
|
|
24
|
+
placeholder: '#9AA3B2',
|
|
25
|
+
placeholderHover: '#B7BEC8',
|
|
22
26
|
},
|
|
23
27
|
status: {
|
|
24
28
|
success: '#4AD27F',
|
|
@@ -32,4 +36,9 @@ export const darkColors = {
|
|
|
32
36
|
md: '#00000073',
|
|
33
37
|
lg: '#00000099',
|
|
34
38
|
},
|
|
39
|
+
main: {
|
|
40
|
+
black: '#000000',
|
|
41
|
+
transparent: 'transparent',
|
|
42
|
+
white: '#FFFFFF',
|
|
43
|
+
},
|
|
35
44
|
};
|
|
@@ -4,6 +4,12 @@ export interface Colors {
|
|
|
4
4
|
text: TextColors;
|
|
5
5
|
status: StatusColors;
|
|
6
6
|
elevation: ElevationColors;
|
|
7
|
+
main: MainColors;
|
|
8
|
+
}
|
|
9
|
+
export interface MainColors {
|
|
10
|
+
black: string;
|
|
11
|
+
transparent: string;
|
|
12
|
+
white: string;
|
|
7
13
|
}
|
|
8
14
|
export interface ActionColors {
|
|
9
15
|
base: string;
|
|
@@ -13,6 +19,7 @@ export interface ActionColors {
|
|
|
13
19
|
subtle: string;
|
|
14
20
|
}
|
|
15
21
|
export interface SurfaceColors {
|
|
22
|
+
backdrop: string;
|
|
16
23
|
base: string;
|
|
17
24
|
subtle: string;
|
|
18
25
|
muted: string;
|
|
@@ -25,6 +32,9 @@ export interface TextColors {
|
|
|
25
32
|
tertiary: string;
|
|
26
33
|
muted: string;
|
|
27
34
|
inverse: string;
|
|
35
|
+
error: string;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
placeholderHover: string;
|
|
28
38
|
}
|
|
29
39
|
export interface StatusColors {
|
|
30
40
|
success: string;
|
|
@@ -7,6 +7,7 @@ export const lightColors = {
|
|
|
7
7
|
subtle: '#1E56C740',
|
|
8
8
|
},
|
|
9
9
|
surface: {
|
|
10
|
+
backdrop: '#00000080',
|
|
10
11
|
base: '#F8F9FF',
|
|
11
12
|
subtle: '#EFF1FF',
|
|
12
13
|
muted: '#D4D8F0',
|
|
@@ -19,6 +20,9 @@ export const lightColors = {
|
|
|
19
20
|
tertiary: '#6B7DB3',
|
|
20
21
|
muted: '#9BA8C8',
|
|
21
22
|
inverse: '#FFFFFF',
|
|
23
|
+
error: '#C93636',
|
|
24
|
+
placeholder: '#575757',
|
|
25
|
+
placeholderHover: '#1D1D1D',
|
|
22
26
|
},
|
|
23
27
|
status: {
|
|
24
28
|
success: '#10B981',
|
|
@@ -32,4 +36,9 @@ export const lightColors = {
|
|
|
32
36
|
md: '#0000001F',
|
|
33
37
|
lg: '#0000004D',
|
|
34
38
|
},
|
|
39
|
+
main: {
|
|
40
|
+
black: '#000000',
|
|
41
|
+
transparent: 'transparent',
|
|
42
|
+
white: '#FFFFFF',
|
|
43
|
+
},
|
|
35
44
|
};
|
package/dist/tokens/index.d.ts
CHANGED
package/dist/tokens/index.js
CHANGED