lecom-ui 5.0.16 → 5.0.18
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/index.d.ts +5 -5
- package/dist/plugin/extend.js +78 -0
- package/dist/plugin/fontFaces.js +172 -0
- package/dist/plugin/general.js +12 -0
- package/dist/plugin/pluginDev.js +5 -0
- package/dist/plugin/pluginNext.js +5 -0
- package/dist/plugin/pluginVite.js +5 -0
- package/dist/plugin/template.js +28 -0
- package/dist/plugin/typographies.js +151 -0
- package/dist/plugin/varsTheme.js +79 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -686,9 +686,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
declare const inputVariants: (props?: ({
|
|
689
|
-
variant?: "
|
|
690
|
-
size?: "
|
|
691
|
-
radius?: "
|
|
689
|
+
variant?: "default" | "filled" | "borderless" | null | undefined;
|
|
690
|
+
size?: "default" | "small" | "large" | null | undefined;
|
|
691
|
+
radius?: "default" | "small" | "large" | "full" | null | undefined;
|
|
692
692
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
693
693
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
694
694
|
sufix?: React$1.ReactNode;
|
|
@@ -967,8 +967,8 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
967
967
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
968
968
|
|
|
969
969
|
declare const textareaVariants: (props?: ({
|
|
970
|
-
variant?: "
|
|
971
|
-
radius?: "
|
|
970
|
+
variant?: "default" | "filled" | "borderless" | null | undefined;
|
|
971
|
+
radius?: "default" | "small" | "large" | null | undefined;
|
|
972
972
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
973
973
|
interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|
|
974
974
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
const extend = {
|
|
2
|
+
colors: {
|
|
3
|
+
background: "hsl(var(--background))",
|
|
4
|
+
foreground: "hsl(var(--foreground))",
|
|
5
|
+
card: {
|
|
6
|
+
DEFAULT: "hsl(var(--card))",
|
|
7
|
+
foreground: "hsl(var(--card-foreground))"
|
|
8
|
+
},
|
|
9
|
+
popover: {
|
|
10
|
+
DEFAULT: "hsl(var(--popover))",
|
|
11
|
+
foreground: "hsl(var(--popover-foreground))"
|
|
12
|
+
},
|
|
13
|
+
primary: {
|
|
14
|
+
DEFAULT: "hsl(var(--primary))",
|
|
15
|
+
foreground: "hsl(var(--primary-foreground))"
|
|
16
|
+
},
|
|
17
|
+
secondary: {
|
|
18
|
+
DEFAULT: "hsl(var(--secondary))",
|
|
19
|
+
foreground: "hsl(var(--secondary-foreground))"
|
|
20
|
+
},
|
|
21
|
+
muted: {
|
|
22
|
+
DEFAULT: "hsl(var(--muted))",
|
|
23
|
+
foreground: "hsl(var(--muted-foreground))"
|
|
24
|
+
},
|
|
25
|
+
accent: {
|
|
26
|
+
DEFAULT: "hsl(var(--accent))",
|
|
27
|
+
foreground: "hsl(var(--accent-foreground))"
|
|
28
|
+
},
|
|
29
|
+
destructive: {
|
|
30
|
+
DEFAULT: "hsl(var(--destructive))",
|
|
31
|
+
foreground: "hsl(var(--destructive-foreground))"
|
|
32
|
+
},
|
|
33
|
+
border: "hsl(var(--border))",
|
|
34
|
+
input: "hsl(var(--input))",
|
|
35
|
+
ring: "hsl(var(--ring))",
|
|
36
|
+
chart: {
|
|
37
|
+
1: "hsl(var(--chart-1))",
|
|
38
|
+
2: "hsl(var(--chart-2))",
|
|
39
|
+
3: "hsl(var(--chart-3))",
|
|
40
|
+
4: "hsl(var(--chart-4))",
|
|
41
|
+
5: "hsl(var(--chart-5))",
|
|
42
|
+
6: "hsl(var(--chart-6))",
|
|
43
|
+
7: "hsl(var(--chart-7))",
|
|
44
|
+
8: "hsl(var(--chart-8))"
|
|
45
|
+
},
|
|
46
|
+
sidebar: {
|
|
47
|
+
DEFAULT: "hsl(var(--sidebar-background))",
|
|
48
|
+
foreground: "hsl(var(--sidebar-foreground))",
|
|
49
|
+
primary: "hsl(var(--sidebar-primary))",
|
|
50
|
+
"primary-foreground": "hsl(var(--sidebar-primary-foreground))",
|
|
51
|
+
accent: "hsl(var(--sidebar-accent))",
|
|
52
|
+
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
|
|
53
|
+
border: "hsl(var(--sidebar-border))",
|
|
54
|
+
ring: "hsl(var(--sidebar-ring))"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
borderRadius: {
|
|
58
|
+
lg: "var(--radius)",
|
|
59
|
+
md: "calc(var(--radius) - 2px)",
|
|
60
|
+
sm: "calc(var(--radius) - 4px)"
|
|
61
|
+
},
|
|
62
|
+
keyframes: {
|
|
63
|
+
"accordion-down": {
|
|
64
|
+
from: { height: "0" },
|
|
65
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
66
|
+
},
|
|
67
|
+
"accordion-up": {
|
|
68
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
69
|
+
to: { height: "0" }
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
animation: {
|
|
73
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
74
|
+
"accordion-up": "accordion-up 0.2s ease-out"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export { extend };
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
const fontFaces = (publicPath) => [
|
|
2
|
+
{
|
|
3
|
+
fontFamily: "Roboto",
|
|
4
|
+
fontStyle: "italic",
|
|
5
|
+
fontWeight: "100",
|
|
6
|
+
fontDisplay: "swap",
|
|
7
|
+
src: `url('${publicPath}/fonts/Roboto/thin-100-italic.woff2')`
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
fontFamily: "Roboto",
|
|
11
|
+
fontStyle: "italic",
|
|
12
|
+
fontWeight: "300",
|
|
13
|
+
fontDisplay: "swap",
|
|
14
|
+
src: `url('${publicPath}/fonts/Roboto/light-300-italic.woff2')`
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
fontFamily: "Roboto",
|
|
18
|
+
fontStyle: "italic",
|
|
19
|
+
fontWeight: "400",
|
|
20
|
+
fontDisplay: "swap",
|
|
21
|
+
src: `url('${publicPath}/fonts/Roboto/regular-400-italic.woff2')`
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
fontFamily: "Roboto",
|
|
25
|
+
fontStyle: "italic",
|
|
26
|
+
fontWeight: "500",
|
|
27
|
+
fontDisplay: "swap",
|
|
28
|
+
src: `url('${publicPath}/fonts/Roboto/medium-500-italic.woff2')`
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
fontFamily: "Roboto",
|
|
32
|
+
fontStyle: "italic",
|
|
33
|
+
fontWeight: "700",
|
|
34
|
+
fontDisplay: "swap",
|
|
35
|
+
src: `url('${publicPath}/fonts/Roboto/bold-700-italic.woff2')`
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
fontFamily: "Roboto",
|
|
39
|
+
fontStyle: "italic",
|
|
40
|
+
fontWeight: "900",
|
|
41
|
+
fontDisplay: "swap",
|
|
42
|
+
src: `url('${publicPath}/fonts/Roboto/black-900-italic.woff2')`
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
fontFamily: "Roboto",
|
|
46
|
+
fontStyle: "normal",
|
|
47
|
+
fontWeight: "100",
|
|
48
|
+
fontDisplay: "swap",
|
|
49
|
+
src: `url('${publicPath}/fonts/Roboto/thin-100.woff2')`
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
fontFamily: "Roboto",
|
|
53
|
+
fontStyle: "normal",
|
|
54
|
+
fontWeight: "300",
|
|
55
|
+
fontDisplay: "swap",
|
|
56
|
+
src: `url('${publicPath}/fonts/Roboto/light-300.woff2')`
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
fontFamily: "Roboto",
|
|
60
|
+
fontStyle: "normal",
|
|
61
|
+
fontWeight: "400",
|
|
62
|
+
fontDisplay: "swap",
|
|
63
|
+
src: `url('${publicPath}/fonts/Roboto/regular-400.woff2')`
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
fontFamily: "Roboto",
|
|
67
|
+
fontStyle: "normal",
|
|
68
|
+
fontWeight: "500",
|
|
69
|
+
fontDisplay: "swap",
|
|
70
|
+
src: `url('${publicPath}/fonts/Roboto/medium-500.woff2')`
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
fontFamily: "Roboto",
|
|
74
|
+
fontStyle: "normal",
|
|
75
|
+
fontWeight: "700",
|
|
76
|
+
fontDisplay: "swap",
|
|
77
|
+
src: `url('${publicPath}/fonts/Roboto/bold-700.woff2')`
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
fontFamily: "Roboto",
|
|
81
|
+
fontStyle: "normal",
|
|
82
|
+
fontWeight: "900",
|
|
83
|
+
fontDisplay: "swap",
|
|
84
|
+
src: `url('${publicPath}/fonts/Roboto/black-900.woff2')`
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
fontFamily: "Montserrat",
|
|
88
|
+
fontStyle: "italic",
|
|
89
|
+
fontWeight: "100 900",
|
|
90
|
+
fontDisplay: "swap",
|
|
91
|
+
src: `url('${publicPath}/fonts/Montserrat/italic.woff2')`
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
fontFamily: "Montserrat",
|
|
95
|
+
fontStyle: "normal",
|
|
96
|
+
fontWeight: "100 900",
|
|
97
|
+
fontDisplay: "swap",
|
|
98
|
+
src: `url('${publicPath}/fonts/Montserrat/normal.woff2')`
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
fontFamily: "IBM Plex Mono",
|
|
102
|
+
fontStyle: "italic",
|
|
103
|
+
fontWeight: "100",
|
|
104
|
+
fontDisplay: "swap",
|
|
105
|
+
src: `url('${publicPath}/fonts/Ibm/thin-100-italic.woff2')`
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
fontFamily: "IBM Plex Mono",
|
|
109
|
+
fontStyle: "italic",
|
|
110
|
+
fontWeight: "300",
|
|
111
|
+
fontDisplay: "swap",
|
|
112
|
+
src: `url('${publicPath}/fonts/Ibm/light-300-italic.woff2')`
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
fontFamily: "IBM Plex Mono",
|
|
116
|
+
fontStyle: "italic",
|
|
117
|
+
fontWeight: "400",
|
|
118
|
+
fontDisplay: "swap",
|
|
119
|
+
src: `url('${publicPath}/fonts/Ibm/regular-400-italic.woff2')`
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
fontFamily: "IBM Plex Mono",
|
|
123
|
+
fontStyle: "italic",
|
|
124
|
+
fontWeight: "500",
|
|
125
|
+
fontDisplay: "swap",
|
|
126
|
+
src: `url('${publicPath}/fonts/Ibm/medium-500-italic.woff2')`
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fontFamily: "IBM Plex Mono",
|
|
130
|
+
fontStyle: "italic",
|
|
131
|
+
fontWeight: "700",
|
|
132
|
+
fontDisplay: "swap",
|
|
133
|
+
src: `url('${publicPath}/fonts/Ibm/bold-700-italic.woff2')`
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
fontFamily: "IBM Plex Mono",
|
|
137
|
+
fontStyle: "normal",
|
|
138
|
+
fontWeight: "100",
|
|
139
|
+
fontDisplay: "swap",
|
|
140
|
+
src: `url('${publicPath}/fonts/Ibm/thin-100.woff2')`
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
fontFamily: "IBM Plex Mono",
|
|
144
|
+
fontStyle: "normal",
|
|
145
|
+
fontWeight: "300",
|
|
146
|
+
fontDisplay: "swap",
|
|
147
|
+
src: `url('${publicPath}/fonts/Ibm/light-300.woff2')`
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
fontFamily: "IBM Plex Mono",
|
|
151
|
+
fontStyle: "normal",
|
|
152
|
+
fontWeight: "400",
|
|
153
|
+
fontDisplay: "swap",
|
|
154
|
+
src: `url('${publicPath}/fonts/Ibm/regular-400.woff2')`
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
fontFamily: "IBM Plex Mono",
|
|
158
|
+
fontStyle: "normal",
|
|
159
|
+
fontWeight: "500",
|
|
160
|
+
fontDisplay: "swap",
|
|
161
|
+
src: `url('${publicPath}/fonts/Ibm/medium-500.woff2')`
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
fontFamily: "IBM Plex Mono",
|
|
165
|
+
fontStyle: "normal",
|
|
166
|
+
fontWeight: "700",
|
|
167
|
+
fontDisplay: "swap",
|
|
168
|
+
src: `url('${publicPath}/fonts/Ibm/bold-700.woff2')`
|
|
169
|
+
}
|
|
170
|
+
];
|
|
171
|
+
|
|
172
|
+
export { fontFaces };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import Plugin from 'tailwindcss/plugin';
|
|
2
|
+
import { colors } from '../tokens/colors.js';
|
|
3
|
+
import { fonts } from '../tokens/fonts.js';
|
|
4
|
+
import { extend } from './extend.js';
|
|
5
|
+
import { fontFaces } from './fontFaces.js';
|
|
6
|
+
import { general } from './general.js';
|
|
7
|
+
import { typographies } from './typographies.js';
|
|
8
|
+
import { varsTheme } from './varsTheme.js';
|
|
9
|
+
|
|
10
|
+
const buildPlugin = (publicPath) => Plugin(
|
|
11
|
+
({ addBase, addComponents }) => {
|
|
12
|
+
addBase(varsTheme);
|
|
13
|
+
fontFaces(publicPath).map(
|
|
14
|
+
(fontFace) => addBase({ "@font-face": fontFace })
|
|
15
|
+
);
|
|
16
|
+
addBase(general);
|
|
17
|
+
addComponents(typographies);
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
theme: {
|
|
21
|
+
fontFamily: fonts,
|
|
22
|
+
colors,
|
|
23
|
+
extend
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
export { buildPlugin };
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
const montSerrat = { fontFamily: "Montserrat, sans-serif" };
|
|
2
|
+
const roboto = { fontFamily: "Roboto, sans-serif" };
|
|
3
|
+
const ibm = { fontFamily: "IBM Plex Mono, sans-serif" };
|
|
4
|
+
const fontWeight700 = { fontWeight: "700" };
|
|
5
|
+
const fontWeight600 = { fontWeight: "600" };
|
|
6
|
+
const fontWeight500 = { fontWeight: "500" };
|
|
7
|
+
const fontWeight400 = { fontWeight: "400" };
|
|
8
|
+
const fontSize3 = { fontSize: "3rem" };
|
|
9
|
+
const fontSize2 = { fontSize: "2rem" };
|
|
10
|
+
const fontSize25 = { fontSize: "2.5rem" };
|
|
11
|
+
const fontSize15 = { fontSize: "1.5rem" };
|
|
12
|
+
const fontSize125 = { fontSize: "1.25rem" };
|
|
13
|
+
const fontSize1 = { fontSize: "1rem" };
|
|
14
|
+
const fontSize0875 = { fontSize: "0.875rem" };
|
|
15
|
+
const fontSize075 = { fontSize: "0.75rem" };
|
|
16
|
+
const typographies = {
|
|
17
|
+
".heading-xxlarge-500": {
|
|
18
|
+
...montSerrat,
|
|
19
|
+
...fontSize3,
|
|
20
|
+
...fontWeight500,
|
|
21
|
+
lineHeight: "3.25rem"
|
|
22
|
+
},
|
|
23
|
+
".heading-xlarge-500": {
|
|
24
|
+
...montSerrat,
|
|
25
|
+
...fontSize25,
|
|
26
|
+
...fontWeight500,
|
|
27
|
+
lineHeight: "2.75rem"
|
|
28
|
+
},
|
|
29
|
+
".heading-large-600": {
|
|
30
|
+
...montSerrat,
|
|
31
|
+
...fontSize2,
|
|
32
|
+
...fontWeight600,
|
|
33
|
+
lineHeight: "2.25rem"
|
|
34
|
+
},
|
|
35
|
+
".heading-large-500": {
|
|
36
|
+
...montSerrat,
|
|
37
|
+
...fontSize2,
|
|
38
|
+
...fontWeight500,
|
|
39
|
+
lineHeight: "2.25rem"
|
|
40
|
+
},
|
|
41
|
+
".heading-medium-600": {
|
|
42
|
+
...montSerrat,
|
|
43
|
+
...fontSize15,
|
|
44
|
+
...fontWeight600,
|
|
45
|
+
lineHeight: "1.75rem"
|
|
46
|
+
},
|
|
47
|
+
".heading-medium-500": {
|
|
48
|
+
...montSerrat,
|
|
49
|
+
...fontSize15,
|
|
50
|
+
...fontWeight500,
|
|
51
|
+
lineHeight: "1.75rem"
|
|
52
|
+
},
|
|
53
|
+
".heading-small-600": {
|
|
54
|
+
...montSerrat,
|
|
55
|
+
...fontSize125,
|
|
56
|
+
...fontWeight600,
|
|
57
|
+
lineHeight: "1.5rem"
|
|
58
|
+
},
|
|
59
|
+
".heading-small-500": {
|
|
60
|
+
...montSerrat,
|
|
61
|
+
...fontSize125,
|
|
62
|
+
...fontWeight500,
|
|
63
|
+
lineHeight: "1.5rem"
|
|
64
|
+
},
|
|
65
|
+
".heading-xsmall-600": {
|
|
66
|
+
...montSerrat,
|
|
67
|
+
...fontSize1,
|
|
68
|
+
...fontWeight600,
|
|
69
|
+
lineHeight: "1.25rem"
|
|
70
|
+
},
|
|
71
|
+
".heading-xsmall-500": {
|
|
72
|
+
...montSerrat,
|
|
73
|
+
...fontSize1,
|
|
74
|
+
...fontWeight500,
|
|
75
|
+
lineHeight: "1.25rem"
|
|
76
|
+
},
|
|
77
|
+
".heading-xxsmall-600": {
|
|
78
|
+
...montSerrat,
|
|
79
|
+
...fontSize0875,
|
|
80
|
+
lineHeight: "1.25rem",
|
|
81
|
+
...fontWeight600
|
|
82
|
+
},
|
|
83
|
+
".heading-xxsmall-500": {
|
|
84
|
+
...montSerrat,
|
|
85
|
+
...fontSize0875,
|
|
86
|
+
lineHeight: "1.25rem",
|
|
87
|
+
...fontWeight500
|
|
88
|
+
},
|
|
89
|
+
".body-large-700": {
|
|
90
|
+
...roboto,
|
|
91
|
+
...fontSize1,
|
|
92
|
+
lineHeight: "1.5rem",
|
|
93
|
+
...fontWeight700
|
|
94
|
+
},
|
|
95
|
+
".body-large-500": {
|
|
96
|
+
...roboto,
|
|
97
|
+
...fontSize1,
|
|
98
|
+
lineHeight: "1.5rem",
|
|
99
|
+
...fontWeight500
|
|
100
|
+
},
|
|
101
|
+
".body-large-400": {
|
|
102
|
+
...roboto,
|
|
103
|
+
...fontSize1,
|
|
104
|
+
lineHeight: "1.5rem",
|
|
105
|
+
...fontWeight400
|
|
106
|
+
},
|
|
107
|
+
".body-medium-700": {
|
|
108
|
+
...roboto,
|
|
109
|
+
...fontSize0875,
|
|
110
|
+
lineHeight: "1.25rem",
|
|
111
|
+
...fontWeight700
|
|
112
|
+
},
|
|
113
|
+
".body-medium-500": {
|
|
114
|
+
...roboto,
|
|
115
|
+
...fontSize0875,
|
|
116
|
+
lineHeight: "1.25rem",
|
|
117
|
+
...fontWeight500
|
|
118
|
+
},
|
|
119
|
+
".body-medium-400": {
|
|
120
|
+
...roboto,
|
|
121
|
+
...fontSize0875,
|
|
122
|
+
lineHeight: "1.25rem",
|
|
123
|
+
...fontWeight400
|
|
124
|
+
},
|
|
125
|
+
".body-small-700": {
|
|
126
|
+
...roboto,
|
|
127
|
+
...fontSize075,
|
|
128
|
+
lineHeight: "1rem",
|
|
129
|
+
...fontWeight700
|
|
130
|
+
},
|
|
131
|
+
".body-small-500": {
|
|
132
|
+
...roboto,
|
|
133
|
+
...fontSize075,
|
|
134
|
+
lineHeight: "1rem",
|
|
135
|
+
...fontWeight500
|
|
136
|
+
},
|
|
137
|
+
".body-small-400": {
|
|
138
|
+
...roboto,
|
|
139
|
+
...fontSize075,
|
|
140
|
+
lineHeight: "1rem",
|
|
141
|
+
...fontWeight400
|
|
142
|
+
},
|
|
143
|
+
".code-medium-400": {
|
|
144
|
+
...ibm,
|
|
145
|
+
...fontSize0875,
|
|
146
|
+
lineHeight: "1.25rem",
|
|
147
|
+
...fontWeight400
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export { typographies };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const varsTheme = {
|
|
2
|
+
":root": {
|
|
3
|
+
"--background": "0 0% 100%",
|
|
4
|
+
"--foreground": "0 0% 14.9%",
|
|
5
|
+
"--card": "0 0% 100%",
|
|
6
|
+
"--card-foreground": "0 0% 3.9%",
|
|
7
|
+
"--popover": "0 0% 100%",
|
|
8
|
+
"--popover-foreground": "0 0% 14.9%",
|
|
9
|
+
"--primary": "0 0% 9%",
|
|
10
|
+
"--primary-foreground": "0 0% 98%",
|
|
11
|
+
"--secondary": "0 0% 96.1%",
|
|
12
|
+
"--secondary-foreground": "0 0% 9%",
|
|
13
|
+
"--muted": "0 0% 96.1%",
|
|
14
|
+
"--muted-foreground": "0 0% 45.1%",
|
|
15
|
+
"--accent": "0 0% 96.1%",
|
|
16
|
+
"--accent-foreground": "0 0% 9%",
|
|
17
|
+
"--destructive": "0 84.2% 60.2%",
|
|
18
|
+
"--destructive-foreground": "0 0% 98%",
|
|
19
|
+
"--border": "0 0% 89.8%",
|
|
20
|
+
"--input": "0 0% 89.8%",
|
|
21
|
+
"--ring": "0 0% 3.9%",
|
|
22
|
+
"--chart-1": "12 76% 61%",
|
|
23
|
+
"--chart-2": "173 58% 39%",
|
|
24
|
+
"--chart-3": "197 37% 24%",
|
|
25
|
+
"--chart-4": "43 74% 66%",
|
|
26
|
+
"--chart-5": "27 87% 67%",
|
|
27
|
+
"--chart-6": "228 57% 51%",
|
|
28
|
+
"--chart-7": "52 95% 53%",
|
|
29
|
+
"--chart-8": "0 85% 51%",
|
|
30
|
+
"--radius": "0.5rem",
|
|
31
|
+
"--sidebar-background": "0 0% 100%",
|
|
32
|
+
"--sidebar-foreground": "240 5.3% 26.1%",
|
|
33
|
+
"--sidebar-primary": "240 5.9% 10%",
|
|
34
|
+
"--sidebar-primary-foreground": "0 0% 98%",
|
|
35
|
+
"--sidebar-accent": "240 4.8% 95.9%",
|
|
36
|
+
"--sidebar-accent-foreground": "240 5.9% 10%",
|
|
37
|
+
"--sidebar-border": "220 13% 91%",
|
|
38
|
+
"--sidebar-ring": "217.2 91.2% 59.8%"
|
|
39
|
+
},
|
|
40
|
+
".dark": {
|
|
41
|
+
"--background": "0 0% 3.9%",
|
|
42
|
+
"--foreground": "0 0% 98%",
|
|
43
|
+
"--card": "0 0% 3.9%",
|
|
44
|
+
"--card-foreground": "0 0% 98%",
|
|
45
|
+
"--popover": "0 0% 3.9%",
|
|
46
|
+
"--popover-foreground": "0 0% 98%",
|
|
47
|
+
"--primary": "0 0% 98%",
|
|
48
|
+
"--primary-foreground": "0 0% 9%",
|
|
49
|
+
"--secondary": "0 0% 14.9%",
|
|
50
|
+
"--secondary-foreground": "0 0% 98%",
|
|
51
|
+
"--muted": "0 0% 14.9%",
|
|
52
|
+
"--muted-foreground": "0 0% 63.9%",
|
|
53
|
+
"--accent": "0 0% 14.9%",
|
|
54
|
+
"--accent-foreground": "0 0% 98%",
|
|
55
|
+
"--destructive": "0 62.8% 30.6%",
|
|
56
|
+
"--destructive-foreground": "0 0% 98%",
|
|
57
|
+
"--border": "0 0% 14.9%",
|
|
58
|
+
"--input": "0 0% 14.9%",
|
|
59
|
+
"--ring": "0 0% 83.1%",
|
|
60
|
+
"--chart-1": "220 70% 50%",
|
|
61
|
+
"--chart-2": "160 60% 45%",
|
|
62
|
+
"--chart-3": "30 80% 55%",
|
|
63
|
+
"--chart-4": "280 65% 60%",
|
|
64
|
+
"--chart-5": "340 75% 55%",
|
|
65
|
+
"--chart-6": "228 57% 51%",
|
|
66
|
+
"--chart-7": "52 95% 53%",
|
|
67
|
+
"--chart-8": "0 85% 51%",
|
|
68
|
+
"--sidebar-background": "240 5.9% 10%",
|
|
69
|
+
"--sidebar-foreground": "240 4.8% 95.9%",
|
|
70
|
+
"--sidebar-primary": "224.3 76.3% 48%",
|
|
71
|
+
"--sidebar-primary-foreground": "0 0% 100%",
|
|
72
|
+
"--sidebar-accent": "240 3.7% 15.9%",
|
|
73
|
+
"--sidebar-accent-foreground": "240 4.8% 95.9%",
|
|
74
|
+
"--sidebar-border": "240 3.7% 15.9%",
|
|
75
|
+
"--sidebar-ring": "217.2 91.2% 59.8%"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { varsTheme };
|