tfy-web-components 0.0.1 → 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/dist/animation.d.ts +6 -0
- package/dist/backgroundColor.d.ts +5 -0
- package/dist/backgroundImage.d.ts +9 -0
- package/dist/borderWidth.d.ts +6 -0
- package/dist/colors.d.ts +61 -0
- package/dist/components/theme/animation.d.ts +4 -0
- package/dist/components/theme/animation.es.js +8 -0
- package/dist/components/theme/animation.es.js.map +1 -0
- package/dist/components/theme/backgroundColor.d.ts +3 -0
- package/dist/components/theme/backgroundColor.es.js +7 -0
- package/dist/components/theme/backgroundColor.es.js.map +1 -0
- package/dist/components/theme/backgroundImage.d.ts +7 -0
- package/dist/components/theme/backgroundImage.es.js +19 -0
- package/dist/components/theme/backgroundImage.es.js.map +1 -0
- package/dist/components/theme/borderWidth.d.ts +4 -0
- package/dist/components/theme/borderWidth.es.js +8 -0
- package/dist/components/theme/borderWidth.es.js.map +1 -0
- package/dist/components/theme/colors.d.ts +59 -0
- package/dist/components/theme/colors.es.js +63 -0
- package/dist/components/theme/colors.es.js.map +1 -0
- package/dist/components/theme/cursor.d.ts +3 -0
- package/dist/components/theme/cursor.es.js +7 -0
- package/dist/components/theme/cursor.es.js.map +1 -0
- package/dist/components/theme/dropShadow.d.ts +3 -0
- package/dist/components/theme/dropShadow.es.js +7 -0
- package/dist/components/theme/dropShadow.es.js.map +1 -0
- package/dist/components/theme/flexGrow.d.ts +3 -0
- package/dist/components/theme/flexGrow.es.js +7 -0
- package/dist/components/theme/flexGrow.es.js.map +1 -0
- package/dist/components/theme/fontSize.d.ts +6 -0
- package/dist/components/theme/fontSize.es.js +10 -0
- package/dist/components/theme/fontSize.es.js.map +1 -0
- package/dist/components/theme/height.d.ts +6 -0
- package/dist/components/theme/height.es.js +10 -0
- package/dist/components/theme/height.es.js.map +1 -0
- package/dist/components/theme/index.d.ts +136 -0
- package/dist/components/theme/index.es.js +37 -0
- package/dist/components/theme/index.es.js.map +1 -0
- package/dist/components/theme/keyframes.d.ts +18 -0
- package/dist/components/theme/keyframes.es.js +14 -0
- package/dist/components/theme/keyframes.es.js.map +1 -0
- package/dist/components/theme/maxHeight.d.ts +4 -0
- package/dist/components/theme/maxHeight.es.js +8 -0
- package/dist/components/theme/maxHeight.es.js.map +1 -0
- package/dist/components/theme/screens.d.ts +6 -0
- package/dist/components/theme/screens.es.js +10 -0
- package/dist/components/theme/screens.es.js.map +1 -0
- package/dist/components/theme/transitionProperty.d.ts +4 -0
- package/dist/components/theme/transitionProperty.es.js +8 -0
- package/dist/components/theme/transitionProperty.es.js.map +1 -0
- package/dist/components/theme/utils.d.ts +135 -0
- package/dist/components/theme/utils.es.js +763 -0
- package/dist/components/theme/utils.es.js.map +1 -0
- package/dist/components/theme/zIndex.d.ts +3 -0
- package/dist/components/theme/zIndex.es.js +7 -0
- package/dist/components/theme/zIndex.es.js.map +1 -0
- package/dist/cursor.d.ts +5 -0
- package/dist/dropShadow.d.ts +5 -0
- package/dist/flexGrow.d.ts +5 -0
- package/dist/fontSize.d.ts +8 -0
- package/dist/height.d.ts +8 -0
- package/dist/keyframes.d.ts +20 -0
- package/dist/maxHeight.d.ts +6 -0
- package/dist/screens.d.ts +8 -0
- package/dist/transitionProperty.d.ts +6 -0
- package/dist/utils.d.ts +137 -0
- package/dist/zIndex.d.ts +5 -0
- package/package.json +10 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const backgroundImage: (theme: (path: string) => string | undefined) => {
|
|
2
|
+
'blue-red-gradient': string;
|
|
3
|
+
'white-indigo-gradient': string;
|
|
4
|
+
'chat-template': string;
|
|
5
|
+
'blue-linear-gradient': string;
|
|
6
|
+
'new-deployment-gradient': string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { }
|
package/dist/colors.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
gray: {
|
|
3
|
+
16: string;
|
|
4
|
+
25: string;
|
|
5
|
+
50: string;
|
|
6
|
+
100: string;
|
|
7
|
+
150: string;
|
|
8
|
+
200: string;
|
|
9
|
+
225: string;
|
|
10
|
+
250: string;
|
|
11
|
+
300: string;
|
|
12
|
+
350: string;
|
|
13
|
+
400: string;
|
|
14
|
+
450: string;
|
|
15
|
+
500: string;
|
|
16
|
+
550: string;
|
|
17
|
+
600: string;
|
|
18
|
+
650: string;
|
|
19
|
+
700: string;
|
|
20
|
+
750: string;
|
|
21
|
+
800: string;
|
|
22
|
+
850: string;
|
|
23
|
+
900: string;
|
|
24
|
+
950: string;
|
|
25
|
+
1000: string;
|
|
26
|
+
disabled: string;
|
|
27
|
+
};
|
|
28
|
+
indigo: {
|
|
29
|
+
500: string;
|
|
30
|
+
};
|
|
31
|
+
yellow: {
|
|
32
|
+
'50light': string;
|
|
33
|
+
100: string;
|
|
34
|
+
'200dark': string;
|
|
35
|
+
500: string;
|
|
36
|
+
};
|
|
37
|
+
skyblue: string;
|
|
38
|
+
blue: {
|
|
39
|
+
10: string;
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
purple: string;
|
|
43
|
+
'purple-2': string;
|
|
44
|
+
'purple-3': string;
|
|
45
|
+
100: string;
|
|
46
|
+
200: string;
|
|
47
|
+
500: string;
|
|
48
|
+
'500original': string;
|
|
49
|
+
650: string;
|
|
50
|
+
600: string;
|
|
51
|
+
dark: string;
|
|
52
|
+
};
|
|
53
|
+
green: {
|
|
54
|
+
600: string;
|
|
55
|
+
};
|
|
56
|
+
violet: {
|
|
57
|
+
500: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation.es.js","sources":["../../../src/components/theme/animation.ts"],"sourcesContent":["export const animation = {\n fadeOut: 'fadeOut 250ms ease-in-out',\n fadeIn: 'fadeIn 250ms ease-in-out',\n}\n"],"names":[],"mappings":"AAAO,MAAM,YAAY;AAAA,EACvB,SAAS;AAAA,EACT,QAAQ;AACV;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backgroundColor.es.js","sources":["../../../src/components/theme/backgroundColor.ts"],"sourcesContent":["export const backgroundColor = (theme: (path: string) => string | undefined) => ({\n app: theme('colors.gray.50'),\n})\n"],"names":[],"mappings":"AAAa,MAAA,kBAAkB,CAAC,WAAiD;AAAA,EAC/E,KAAK,MAAM,gBAAgB;AAC7B;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const backgroundImage = (theme) => ({
|
|
2
|
+
"blue-red-gradient": `linear-gradient(to right, ${theme("colors.violet.500")}, ${theme("colors.rose.400")}, ${theme(
|
|
3
|
+
"colors.blue.600"
|
|
4
|
+
)})`,
|
|
5
|
+
"white-indigo-gradient": `linear-gradient(186deg, ${theme("colors.white / 10%")} 35.98%, ${theme(
|
|
6
|
+
"colors.indigo.500 / 19%"
|
|
7
|
+
)} 96.63%)`,
|
|
8
|
+
"chat-template": `linear-gradient(179deg, ${theme("colors.white / 10%")} 45.13%, ${theme("colors.blue.10")} 99.12%)`,
|
|
9
|
+
"blue-linear-gradient": `linear-gradient(0deg, ${theme("colors.blue.purple")} 40.19%, ${theme(
|
|
10
|
+
"colors.blue.650"
|
|
11
|
+
)} 111.1%)`,
|
|
12
|
+
"new-deployment-gradient": `linear-gradient(180deg, ${theme("colors.white")} 30.17%, ${theme(
|
|
13
|
+
"colors.gray.100"
|
|
14
|
+
)} 100%)`
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
backgroundImage
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=backgroundImage.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backgroundImage.es.js","sources":["../../../src/components/theme/backgroundImage.ts"],"sourcesContent":["export const backgroundImage = (theme: (path: string) => string | undefined) => ({\n 'blue-red-gradient': `linear-gradient(to right, ${theme('colors.violet.500')}, ${theme('colors.rose.400')}, ${theme(\n 'colors.blue.600',\n )})`,\n 'white-indigo-gradient': `linear-gradient(186deg, ${theme('colors.white / 10%')} 35.98%, ${theme(\n 'colors.indigo.500 / 19%',\n )} 96.63%)`,\n 'chat-template': `linear-gradient(179deg, ${theme('colors.white / 10%')} 45.13%, ${theme('colors.blue.10')} 99.12%)`,\n 'blue-linear-gradient': `linear-gradient(0deg, ${theme('colors.blue.purple')} 40.19%, ${theme(\n 'colors.blue.650',\n )} 111.1%)`,\n 'new-deployment-gradient': `linear-gradient(180deg, ${theme('colors.white')} 30.17%, ${theme(\n 'colors.gray.100',\n )} 100%)`,\n})\n"],"names":[],"mappings":"AAAa,MAAA,kBAAkB,CAAC,WAAiD;AAAA,EAC/E,qBAAqB,6BAA6B,MAAM,mBAAmB,CAAC,KAAK,MAAM,iBAAiB,CAAC,KAAK;AAAA,IAC5G;AAAA,EACD,CAAA;AAAA,EACD,yBAAyB,2BAA2B,MAAM,oBAAoB,CAAC,YAAY;AAAA,IACzF;AAAA,EACD,CAAA;AAAA,EACD,iBAAiB,2BAA2B,MAAM,oBAAoB,CAAC,YAAY,MAAM,gBAAgB,CAAC;AAAA,EAC1G,wBAAwB,yBAAyB,MAAM,oBAAoB,CAAC,YAAY;AAAA,IACtF;AAAA,EACD,CAAA;AAAA,EACD,2BAA2B,2BAA2B,MAAM,cAAc,CAAC,YAAY;AAAA,IACrF;AAAA,EACD,CAAA;AACH;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderWidth.es.js","sources":["../../../src/components/theme/borderWidth.ts"],"sourcesContent":["export const borderWidth = {\n DEFAULT: '0.0625rem',\n 1: '0.0625rem',\n}\n"],"names":[],"mappings":"AAAO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,GAAG;AACL;"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
gray: {
|
|
3
|
+
16: string;
|
|
4
|
+
25: string;
|
|
5
|
+
50: string;
|
|
6
|
+
100: string;
|
|
7
|
+
150: string;
|
|
8
|
+
200: string;
|
|
9
|
+
225: string;
|
|
10
|
+
250: string;
|
|
11
|
+
300: string;
|
|
12
|
+
350: string;
|
|
13
|
+
400: string;
|
|
14
|
+
450: string;
|
|
15
|
+
500: string;
|
|
16
|
+
550: string;
|
|
17
|
+
600: string;
|
|
18
|
+
650: string;
|
|
19
|
+
700: string;
|
|
20
|
+
750: string;
|
|
21
|
+
800: string;
|
|
22
|
+
850: string;
|
|
23
|
+
900: string;
|
|
24
|
+
950: string;
|
|
25
|
+
1000: string;
|
|
26
|
+
disabled: string;
|
|
27
|
+
};
|
|
28
|
+
indigo: {
|
|
29
|
+
500: string;
|
|
30
|
+
};
|
|
31
|
+
yellow: {
|
|
32
|
+
'50light': string;
|
|
33
|
+
100: string;
|
|
34
|
+
'200dark': string;
|
|
35
|
+
500: string;
|
|
36
|
+
};
|
|
37
|
+
skyblue: string;
|
|
38
|
+
blue: {
|
|
39
|
+
10: string;
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
purple: string;
|
|
43
|
+
'purple-2': string;
|
|
44
|
+
'purple-3': string;
|
|
45
|
+
100: string;
|
|
46
|
+
200: string;
|
|
47
|
+
500: string;
|
|
48
|
+
'500original': string;
|
|
49
|
+
650: string;
|
|
50
|
+
600: string;
|
|
51
|
+
dark: string;
|
|
52
|
+
};
|
|
53
|
+
green: {
|
|
54
|
+
600: string;
|
|
55
|
+
};
|
|
56
|
+
violet: {
|
|
57
|
+
500: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const colors = {
|
|
2
|
+
gray: {
|
|
3
|
+
16: "#162236",
|
|
4
|
+
25: "#F5FAFF",
|
|
5
|
+
50: "#fafcff",
|
|
6
|
+
100: "#F0F7FF",
|
|
7
|
+
150: "#E8F2FE",
|
|
8
|
+
200: "#E0ECFD",
|
|
9
|
+
225: "#CAD4E3",
|
|
10
|
+
250: "#CEE0F8",
|
|
11
|
+
300: "#A8C3E8",
|
|
12
|
+
350: "#95B2DD",
|
|
13
|
+
400: "#82A0CE",
|
|
14
|
+
450: "#6F8EBD",
|
|
15
|
+
500: "#5E7BAA",
|
|
16
|
+
550: "#4D6896",
|
|
17
|
+
600: "#3E5680",
|
|
18
|
+
650: "#31456A",
|
|
19
|
+
700: "#263755",
|
|
20
|
+
750: "#1C2A42",
|
|
21
|
+
800: "#0E1623",
|
|
22
|
+
850: "#090F17",
|
|
23
|
+
900: "#05090E",
|
|
24
|
+
950: "#030407",
|
|
25
|
+
1e3: "#010202",
|
|
26
|
+
disabled: "#f2f2f2"
|
|
27
|
+
},
|
|
28
|
+
indigo: {
|
|
29
|
+
500: "#6366F1"
|
|
30
|
+
},
|
|
31
|
+
yellow: {
|
|
32
|
+
"50light": "#FFFBEB",
|
|
33
|
+
100: "#FEF3C7",
|
|
34
|
+
"200dark": "#FDE68A",
|
|
35
|
+
500: "#F59E0B"
|
|
36
|
+
},
|
|
37
|
+
skyblue: "#F5FAFF",
|
|
38
|
+
blue: {
|
|
39
|
+
10: "#F5F9FF",
|
|
40
|
+
primary: "#481DF1",
|
|
41
|
+
secondary: "#93C5FD",
|
|
42
|
+
purple: "#5501E1",
|
|
43
|
+
"purple-2": "#0047ff",
|
|
44
|
+
"purple-3": "#2900CE",
|
|
45
|
+
100: "#e0e7ff",
|
|
46
|
+
200: "#818cf8",
|
|
47
|
+
500: "#BBD2F1",
|
|
48
|
+
"500original": "#3b82f6",
|
|
49
|
+
650: "#2F5FFF",
|
|
50
|
+
600: "#2563EB",
|
|
51
|
+
dark: "#003466"
|
|
52
|
+
},
|
|
53
|
+
green: {
|
|
54
|
+
600: "#059669"
|
|
55
|
+
},
|
|
56
|
+
violet: {
|
|
57
|
+
500: "#4F46E5"
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
colors
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=colors.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.es.js","sources":["../../../src/components/theme/colors.ts"],"sourcesContent":["export const colors = {\n gray: {\n 16: '#162236',\n 25: '#F5FAFF',\n 50: '#fafcff',\n 100: '#F0F7FF',\n 150: '#E8F2FE',\n 200: '#E0ECFD',\n 225: '#CAD4E3',\n 250: '#CEE0F8',\n 300: '#A8C3E8',\n 350: '#95B2DD',\n 400: '#82A0CE',\n 450: '#6F8EBD',\n 500: '#5E7BAA',\n 550: '#4D6896',\n 600: '#3E5680',\n 650: '#31456A',\n 700: '#263755',\n 750: '#1C2A42',\n 800: '#0E1623',\n 850: '#090F17',\n 900: '#05090E',\n 950: '#030407',\n 1000: '#010202',\n disabled: '#f2f2f2',\n },\n indigo: {\n 500: '#6366F1',\n },\n yellow: {\n '50light': '#FFFBEB',\n 100: '#FEF3C7',\n '200dark': '#FDE68A',\n 500: '#F59E0B',\n },\n skyblue: '#F5FAFF',\n blue: {\n 10: '#F5F9FF',\n primary: '#481DF1',\n secondary: '#93C5FD',\n purple: '#5501E1',\n 'purple-2': '#0047ff',\n 'purple-3': '#2900CE',\n 100: '#e0e7ff',\n 200: '#818cf8',\n 500: '#BBD2F1',\n '500original': '#3b82f6',\n 650: '#2F5FFF',\n 600: '#2563EB',\n dark: '#003466',\n },\n green: {\n 600: '#059669',\n },\n violet: {\n 500: '#4F46E5',\n },\n}\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AAAA,EACpB,MAAM;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,KAAK;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,IACN,WAAW;AAAA,IACX,KAAK;AAAA,IACL,WAAW;AAAA,IACX,KAAK;AAAA,EACP;AAAA,EACA,SAAS;AAAA,EACT,MAAM;AAAA,IACJ,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,eAAe;AAAA,IACf,KAAK;AAAA,IACL,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AAAA,EACA,OAAO;AAAA,IACL,KAAK;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,IACN,KAAK;AAAA,EACP;AACF;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const cursor = {
|
|
2
|
+
drag: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAQAAAB6UzRyAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAFvck5UAc+id5oAAAGKSURBVCjPhY+/axNxGMY/3/uVuySNKIiLa2kHqQeOVYpzZicHEexiZyMU3UQ6q1tmERwEsdS6Obg4af8DDRSqJbnceXdNLrk8DskFB9HnXZ7h877P8wIAMjK4lxpaiDouFgstjOGmjfsjAIMBCPCw5nYJYX103qzWWtUuK69XcW9ZMtURg03tw5Vpj6sSQpK3UX5/u4GPM8cMzuXgy2Z/KDmbFcR1qT/8fIMAVwZcGsf3+8NQkt1eQm0pVKTeDo1rLjR7O5FCUf31hwsV6efuxSaDvTny9wkVabBnZT7/0ciD9U/P/hX3/inrsMbWyxcnWSiJTgVZHSnUSfbqOVu1NYeC/PbB9vHhI+pMqojZBA7zx0+6R+TjwiIndqLu0b1Oekq2LJKlp9sPul+JiJuZQwZT3On++M6unS+h5O7Dd99ISEj8M4OLR8Ovz1rFOVraN4AwbWJvWKTNPM0pHEoKqE3i0tPMgABw4mlUJGQr47RQaWSMwcLB91ujC5y36yVkDILo7BcjJojZb7m396pNm4/5AAAAAElFTkSuQmCC) 10 0,auto"
|
|
3
|
+
};
|
|
4
|
+
export {
|
|
5
|
+
cursor
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=cursor.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor.es.js","sources":["../../../src/components/theme/cursor.ts"],"sourcesContent":["export const cursor = {\n drag: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAQAAAB6UzRyAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAFvck5UAc+id5oAAAGKSURBVCjPhY+/axNxGMY/3/uVuySNKIiLa2kHqQeOVYpzZicHEexiZyMU3UQ6q1tmERwEsdS6Obg4af8DDRSqJbnceXdNLrk8DskFB9HnXZ7h877P8wIAMjK4lxpaiDouFgstjOGmjfsjAIMBCPCw5nYJYX103qzWWtUuK69XcW9ZMtURg03tw5Vpj6sSQpK3UX5/u4GPM8cMzuXgy2Z/KDmbFcR1qT/8fIMAVwZcGsf3+8NQkt1eQm0pVKTeDo1rLjR7O5FCUf31hwsV6efuxSaDvTny9wkVabBnZT7/0ciD9U/P/hX3/inrsMbWyxcnWSiJTgVZHSnUSfbqOVu1NYeC/PbB9vHhI+pMqojZBA7zx0+6R+TjwiIndqLu0b1Oekq2LJKlp9sPul+JiJuZQwZT3On++M6unS+h5O7Dd99ISEj8M4OLR8Ovz1rFOVraN4AwbWJvWKTNPM0pHEoKqE3i0tPMgABw4mlUJGQr47RQaWSMwcLB91ujC5y36yVkDILo7BcjJojZb7m396pNm4/5AAAAAElFTkSuQmCC) 10 0,auto',\n}\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AAAA,EACpB,MAAM;AACR;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropShadow.es.js","sources":["../../../src/components/theme/dropShadow.ts"],"sourcesContent":["export const dropShadow = (theme: (path: string) => string | undefined) => ({\n xl: [`px 2px 6px ${theme('colors.blue.dark / 6%')}`, `0px 8px 20px ${theme('colors.blue.dark / 10%')}`],\n})\n"],"names":[],"mappings":"AAAa,MAAA,aAAa,CAAC,WAAiD;AAAA,EAC1E,IAAI,CAAC,cAAc,MAAM,uBAAuB,CAAC,IAAI,gBAAgB,MAAM,wBAAwB,CAAC,EAAE;AACxG;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexGrow.es.js","sources":["../../../src/components/theme/flexGrow.ts"],"sourcesContent":["export const flexGrow = {\n 5: '5',\n}\n"],"names":[],"mappings":"AAAO,MAAM,WAAW;AAAA,EACtB,GAAG;AACL;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontSize.es.js","sources":["../../../src/components/theme/fontSize.ts"],"sourcesContent":["export const fontSize = {\n 'base-lg': '1.065rem',\n 'sm-base': '0.935rem',\n '2xs': '0.563rem',\n '3xs': '0.2rem',\n}\n"],"names":[],"mappings":"AAAO,MAAM,WAAW;AAAA,EACtB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AAAA,EACP,OAAO;AACT;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"height.es.js","sources":["../../../src/components/theme/height.ts"],"sourcesContent":["export const height = {\n 'screen-50': '50vh',\n 'screen-60': '60vh',\n 'screen-70': '70vh',\n 'screen-75': '75vh',\n}\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AAAA,EACpB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,aAAa;AAAA,EACb,aAAa;AACf;"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const defaultTheme: {
|
|
2
|
+
fontSize: {
|
|
3
|
+
'base-lg': string;
|
|
4
|
+
'sm-base': string;
|
|
5
|
+
'2xs': string;
|
|
6
|
+
'3xs': string;
|
|
7
|
+
};
|
|
8
|
+
screens: {
|
|
9
|
+
'2xl': string;
|
|
10
|
+
'3xl': string;
|
|
11
|
+
'4xl': string;
|
|
12
|
+
'5xl': string;
|
|
13
|
+
};
|
|
14
|
+
borderWidth: {
|
|
15
|
+
DEFAULT: string;
|
|
16
|
+
1: string;
|
|
17
|
+
};
|
|
18
|
+
colors: {
|
|
19
|
+
gray: {
|
|
20
|
+
16: string;
|
|
21
|
+
25: string;
|
|
22
|
+
50: string;
|
|
23
|
+
100: string;
|
|
24
|
+
150: string;
|
|
25
|
+
200: string;
|
|
26
|
+
225: string;
|
|
27
|
+
250: string;
|
|
28
|
+
300: string;
|
|
29
|
+
350: string;
|
|
30
|
+
400: string;
|
|
31
|
+
450: string;
|
|
32
|
+
500: string;
|
|
33
|
+
550: string;
|
|
34
|
+
600: string;
|
|
35
|
+
650: string;
|
|
36
|
+
700: string;
|
|
37
|
+
750: string;
|
|
38
|
+
800: string;
|
|
39
|
+
850: string;
|
|
40
|
+
900: string;
|
|
41
|
+
950: string;
|
|
42
|
+
1000: string;
|
|
43
|
+
disabled: string;
|
|
44
|
+
};
|
|
45
|
+
indigo: {
|
|
46
|
+
500: string;
|
|
47
|
+
};
|
|
48
|
+
yellow: {
|
|
49
|
+
'50light': string;
|
|
50
|
+
100: string;
|
|
51
|
+
'200dark': string;
|
|
52
|
+
500: string;
|
|
53
|
+
};
|
|
54
|
+
skyblue: string;
|
|
55
|
+
blue: {
|
|
56
|
+
10: string;
|
|
57
|
+
primary: string;
|
|
58
|
+
secondary: string;
|
|
59
|
+
purple: string;
|
|
60
|
+
'purple-2': string;
|
|
61
|
+
'purple-3': string;
|
|
62
|
+
100: string;
|
|
63
|
+
200: string;
|
|
64
|
+
500: string;
|
|
65
|
+
'500original': string;
|
|
66
|
+
650: string;
|
|
67
|
+
600: string;
|
|
68
|
+
dark: string;
|
|
69
|
+
};
|
|
70
|
+
green: {
|
|
71
|
+
600: string;
|
|
72
|
+
};
|
|
73
|
+
violet: {
|
|
74
|
+
500: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
dropShadow: (theme: (path: string) => string | undefined) => {
|
|
78
|
+
xl: string[];
|
|
79
|
+
};
|
|
80
|
+
backgroundImage: (theme: (path: string) => string | undefined) => {
|
|
81
|
+
'blue-red-gradient': string;
|
|
82
|
+
'white-indigo-gradient': string;
|
|
83
|
+
'chat-template': string;
|
|
84
|
+
'blue-linear-gradient': string;
|
|
85
|
+
'new-deployment-gradient': string;
|
|
86
|
+
};
|
|
87
|
+
backgroundColor: (theme: (path: string) => string | undefined) => {
|
|
88
|
+
app: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
zIndex: {
|
|
91
|
+
'-1': string;
|
|
92
|
+
};
|
|
93
|
+
flexGrow: {
|
|
94
|
+
5: string;
|
|
95
|
+
};
|
|
96
|
+
height: {
|
|
97
|
+
'screen-50': string;
|
|
98
|
+
'screen-60': string;
|
|
99
|
+
'screen-70': string;
|
|
100
|
+
'screen-75': string;
|
|
101
|
+
};
|
|
102
|
+
maxHeight: {
|
|
103
|
+
'screen-menu': string;
|
|
104
|
+
modal: string;
|
|
105
|
+
};
|
|
106
|
+
transitionProperty: {
|
|
107
|
+
position: string;
|
|
108
|
+
textColor: string;
|
|
109
|
+
};
|
|
110
|
+
keyframes: {
|
|
111
|
+
fadeOut: {
|
|
112
|
+
from: {
|
|
113
|
+
opacity: string;
|
|
114
|
+
};
|
|
115
|
+
to: {
|
|
116
|
+
opacity: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
fadeIn: {
|
|
120
|
+
from: {
|
|
121
|
+
opacity: string;
|
|
122
|
+
};
|
|
123
|
+
to: {
|
|
124
|
+
opacity: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
animation: {
|
|
129
|
+
fadeOut: string;
|
|
130
|
+
fadeIn: string;
|
|
131
|
+
};
|
|
132
|
+
cursor: {
|
|
133
|
+
drag: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export default defaultTheme;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { animation } from "./animation.es.js";
|
|
2
|
+
import { backgroundColor } from "./backgroundColor.es.js";
|
|
3
|
+
import { backgroundImage } from "./backgroundImage.es.js";
|
|
4
|
+
import { borderWidth } from "./borderWidth.es.js";
|
|
5
|
+
import { colors } from "./colors.es.js";
|
|
6
|
+
import { cursor } from "./cursor.es.js";
|
|
7
|
+
import { dropShadow } from "./dropShadow.es.js";
|
|
8
|
+
import { flexGrow } from "./flexGrow.es.js";
|
|
9
|
+
import { fontSize } from "./fontSize.es.js";
|
|
10
|
+
import { height } from "./height.es.js";
|
|
11
|
+
import { keyframes } from "./keyframes.es.js";
|
|
12
|
+
import { maxHeight } from "./maxHeight.es.js";
|
|
13
|
+
import { screens } from "./screens.es.js";
|
|
14
|
+
import { transitionProperty } from "./transitionProperty.es.js";
|
|
15
|
+
import { zIndex } from "./zIndex.es.js";
|
|
16
|
+
const defaultTheme = {
|
|
17
|
+
fontSize,
|
|
18
|
+
screens,
|
|
19
|
+
borderWidth,
|
|
20
|
+
colors,
|
|
21
|
+
dropShadow,
|
|
22
|
+
backgroundImage,
|
|
23
|
+
backgroundColor,
|
|
24
|
+
zIndex,
|
|
25
|
+
flexGrow,
|
|
26
|
+
height,
|
|
27
|
+
maxHeight,
|
|
28
|
+
transitionProperty,
|
|
29
|
+
keyframes,
|
|
30
|
+
animation,
|
|
31
|
+
cursor
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
defaultTheme as default,
|
|
35
|
+
defaultTheme
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../src/components/theme/index.ts"],"sourcesContent":["import { animation } from './animation'\nimport { backgroundColor } from './backgroundColor'\nimport { backgroundImage } from './backgroundImage'\nimport { borderWidth } from './borderWidth'\nimport { colors } from './colors'\nimport { cursor } from './cursor'\nimport { dropShadow } from './dropShadow'\nimport { flexGrow } from './flexGrow'\nimport { fontSize } from './fontSize'\nimport { height } from './height'\nimport { keyframes } from './keyframes'\nimport { maxHeight } from './maxHeight'\nimport { screens } from './screens'\nimport { transitionProperty } from './transitionProperty'\nimport { zIndex } from './zIndex'\n\n// This file defines a custom theme used by the tailwind.config.js to extend the default theme\n// It includes custom settings for font sizes, screen sizes, colors, shadows, background images, and other design properties.\n\nexport const defaultTheme = {\n fontSize,\n screens,\n borderWidth,\n colors,\n dropShadow,\n backgroundImage,\n backgroundColor,\n zIndex,\n flexGrow,\n height,\n maxHeight,\n transitionProperty,\n keyframes,\n animation,\n cursor,\n}\n\nexport default defaultTheme\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAmBO,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyframes.es.js","sources":["../../../src/components/theme/keyframes.ts"],"sourcesContent":["export const keyframes = {\n fadeOut: {\n from: { opacity: '1' },\n to: { opacity: '0' },\n },\n fadeIn: {\n from: { opacity: '0' },\n to: { opacity: '1' },\n },\n}\n"],"names":[],"mappings":"AAAO,MAAM,YAAY;AAAA,EACvB,SAAS;AAAA,IACP,MAAM,EAAE,SAAS,IAAI;AAAA,IACrB,IAAI,EAAE,SAAS,IAAI;AAAA,EACrB;AAAA,EACA,QAAQ;AAAA,IACN,MAAM,EAAE,SAAS,IAAI;AAAA,IACrB,IAAI,EAAE,SAAS,IAAI;AAAA,EACrB;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maxHeight.es.js","sources":["../../../src/components/theme/maxHeight.ts"],"sourcesContent":["export const maxHeight = {\n 'screen-menu': 'calc(100vh - 3.5rem)',\n modal: 'calc(100vh - 10rem)',\n}\n"],"names":[],"mappings":"AAAO,MAAM,YAAY;AAAA,EACvB,eAAe;AAAA,EACf,OAAO;AACT;"}
|