@atls-ui/theme 0.0.2
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 +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/tokens/animations.d.ts +16 -0
- package/dist/tokens/animations.js +15 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/index.js +5 -0
- package/dist/tokens/opacities.d.ts +6 -0
- package/dist/tokens/opacities.js +5 -0
- package/dist/tokens/radii.d.ts +45 -0
- package/dist/tokens/radii.js +44 -0
- package/dist/tokens/space.d.ts +16 -0
- package/dist/tokens/space.js +15 -0
- package/dist/tokens/z-index.d.ts +7 -0
- package/dist/tokens/z-index.js +6 -0
- package/package.json +48 -0
package/CHANGELOG.md
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tokens/index.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tokens/index.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const animations: {
|
|
2
|
+
readonly duration: {
|
|
3
|
+
readonly instant: "0ms";
|
|
4
|
+
readonly fast: "150ms";
|
|
5
|
+
readonly normal: "200ms";
|
|
6
|
+
readonly slow: "300ms";
|
|
7
|
+
};
|
|
8
|
+
readonly easing: {
|
|
9
|
+
readonly linear: "linear";
|
|
10
|
+
readonly ease: "ease";
|
|
11
|
+
readonly easeIn: "ease-in";
|
|
12
|
+
readonly easeOut: "ease-out";
|
|
13
|
+
readonly easeInOut: "ease-in-out";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type AnimationsTokens = typeof animations;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const animations = {
|
|
2
|
+
duration: {
|
|
3
|
+
instant: '0ms',
|
|
4
|
+
fast: '150ms',
|
|
5
|
+
normal: '200ms',
|
|
6
|
+
slow: '300ms',
|
|
7
|
+
},
|
|
8
|
+
easing: {
|
|
9
|
+
linear: 'linear',
|
|
10
|
+
ease: 'ease',
|
|
11
|
+
easeIn: 'ease-in',
|
|
12
|
+
easeOut: 'ease-out',
|
|
13
|
+
easeInOut: 'ease-in-out',
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const radii: {
|
|
2
|
+
readonly none: "none";
|
|
3
|
+
readonly full: "100%";
|
|
4
|
+
readonly f1: "1px";
|
|
5
|
+
readonly f2: "2px";
|
|
6
|
+
readonly f3: "3px";
|
|
7
|
+
readonly f4: "4px";
|
|
8
|
+
readonly f5: "5px";
|
|
9
|
+
readonly f6: "6px";
|
|
10
|
+
readonly f7: "7px";
|
|
11
|
+
readonly f8: "8px";
|
|
12
|
+
readonly f10: "10px";
|
|
13
|
+
readonly f11: "11px";
|
|
14
|
+
readonly f12: "12px";
|
|
15
|
+
readonly f14: "14px";
|
|
16
|
+
readonly f15: "15px";
|
|
17
|
+
readonly f16: "16px";
|
|
18
|
+
readonly f18: "18px";
|
|
19
|
+
readonly f19: "19px";
|
|
20
|
+
readonly f20: "20px";
|
|
21
|
+
readonly f22: "22px";
|
|
22
|
+
readonly f24: "24px";
|
|
23
|
+
readonly f27: "27px";
|
|
24
|
+
readonly f29: "29px";
|
|
25
|
+
readonly f32: "32px";
|
|
26
|
+
readonly f34: "34px";
|
|
27
|
+
readonly f40: "40px";
|
|
28
|
+
readonly f50: "50px";
|
|
29
|
+
readonly f60: "60px";
|
|
30
|
+
readonly f80: "80px";
|
|
31
|
+
readonly f100: "100px";
|
|
32
|
+
readonly f125: "125px";
|
|
33
|
+
readonly f140: "140px";
|
|
34
|
+
readonly f160: "160px";
|
|
35
|
+
readonly f178: "178px";
|
|
36
|
+
readonly f222: "222px";
|
|
37
|
+
readonly f234: "234px";
|
|
38
|
+
readonly f240: "240px";
|
|
39
|
+
readonly f278: "278px";
|
|
40
|
+
readonly f315: "315px";
|
|
41
|
+
readonly f500: "500px";
|
|
42
|
+
readonly f600: "600px";
|
|
43
|
+
readonly f9999: "9999px";
|
|
44
|
+
};
|
|
45
|
+
export type RadiiTokens = typeof radii;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const radii = {
|
|
2
|
+
none: 'none',
|
|
3
|
+
full: '100%',
|
|
4
|
+
f1: '1px',
|
|
5
|
+
f2: '2px',
|
|
6
|
+
f3: '3px',
|
|
7
|
+
f4: '4px',
|
|
8
|
+
f5: '5px',
|
|
9
|
+
f6: '6px',
|
|
10
|
+
f7: '7px',
|
|
11
|
+
f8: '8px',
|
|
12
|
+
f10: '10px',
|
|
13
|
+
f11: '11px',
|
|
14
|
+
f12: '12px',
|
|
15
|
+
f14: '14px',
|
|
16
|
+
f15: '15px',
|
|
17
|
+
f16: '16px',
|
|
18
|
+
f18: '18px',
|
|
19
|
+
f19: '19px',
|
|
20
|
+
f20: '20px',
|
|
21
|
+
f22: '22px',
|
|
22
|
+
f24: '24px',
|
|
23
|
+
f27: '27px',
|
|
24
|
+
f29: '29px',
|
|
25
|
+
f32: '32px',
|
|
26
|
+
f34: '34px',
|
|
27
|
+
f40: '40px',
|
|
28
|
+
f50: '50px',
|
|
29
|
+
f60: '60px',
|
|
30
|
+
f80: '80px',
|
|
31
|
+
f100: '100px',
|
|
32
|
+
f125: '125px',
|
|
33
|
+
f140: '140px',
|
|
34
|
+
f160: '160px',
|
|
35
|
+
f178: '178px',
|
|
36
|
+
f222: '222px',
|
|
37
|
+
f234: '234px',
|
|
38
|
+
f240: '240px',
|
|
39
|
+
f278: '278px',
|
|
40
|
+
f315: '315px',
|
|
41
|
+
f500: '500px',
|
|
42
|
+
f600: '600px',
|
|
43
|
+
f9999: '9999px',
|
|
44
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const space: {
|
|
2
|
+
readonly zero: "0";
|
|
3
|
+
readonly g1: "1px";
|
|
4
|
+
readonly g4: "4px";
|
|
5
|
+
readonly g6: "6px";
|
|
6
|
+
readonly g8: "8px";
|
|
7
|
+
readonly g10: "10px";
|
|
8
|
+
readonly g12: "12px";
|
|
9
|
+
readonly g14: "14px";
|
|
10
|
+
readonly g16: "16px";
|
|
11
|
+
readonly g17: "17px";
|
|
12
|
+
readonly g22: "22px";
|
|
13
|
+
readonly g24: "24px";
|
|
14
|
+
readonly g32: "32px";
|
|
15
|
+
};
|
|
16
|
+
export type SpaceTokens = typeof space;
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atls-ui/theme",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"license": "BSD-3-Clause",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./package.json": "./package.json",
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./tokens": {
|
|
14
|
+
"import": "./dist/tokens/index.js",
|
|
15
|
+
"types": "./dist/tokens/index.d.ts",
|
|
16
|
+
"default": "./dist/tokens/index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"main": "dist/index.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "yarn library build",
|
|
25
|
+
"prepack": "yarn run build",
|
|
26
|
+
"postpack": "rm -rf dist"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"exports": {
|
|
31
|
+
"./package.json": "./package.json",
|
|
32
|
+
".": {
|
|
33
|
+
"import": "./dist/index.js",
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"default": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./tokens": {
|
|
38
|
+
"import": "./dist/tokens/index.js",
|
|
39
|
+
"types": "./dist/tokens/index.d.ts",
|
|
40
|
+
"default": "./dist/tokens/index.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"main": "dist/index.js",
|
|
44
|
+
"types": "dist/index.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"typecheckSkipLibCheck": true,
|
|
47
|
+
"types": "dist/index.d.ts"
|
|
48
|
+
}
|