@j2-health/design-system 0.1.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/README.md +113 -0
- package/dist/favicon.png +0 -0
- package/dist/index.cjs +3624 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +3606 -0
- package/dist/index.js.map +1 -0
- package/dist/lib.d.ts +2 -0
- package/dist/src/AppConfigProvider.d.ts +4 -0
- package/dist/src/appTheme.d.ts +2 -0
- package/dist/src/components/alert/Alert.d.ts +11 -0
- package/dist/src/components/alert/index.d.ts +1 -0
- package/dist/src/components/barchart/BarChart.d.ts +30 -0
- package/dist/src/components/barchart/index.d.ts +2 -0
- package/dist/src/components/breadcrumb/Breadcrumb.d.ts +14 -0
- package/dist/src/components/breadcrumb/index.d.ts +1 -0
- package/dist/src/components/bulkActionBar/BulkActionBar.d.ts +38 -0
- package/dist/src/components/bulkActionBar/index.d.ts +1 -0
- package/dist/src/components/button/Button.d.ts +4 -0
- package/dist/src/components/button/index.d.ts +1 -0
- package/dist/src/components/card/Card.d.ts +19 -0
- package/dist/src/components/card/index.d.ts +1 -0
- package/dist/src/components/checkbox/Checkbox.d.ts +7 -0
- package/dist/src/components/checkbox/index.d.ts +1 -0
- package/dist/src/components/checkboxTree/CheckboxTree.d.ts +27 -0
- package/dist/src/components/checkboxTree/TreeNode.d.ts +13 -0
- package/dist/src/components/checkboxTree/index.d.ts +1 -0
- package/dist/src/components/checkboxTree/utils.d.ts +9 -0
- package/dist/src/components/collapse/Collapse.d.ts +9 -0
- package/dist/src/components/collapse/index.d.ts +1 -0
- package/dist/src/components/drawer/Drawer.d.ts +9 -0
- package/dist/src/components/drawer/index.d.ts +1 -0
- package/dist/src/components/dropdown/Dropdown.d.ts +17 -0
- package/dist/src/components/dropdown/index.d.ts +1 -0
- package/dist/src/components/filterform/FilterGroup.d.ts +16 -0
- package/dist/src/components/filterform/FilterInput.d.ts +14 -0
- package/dist/src/components/filterform/FiltersForm.d.ts +10 -0
- package/dist/src/components/filterform/filterHelpers.d.ts +11 -0
- package/dist/src/components/filterform/index.d.ts +2 -0
- package/dist/src/components/filterform/types.d.ts +52 -0
- package/dist/src/components/filterform/useFilterField.d.ts +43 -0
- package/dist/src/components/filterform/useFiltersForm.d.ts +59 -0
- package/dist/src/components/form/Form.d.ts +7 -0
- package/dist/src/components/form/index.d.ts +1 -0
- package/dist/src/components/icons/index.d.ts +1 -0
- package/dist/src/components/input/AntdInput.d.ts +322 -0
- package/dist/src/components/input/AntdSearchInput.d.ts +327 -0
- package/dist/src/components/input/Input.d.ts +4 -0
- package/dist/src/components/input/index.d.ts +3 -0
- package/dist/src/components/inputnumber/InputNumber.d.ts +9 -0
- package/dist/src/components/inputnumber/index.d.ts +1 -0
- package/dist/src/components/legacyNavMenu/LegacyNavMenu.d.ts +27 -0
- package/dist/src/components/legacyNavMenu/UserProfile.d.ts +9 -0
- package/dist/src/components/legacyNavMenu/index.d.ts +4 -0
- package/dist/src/components/listpopover/ListPopover.d.ts +17 -0
- package/dist/src/components/listpopover/index.d.ts +1 -0
- package/dist/src/components/menu/Menu.d.ts +7 -0
- package/dist/src/components/menu/index.d.ts +2 -0
- package/dist/src/components/message/index.d.ts +2 -0
- package/dist/src/components/message/useMessage.d.ts +7 -0
- package/dist/src/components/modal/Modal.d.ts +6 -0
- package/dist/src/components/modal/index.d.ts +2 -0
- package/dist/src/components/navMenu/NavMenu.d.ts +14 -0
- package/dist/src/components/navMenu/index.d.ts +1 -0
- package/dist/src/components/notification/index.d.ts +2 -0
- package/dist/src/components/notification/useNotification.d.ts +10 -0
- package/dist/src/components/notificationModal/NotificationModal.d.ts +11 -0
- package/dist/src/components/notificationModal/index.d.ts +2 -0
- package/dist/src/components/pagination/Pagination.d.ts +18 -0
- package/dist/src/components/pagination/index.d.ts +1 -0
- package/dist/src/components/popover/Popover.d.ts +10 -0
- package/dist/src/components/popover/index.d.ts +1 -0
- package/dist/src/components/progress/Progress.d.ts +3 -0
- package/dist/src/components/progress/index.d.ts +1 -0
- package/dist/src/components/radio/Radio.d.ts +10 -0
- package/dist/src/components/radio/index.d.ts +1 -0
- package/dist/src/components/rate/Rate.d.ts +3 -0
- package/dist/src/components/rate/index.d.ts +1 -0
- package/dist/src/components/select/AntdSelect.d.ts +5 -0
- package/dist/src/components/select/Select.d.ts +7 -0
- package/dist/src/components/select/SummarizedSelect.d.ts +44 -0
- package/dist/src/components/select/index.d.ts +4 -0
- package/dist/src/components/skeleton/Skeleton.d.ts +11 -0
- package/dist/src/components/skeleton/index.d.ts +1 -0
- package/dist/src/components/spinner/Spinner.d.ts +6 -0
- package/dist/src/components/spinner/index.d.ts +1 -0
- package/dist/src/components/steps/Steps.d.ts +10 -0
- package/dist/src/components/steps/index.d.ts +2 -0
- package/dist/src/components/steps/useSteps.d.ts +17 -0
- package/dist/src/components/switch/Switch.d.ts +11 -0
- package/dist/src/components/switch/index.d.ts +1 -0
- package/dist/src/components/table/Table.d.ts +24 -0
- package/dist/src/components/table/index.d.ts +1 -0
- package/dist/src/components/tabs/Tabs.d.ts +3 -0
- package/dist/src/components/tabs/index.d.ts +1 -0
- package/dist/src/components/tag/Tag.d.ts +20 -0
- package/dist/src/components/tag/index.d.ts +1 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +4 -0
- package/dist/src/components/tooltip/index.d.ts +1 -0
- package/dist/src/components/vennDiagram/VennDiagram.d.ts +9 -0
- package/dist/src/components/vennDiagram/index.d.ts +1 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/vite-env.d.ts +1 -0
- package/dist/style.css +1254 -0
- package/dist/tailwind.cjs +170 -0
- package/dist/tailwind.cjs.map +1 -0
- package/dist/tailwind.config.d.ts +305 -0
- package/dist/tailwind.js +170 -0
- package/dist/tailwind.js.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +125 -0
- package/src/stylesheets/index.css +327 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const colors = require("tailwindcss/colors.js");
|
|
4
|
+
const tailwindPreset = {
|
|
5
|
+
theme: {
|
|
6
|
+
colors: {
|
|
7
|
+
transparent: colors.transparent,
|
|
8
|
+
current: colors.current,
|
|
9
|
+
white: colors.white,
|
|
10
|
+
black: colors.black,
|
|
11
|
+
j2: {
|
|
12
|
+
// Generic color definitions
|
|
13
|
+
"blue-1": "var(--j2-blue-1)",
|
|
14
|
+
"blue-2": "var(--j2-blue-2)",
|
|
15
|
+
"blue-3": "var(--j2-blue-3)",
|
|
16
|
+
"blue-4": "var(--j2-blue-4)",
|
|
17
|
+
"blue-5": "var(--j2-blue-5)",
|
|
18
|
+
"blue-6": "var(--j2-blue-6)",
|
|
19
|
+
"blue-7": "var(--j2-blue-7)",
|
|
20
|
+
"blue-8": "var(--j2-blue-8)",
|
|
21
|
+
"blue-9": "var(--j2-blue-9)",
|
|
22
|
+
"blue-10": "var(--j2-blue-10)",
|
|
23
|
+
"blue-11": "var(--j2-blue-11)",
|
|
24
|
+
"blue-12": "var(--j2-blue-12)",
|
|
25
|
+
"gray-1": "var(--j2-gray-1)",
|
|
26
|
+
"gray-2": "var(--j2-gray-2)",
|
|
27
|
+
"gray-3": "var(--j2-gray-3)",
|
|
28
|
+
"gray-4": "var(--j2-gray-4)",
|
|
29
|
+
"gray-5": "var(--j2-gray-5)",
|
|
30
|
+
"gray-6": "var(--j2-gray-6)",
|
|
31
|
+
"gray-7": "var(--j2-gray-7)",
|
|
32
|
+
"gray-8": "var(--j2-gray-8)",
|
|
33
|
+
"gray-9": "var(--j2-gray-9)",
|
|
34
|
+
"gray-10": "var(--j2-gray-10)",
|
|
35
|
+
"gray-11": "var(--j2-gray-11)",
|
|
36
|
+
"gray-12": "var(--j2-gray-12)",
|
|
37
|
+
"green-1": "var(--j2-green-1)",
|
|
38
|
+
"green-2": "var(--j2-green-2)",
|
|
39
|
+
"green-3": "var(--j2-green-3)",
|
|
40
|
+
"green-4": "var(--j2-green-4)",
|
|
41
|
+
"green-5": "var(--j2-green-5)",
|
|
42
|
+
"green-6": "var(--j2-green-6)",
|
|
43
|
+
"green-7": "var(--j2-green-7)",
|
|
44
|
+
"green-8": "var(--j2-green-8)",
|
|
45
|
+
"green-9": "var(--j2-green-9)",
|
|
46
|
+
"green-10": "var(--j2-green-10)",
|
|
47
|
+
"green-11": "var(--j2-green-11)",
|
|
48
|
+
"green-12": "var(--j2-green-12)",
|
|
49
|
+
"gold-1": "var(--j2-gold-1)",
|
|
50
|
+
"gold-2": "var(--j2-gold-2)",
|
|
51
|
+
"gold-3": "var(--j2-gold-3)",
|
|
52
|
+
"gold-4": "var(--j2-gold-4)",
|
|
53
|
+
"gold-5": "var(--j2-gold-5)",
|
|
54
|
+
"gold-6": "var(--j2-gold-6)",
|
|
55
|
+
"gold-7": "var(--j2-gold-7)",
|
|
56
|
+
"gold-8": "var(--j2-gold-8)",
|
|
57
|
+
"gold-9": "var(--j2-gold-9)",
|
|
58
|
+
"gold-10": "var(--j2-gold-10)",
|
|
59
|
+
"gold-11": "var(--j2-gold-11)",
|
|
60
|
+
"gold-12": "var(--j2-gold-12)",
|
|
61
|
+
"red-1": "var(--j2-red-1)",
|
|
62
|
+
"red-2": "var(--j2-red-2)",
|
|
63
|
+
"red-3": "var(--j2-red-3)",
|
|
64
|
+
"red-4": "var(--j2-red-4)",
|
|
65
|
+
"red-5": "var(--j2-red-5)",
|
|
66
|
+
"red-6": "var(--j2-red-6)",
|
|
67
|
+
"red-7": "var(--j2-red-7)",
|
|
68
|
+
"red-8": "var(--j2-red-8)",
|
|
69
|
+
"red-9": "var(--j2-red-9)",
|
|
70
|
+
"red-10": "var(--j2-red-10)",
|
|
71
|
+
"red-11": "var(--j2-red-11)",
|
|
72
|
+
"red-12": "var(--j2-red-12)",
|
|
73
|
+
// Primary color tokens
|
|
74
|
+
primary: "var(--j2-color-primary)",
|
|
75
|
+
"primary-hover": "var(--j2-color-primary-hover)",
|
|
76
|
+
"primary-active": "var(--j2-color-primary-active)",
|
|
77
|
+
"primary-bg": "var(--j2-color-primary-bg)",
|
|
78
|
+
"primary-bg-hover": "var(--j2-color-primary-bg-hover)",
|
|
79
|
+
"primary-border": "var(--j2-color-primary-border)",
|
|
80
|
+
"primary-border-hover": "var(--j2-color-primary-border-hover)",
|
|
81
|
+
"primary-text": "var(--j2-color-primary-text)",
|
|
82
|
+
"primary-text-hover": "var(--j2-color-primary-text-hover)",
|
|
83
|
+
"primary-text-active": "var(--j2-color-primary-text-active)",
|
|
84
|
+
// Text color tokens
|
|
85
|
+
text: "var(--j2-color-text)",
|
|
86
|
+
"text-secondary": "var(--j2-color-text-secondary)",
|
|
87
|
+
"text-tertiary": "var(--j2-color-text-tertiary)",
|
|
88
|
+
"text-quaternary": "var(--j2-color-text-quaternary)",
|
|
89
|
+
"text-heading": "var(--j2-color-text-heading)",
|
|
90
|
+
"text-label": "var(--j2-color-text-label)",
|
|
91
|
+
"text-description": "var(--j2-color-text-description)",
|
|
92
|
+
"text-disabled": "var(--j2-color-text-disabled)",
|
|
93
|
+
"text-placeholder": "var(--j2-color-text-placeholder)",
|
|
94
|
+
// Border color tokens
|
|
95
|
+
border: "var(--j2-color-border)",
|
|
96
|
+
"border-secondary": "var(--j2-color-border-secondary)",
|
|
97
|
+
// Background color tokens
|
|
98
|
+
"bg-layout": "var(--j2-color-bg-layout)",
|
|
99
|
+
"bg-elevated": "var(--j2-color-bg-elevated)",
|
|
100
|
+
"bg-mask": "var(--j2-color-bg-mask)",
|
|
101
|
+
"bg-spotlight": "var(--j2-color-bg-spotlight)",
|
|
102
|
+
// Status colors
|
|
103
|
+
success: "var(--j2-color-success)",
|
|
104
|
+
"success-bg": "var(--j2-color-success-bg)",
|
|
105
|
+
"success-bg-hover": "var(--j2-color-success-bg-hover)",
|
|
106
|
+
"success-border": "var(--j2-color-success-border)",
|
|
107
|
+
warning: "var(--j2-color-warning)",
|
|
108
|
+
"warning-bg": "var(--j2-color-warning-bg)",
|
|
109
|
+
"warning-bg-hover": "var(--j2-color-warning-bg-hover)",
|
|
110
|
+
"warning-border": "var(--j2-color-warning-border)",
|
|
111
|
+
error: "var(--j2-color-error)",
|
|
112
|
+
"error-bg": "var(--j2-color-error-bg)",
|
|
113
|
+
"error-bg-hover": "var(--j2-color-error-bg-hover)",
|
|
114
|
+
"error-border": "var(--j2-color-error-border)",
|
|
115
|
+
info: "var(--j2-color-info)",
|
|
116
|
+
"info-bg": "var(--j2-color-info-bg)",
|
|
117
|
+
"info-bg-hover": "var(--j2-color-info-bg-hover)",
|
|
118
|
+
"info-border": "var(--j2-color-info-border)",
|
|
119
|
+
// Icon colors
|
|
120
|
+
icon: "var(--j2-color-icon)",
|
|
121
|
+
"icon-hover": "var(--j2-color-icon-hover)"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
extend: {
|
|
125
|
+
borderColor: {
|
|
126
|
+
DEFAULT: "var(--j2-color-border)"
|
|
127
|
+
},
|
|
128
|
+
fontWeight: {
|
|
129
|
+
normal: "400",
|
|
130
|
+
medium: "500",
|
|
131
|
+
semibold: "600",
|
|
132
|
+
bold: "600"
|
|
133
|
+
},
|
|
134
|
+
borderWidth: {
|
|
135
|
+
j2: "var(--j2-line-width)",
|
|
136
|
+
"j2-bold": "var(--j2-line-width-bold)",
|
|
137
|
+
"j2-focus": "var(--j2-line-width-focus)"
|
|
138
|
+
},
|
|
139
|
+
borderRadius: {
|
|
140
|
+
j2: "var(--j2-border-radius)",
|
|
141
|
+
"j2-lg": "var(--j2-border-radius-lg)",
|
|
142
|
+
"j2-sm": "var(--j2-border-radius-sm)",
|
|
143
|
+
"j2-xs": "var(--j2-border-radius-xs)"
|
|
144
|
+
},
|
|
145
|
+
fontSize: {
|
|
146
|
+
"j2-xs": [
|
|
147
|
+
"var(--j2-font-size-xs)",
|
|
148
|
+
{ lineHeight: "var(--j2-line-height-xs)" }
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
spacing: {
|
|
152
|
+
j2: "var(--j2-size)",
|
|
153
|
+
"j2-xs": "var(--j2-size-xs)",
|
|
154
|
+
"j2-sm": "var(--j2-size-sm)",
|
|
155
|
+
"j2-md": "var(--j2-size-md)",
|
|
156
|
+
"j2-lg": "var(--j2-size-lg)",
|
|
157
|
+
"j2-xl": "var(--j2-size-xl)",
|
|
158
|
+
"j2-xxl": "var(--j2-size-xxl)"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
const tailwind_config = {
|
|
164
|
+
...tailwindPreset,
|
|
165
|
+
content: ["./src/**/*.{ts,tsx,mdx}"],
|
|
166
|
+
plugins: []
|
|
167
|
+
};
|
|
168
|
+
exports.default = tailwind_config;
|
|
169
|
+
exports.tailwindPreset = tailwindPreset;
|
|
170
|
+
//# sourceMappingURL=tailwind.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailwind.cjs","sources":["../tailwind.config.ts"],"sourcesContent":["import type { Config } from 'tailwindcss'\nimport colors from 'tailwindcss/colors.js'\n\n// Export as a preset for consuming apps\nexport const tailwindPreset = {\n theme: {\n colors: {\n transparent: colors.transparent,\n current: colors.current,\n white: colors.white,\n black: colors.black,\n j2: {\n // Generic color definitions\n 'blue-1': 'var(--j2-blue-1)',\n 'blue-2': 'var(--j2-blue-2)',\n 'blue-3': 'var(--j2-blue-3)',\n 'blue-4': 'var(--j2-blue-4)',\n 'blue-5': 'var(--j2-blue-5)',\n 'blue-6': 'var(--j2-blue-6)',\n 'blue-7': 'var(--j2-blue-7)',\n 'blue-8': 'var(--j2-blue-8)',\n 'blue-9': 'var(--j2-blue-9)',\n 'blue-10': 'var(--j2-blue-10)',\n 'blue-11': 'var(--j2-blue-11)',\n 'blue-12': 'var(--j2-blue-12)',\n 'gray-1': 'var(--j2-gray-1)',\n 'gray-2': 'var(--j2-gray-2)',\n 'gray-3': 'var(--j2-gray-3)',\n 'gray-4': 'var(--j2-gray-4)',\n 'gray-5': 'var(--j2-gray-5)',\n 'gray-6': 'var(--j2-gray-6)',\n 'gray-7': 'var(--j2-gray-7)',\n 'gray-8': 'var(--j2-gray-8)',\n 'gray-9': 'var(--j2-gray-9)',\n 'gray-10': 'var(--j2-gray-10)',\n 'gray-11': 'var(--j2-gray-11)',\n 'gray-12': 'var(--j2-gray-12)',\n 'green-1': 'var(--j2-green-1)',\n 'green-2': 'var(--j2-green-2)',\n 'green-3': 'var(--j2-green-3)',\n 'green-4': 'var(--j2-green-4)',\n 'green-5': 'var(--j2-green-5)',\n 'green-6': 'var(--j2-green-6)',\n 'green-7': 'var(--j2-green-7)',\n 'green-8': 'var(--j2-green-8)',\n 'green-9': 'var(--j2-green-9)',\n 'green-10': 'var(--j2-green-10)',\n 'green-11': 'var(--j2-green-11)',\n 'green-12': 'var(--j2-green-12)',\n 'gold-1': 'var(--j2-gold-1)',\n 'gold-2': 'var(--j2-gold-2)',\n 'gold-3': 'var(--j2-gold-3)',\n 'gold-4': 'var(--j2-gold-4)',\n 'gold-5': 'var(--j2-gold-5)',\n 'gold-6': 'var(--j2-gold-6)',\n 'gold-7': 'var(--j2-gold-7)',\n 'gold-8': 'var(--j2-gold-8)',\n 'gold-9': 'var(--j2-gold-9)',\n 'gold-10': 'var(--j2-gold-10)',\n 'gold-11': 'var(--j2-gold-11)',\n 'gold-12': 'var(--j2-gold-12)',\n 'red-1': 'var(--j2-red-1)',\n 'red-2': 'var(--j2-red-2)',\n 'red-3': 'var(--j2-red-3)',\n 'red-4': 'var(--j2-red-4)',\n 'red-5': 'var(--j2-red-5)',\n 'red-6': 'var(--j2-red-6)',\n 'red-7': 'var(--j2-red-7)',\n 'red-8': 'var(--j2-red-8)',\n 'red-9': 'var(--j2-red-9)',\n 'red-10': 'var(--j2-red-10)',\n 'red-11': 'var(--j2-red-11)',\n 'red-12': 'var(--j2-red-12)',\n\n // Primary color tokens\n primary: 'var(--j2-color-primary)',\n 'primary-hover': 'var(--j2-color-primary-hover)',\n 'primary-active': 'var(--j2-color-primary-active)',\n 'primary-bg': 'var(--j2-color-primary-bg)',\n 'primary-bg-hover': 'var(--j2-color-primary-bg-hover)',\n 'primary-border': 'var(--j2-color-primary-border)',\n 'primary-border-hover': 'var(--j2-color-primary-border-hover)',\n 'primary-text': 'var(--j2-color-primary-text)',\n 'primary-text-hover': 'var(--j2-color-primary-text-hover)',\n 'primary-text-active': 'var(--j2-color-primary-text-active)',\n\n // Text color tokens\n text: 'var(--j2-color-text)',\n 'text-secondary': 'var(--j2-color-text-secondary)',\n 'text-tertiary': 'var(--j2-color-text-tertiary)',\n 'text-quaternary': 'var(--j2-color-text-quaternary)',\n 'text-heading': 'var(--j2-color-text-heading)',\n 'text-label': 'var(--j2-color-text-label)',\n 'text-description': 'var(--j2-color-text-description)',\n 'text-disabled': 'var(--j2-color-text-disabled)',\n 'text-placeholder': 'var(--j2-color-text-placeholder)',\n\n // Border color tokens\n border: 'var(--j2-color-border)',\n 'border-secondary': 'var(--j2-color-border-secondary)',\n\n // Background color tokens\n 'bg-layout': 'var(--j2-color-bg-layout)',\n 'bg-elevated': 'var(--j2-color-bg-elevated)',\n 'bg-mask': 'var(--j2-color-bg-mask)',\n 'bg-spotlight': 'var(--j2-color-bg-spotlight)',\n\n // Status colors\n success: 'var(--j2-color-success)',\n 'success-bg': 'var(--j2-color-success-bg)',\n 'success-bg-hover': 'var(--j2-color-success-bg-hover)',\n 'success-border': 'var(--j2-color-success-border)',\n warning: 'var(--j2-color-warning)',\n 'warning-bg': 'var(--j2-color-warning-bg)',\n 'warning-bg-hover': 'var(--j2-color-warning-bg-hover)',\n 'warning-border': 'var(--j2-color-warning-border)',\n error: 'var(--j2-color-error)',\n 'error-bg': 'var(--j2-color-error-bg)',\n 'error-bg-hover': 'var(--j2-color-error-bg-hover)',\n 'error-border': 'var(--j2-color-error-border)',\n info: 'var(--j2-color-info)',\n 'info-bg': 'var(--j2-color-info-bg)',\n 'info-bg-hover': 'var(--j2-color-info-bg-hover)',\n 'info-border': 'var(--j2-color-info-border)',\n\n // Icon colors\n icon: 'var(--j2-color-icon)',\n 'icon-hover': 'var(--j2-color-icon-hover)',\n },\n },\n extend: {\n borderColor: {\n DEFAULT: 'var(--j2-color-border)',\n },\n fontWeight: {\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '600',\n },\n borderWidth: {\n j2: 'var(--j2-line-width)',\n 'j2-bold': 'var(--j2-line-width-bold)',\n 'j2-focus': 'var(--j2-line-width-focus)',\n },\n borderRadius: {\n j2: 'var(--j2-border-radius)',\n 'j2-lg': 'var(--j2-border-radius-lg)',\n 'j2-sm': 'var(--j2-border-radius-sm)',\n 'j2-xs': 'var(--j2-border-radius-xs)',\n },\n fontSize: {\n 'j2-xs': [\n 'var(--j2-font-size-xs)',\n { lineHeight: 'var(--j2-line-height-xs)' },\n ] as [string, { lineHeight: string }],\n },\n spacing: {\n j2: 'var(--j2-size)',\n 'j2-xs': 'var(--j2-size-xs)',\n 'j2-sm': 'var(--j2-size-sm)',\n 'j2-md': 'var(--j2-size-md)',\n 'j2-lg': 'var(--j2-size-lg)',\n 'j2-xl': 'var(--j2-size-xl)',\n 'j2-xxl': 'var(--j2-size-xxl)',\n },\n },\n },\n}\n\n// Default export for this project's own Tailwind config\nexport default {\n ...tailwindPreset,\n content: ['./src/**/*.{ts,tsx,mdx}'],\n plugins: [],\n} satisfies Config\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
export declare const tailwindPreset: {
|
|
2
|
+
theme: {
|
|
3
|
+
colors: {
|
|
4
|
+
transparent: "transparent";
|
|
5
|
+
current: "currentColor";
|
|
6
|
+
white: "#fff";
|
|
7
|
+
black: "#000";
|
|
8
|
+
j2: {
|
|
9
|
+
'blue-1': string;
|
|
10
|
+
'blue-2': string;
|
|
11
|
+
'blue-3': string;
|
|
12
|
+
'blue-4': string;
|
|
13
|
+
'blue-5': string;
|
|
14
|
+
'blue-6': string;
|
|
15
|
+
'blue-7': string;
|
|
16
|
+
'blue-8': string;
|
|
17
|
+
'blue-9': string;
|
|
18
|
+
'blue-10': string;
|
|
19
|
+
'blue-11': string;
|
|
20
|
+
'blue-12': string;
|
|
21
|
+
'gray-1': string;
|
|
22
|
+
'gray-2': string;
|
|
23
|
+
'gray-3': string;
|
|
24
|
+
'gray-4': string;
|
|
25
|
+
'gray-5': string;
|
|
26
|
+
'gray-6': string;
|
|
27
|
+
'gray-7': string;
|
|
28
|
+
'gray-8': string;
|
|
29
|
+
'gray-9': string;
|
|
30
|
+
'gray-10': string;
|
|
31
|
+
'gray-11': string;
|
|
32
|
+
'gray-12': string;
|
|
33
|
+
'green-1': string;
|
|
34
|
+
'green-2': string;
|
|
35
|
+
'green-3': string;
|
|
36
|
+
'green-4': string;
|
|
37
|
+
'green-5': string;
|
|
38
|
+
'green-6': string;
|
|
39
|
+
'green-7': string;
|
|
40
|
+
'green-8': string;
|
|
41
|
+
'green-9': string;
|
|
42
|
+
'green-10': string;
|
|
43
|
+
'green-11': string;
|
|
44
|
+
'green-12': string;
|
|
45
|
+
'gold-1': string;
|
|
46
|
+
'gold-2': string;
|
|
47
|
+
'gold-3': string;
|
|
48
|
+
'gold-4': string;
|
|
49
|
+
'gold-5': string;
|
|
50
|
+
'gold-6': string;
|
|
51
|
+
'gold-7': string;
|
|
52
|
+
'gold-8': string;
|
|
53
|
+
'gold-9': string;
|
|
54
|
+
'gold-10': string;
|
|
55
|
+
'gold-11': string;
|
|
56
|
+
'gold-12': string;
|
|
57
|
+
'red-1': string;
|
|
58
|
+
'red-2': string;
|
|
59
|
+
'red-3': string;
|
|
60
|
+
'red-4': string;
|
|
61
|
+
'red-5': string;
|
|
62
|
+
'red-6': string;
|
|
63
|
+
'red-7': string;
|
|
64
|
+
'red-8': string;
|
|
65
|
+
'red-9': string;
|
|
66
|
+
'red-10': string;
|
|
67
|
+
'red-11': string;
|
|
68
|
+
'red-12': string;
|
|
69
|
+
primary: string;
|
|
70
|
+
'primary-hover': string;
|
|
71
|
+
'primary-active': string;
|
|
72
|
+
'primary-bg': string;
|
|
73
|
+
'primary-bg-hover': string;
|
|
74
|
+
'primary-border': string;
|
|
75
|
+
'primary-border-hover': string;
|
|
76
|
+
'primary-text': string;
|
|
77
|
+
'primary-text-hover': string;
|
|
78
|
+
'primary-text-active': string;
|
|
79
|
+
text: string;
|
|
80
|
+
'text-secondary': string;
|
|
81
|
+
'text-tertiary': string;
|
|
82
|
+
'text-quaternary': string;
|
|
83
|
+
'text-heading': string;
|
|
84
|
+
'text-label': string;
|
|
85
|
+
'text-description': string;
|
|
86
|
+
'text-disabled': string;
|
|
87
|
+
'text-placeholder': string;
|
|
88
|
+
border: string;
|
|
89
|
+
'border-secondary': string;
|
|
90
|
+
'bg-layout': string;
|
|
91
|
+
'bg-elevated': string;
|
|
92
|
+
'bg-mask': string;
|
|
93
|
+
'bg-spotlight': string;
|
|
94
|
+
success: string;
|
|
95
|
+
'success-bg': string;
|
|
96
|
+
'success-bg-hover': string;
|
|
97
|
+
'success-border': string;
|
|
98
|
+
warning: string;
|
|
99
|
+
'warning-bg': string;
|
|
100
|
+
'warning-bg-hover': string;
|
|
101
|
+
'warning-border': string;
|
|
102
|
+
error: string;
|
|
103
|
+
'error-bg': string;
|
|
104
|
+
'error-bg-hover': string;
|
|
105
|
+
'error-border': string;
|
|
106
|
+
info: string;
|
|
107
|
+
'info-bg': string;
|
|
108
|
+
'info-bg-hover': string;
|
|
109
|
+
'info-border': string;
|
|
110
|
+
icon: string;
|
|
111
|
+
'icon-hover': string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
extend: {
|
|
115
|
+
borderColor: {
|
|
116
|
+
DEFAULT: string;
|
|
117
|
+
};
|
|
118
|
+
fontWeight: {
|
|
119
|
+
normal: string;
|
|
120
|
+
medium: string;
|
|
121
|
+
semibold: string;
|
|
122
|
+
bold: string;
|
|
123
|
+
};
|
|
124
|
+
borderWidth: {
|
|
125
|
+
j2: string;
|
|
126
|
+
'j2-bold': string;
|
|
127
|
+
'j2-focus': string;
|
|
128
|
+
};
|
|
129
|
+
borderRadius: {
|
|
130
|
+
j2: string;
|
|
131
|
+
'j2-lg': string;
|
|
132
|
+
'j2-sm': string;
|
|
133
|
+
'j2-xs': string;
|
|
134
|
+
};
|
|
135
|
+
fontSize: {
|
|
136
|
+
'j2-xs': [string, {
|
|
137
|
+
lineHeight: string;
|
|
138
|
+
}];
|
|
139
|
+
};
|
|
140
|
+
spacing: {
|
|
141
|
+
j2: string;
|
|
142
|
+
'j2-xs': string;
|
|
143
|
+
'j2-sm': string;
|
|
144
|
+
'j2-md': string;
|
|
145
|
+
'j2-lg': string;
|
|
146
|
+
'j2-xl': string;
|
|
147
|
+
'j2-xxl': string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
declare const _default: {
|
|
153
|
+
content: string[];
|
|
154
|
+
plugins: never[];
|
|
155
|
+
theme: {
|
|
156
|
+
colors: {
|
|
157
|
+
transparent: "transparent";
|
|
158
|
+
current: "currentColor";
|
|
159
|
+
white: "#fff";
|
|
160
|
+
black: "#000";
|
|
161
|
+
j2: {
|
|
162
|
+
'blue-1': string;
|
|
163
|
+
'blue-2': string;
|
|
164
|
+
'blue-3': string;
|
|
165
|
+
'blue-4': string;
|
|
166
|
+
'blue-5': string;
|
|
167
|
+
'blue-6': string;
|
|
168
|
+
'blue-7': string;
|
|
169
|
+
'blue-8': string;
|
|
170
|
+
'blue-9': string;
|
|
171
|
+
'blue-10': string;
|
|
172
|
+
'blue-11': string;
|
|
173
|
+
'blue-12': string;
|
|
174
|
+
'gray-1': string;
|
|
175
|
+
'gray-2': string;
|
|
176
|
+
'gray-3': string;
|
|
177
|
+
'gray-4': string;
|
|
178
|
+
'gray-5': string;
|
|
179
|
+
'gray-6': string;
|
|
180
|
+
'gray-7': string;
|
|
181
|
+
'gray-8': string;
|
|
182
|
+
'gray-9': string;
|
|
183
|
+
'gray-10': string;
|
|
184
|
+
'gray-11': string;
|
|
185
|
+
'gray-12': string;
|
|
186
|
+
'green-1': string;
|
|
187
|
+
'green-2': string;
|
|
188
|
+
'green-3': string;
|
|
189
|
+
'green-4': string;
|
|
190
|
+
'green-5': string;
|
|
191
|
+
'green-6': string;
|
|
192
|
+
'green-7': string;
|
|
193
|
+
'green-8': string;
|
|
194
|
+
'green-9': string;
|
|
195
|
+
'green-10': string;
|
|
196
|
+
'green-11': string;
|
|
197
|
+
'green-12': string;
|
|
198
|
+
'gold-1': string;
|
|
199
|
+
'gold-2': string;
|
|
200
|
+
'gold-3': string;
|
|
201
|
+
'gold-4': string;
|
|
202
|
+
'gold-5': string;
|
|
203
|
+
'gold-6': string;
|
|
204
|
+
'gold-7': string;
|
|
205
|
+
'gold-8': string;
|
|
206
|
+
'gold-9': string;
|
|
207
|
+
'gold-10': string;
|
|
208
|
+
'gold-11': string;
|
|
209
|
+
'gold-12': string;
|
|
210
|
+
'red-1': string;
|
|
211
|
+
'red-2': string;
|
|
212
|
+
'red-3': string;
|
|
213
|
+
'red-4': string;
|
|
214
|
+
'red-5': string;
|
|
215
|
+
'red-6': string;
|
|
216
|
+
'red-7': string;
|
|
217
|
+
'red-8': string;
|
|
218
|
+
'red-9': string;
|
|
219
|
+
'red-10': string;
|
|
220
|
+
'red-11': string;
|
|
221
|
+
'red-12': string;
|
|
222
|
+
primary: string;
|
|
223
|
+
'primary-hover': string;
|
|
224
|
+
'primary-active': string;
|
|
225
|
+
'primary-bg': string;
|
|
226
|
+
'primary-bg-hover': string;
|
|
227
|
+
'primary-border': string;
|
|
228
|
+
'primary-border-hover': string;
|
|
229
|
+
'primary-text': string;
|
|
230
|
+
'primary-text-hover': string;
|
|
231
|
+
'primary-text-active': string;
|
|
232
|
+
text: string;
|
|
233
|
+
'text-secondary': string;
|
|
234
|
+
'text-tertiary': string;
|
|
235
|
+
'text-quaternary': string;
|
|
236
|
+
'text-heading': string;
|
|
237
|
+
'text-label': string;
|
|
238
|
+
'text-description': string;
|
|
239
|
+
'text-disabled': string;
|
|
240
|
+
'text-placeholder': string;
|
|
241
|
+
border: string;
|
|
242
|
+
'border-secondary': string;
|
|
243
|
+
'bg-layout': string;
|
|
244
|
+
'bg-elevated': string;
|
|
245
|
+
'bg-mask': string;
|
|
246
|
+
'bg-spotlight': string;
|
|
247
|
+
success: string;
|
|
248
|
+
'success-bg': string;
|
|
249
|
+
'success-bg-hover': string;
|
|
250
|
+
'success-border': string;
|
|
251
|
+
warning: string;
|
|
252
|
+
'warning-bg': string;
|
|
253
|
+
'warning-bg-hover': string;
|
|
254
|
+
'warning-border': string;
|
|
255
|
+
error: string;
|
|
256
|
+
'error-bg': string;
|
|
257
|
+
'error-bg-hover': string;
|
|
258
|
+
'error-border': string;
|
|
259
|
+
info: string;
|
|
260
|
+
'info-bg': string;
|
|
261
|
+
'info-bg-hover': string;
|
|
262
|
+
'info-border': string;
|
|
263
|
+
icon: string;
|
|
264
|
+
'icon-hover': string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
extend: {
|
|
268
|
+
borderColor: {
|
|
269
|
+
DEFAULT: string;
|
|
270
|
+
};
|
|
271
|
+
fontWeight: {
|
|
272
|
+
normal: string;
|
|
273
|
+
medium: string;
|
|
274
|
+
semibold: string;
|
|
275
|
+
bold: string;
|
|
276
|
+
};
|
|
277
|
+
borderWidth: {
|
|
278
|
+
j2: string;
|
|
279
|
+
'j2-bold': string;
|
|
280
|
+
'j2-focus': string;
|
|
281
|
+
};
|
|
282
|
+
borderRadius: {
|
|
283
|
+
j2: string;
|
|
284
|
+
'j2-lg': string;
|
|
285
|
+
'j2-sm': string;
|
|
286
|
+
'j2-xs': string;
|
|
287
|
+
};
|
|
288
|
+
fontSize: {
|
|
289
|
+
'j2-xs': [string, {
|
|
290
|
+
lineHeight: string;
|
|
291
|
+
}];
|
|
292
|
+
};
|
|
293
|
+
spacing: {
|
|
294
|
+
j2: string;
|
|
295
|
+
'j2-xs': string;
|
|
296
|
+
'j2-sm': string;
|
|
297
|
+
'j2-md': string;
|
|
298
|
+
'j2-lg': string;
|
|
299
|
+
'j2-xl': string;
|
|
300
|
+
'j2-xxl': string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
export default _default;
|
package/dist/tailwind.js
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import colors from "tailwindcss/colors.js";
|
|
2
|
+
const tailwindPreset = {
|
|
3
|
+
theme: {
|
|
4
|
+
colors: {
|
|
5
|
+
transparent: colors.transparent,
|
|
6
|
+
current: colors.current,
|
|
7
|
+
white: colors.white,
|
|
8
|
+
black: colors.black,
|
|
9
|
+
j2: {
|
|
10
|
+
// Generic color definitions
|
|
11
|
+
"blue-1": "var(--j2-blue-1)",
|
|
12
|
+
"blue-2": "var(--j2-blue-2)",
|
|
13
|
+
"blue-3": "var(--j2-blue-3)",
|
|
14
|
+
"blue-4": "var(--j2-blue-4)",
|
|
15
|
+
"blue-5": "var(--j2-blue-5)",
|
|
16
|
+
"blue-6": "var(--j2-blue-6)",
|
|
17
|
+
"blue-7": "var(--j2-blue-7)",
|
|
18
|
+
"blue-8": "var(--j2-blue-8)",
|
|
19
|
+
"blue-9": "var(--j2-blue-9)",
|
|
20
|
+
"blue-10": "var(--j2-blue-10)",
|
|
21
|
+
"blue-11": "var(--j2-blue-11)",
|
|
22
|
+
"blue-12": "var(--j2-blue-12)",
|
|
23
|
+
"gray-1": "var(--j2-gray-1)",
|
|
24
|
+
"gray-2": "var(--j2-gray-2)",
|
|
25
|
+
"gray-3": "var(--j2-gray-3)",
|
|
26
|
+
"gray-4": "var(--j2-gray-4)",
|
|
27
|
+
"gray-5": "var(--j2-gray-5)",
|
|
28
|
+
"gray-6": "var(--j2-gray-6)",
|
|
29
|
+
"gray-7": "var(--j2-gray-7)",
|
|
30
|
+
"gray-8": "var(--j2-gray-8)",
|
|
31
|
+
"gray-9": "var(--j2-gray-9)",
|
|
32
|
+
"gray-10": "var(--j2-gray-10)",
|
|
33
|
+
"gray-11": "var(--j2-gray-11)",
|
|
34
|
+
"gray-12": "var(--j2-gray-12)",
|
|
35
|
+
"green-1": "var(--j2-green-1)",
|
|
36
|
+
"green-2": "var(--j2-green-2)",
|
|
37
|
+
"green-3": "var(--j2-green-3)",
|
|
38
|
+
"green-4": "var(--j2-green-4)",
|
|
39
|
+
"green-5": "var(--j2-green-5)",
|
|
40
|
+
"green-6": "var(--j2-green-6)",
|
|
41
|
+
"green-7": "var(--j2-green-7)",
|
|
42
|
+
"green-8": "var(--j2-green-8)",
|
|
43
|
+
"green-9": "var(--j2-green-9)",
|
|
44
|
+
"green-10": "var(--j2-green-10)",
|
|
45
|
+
"green-11": "var(--j2-green-11)",
|
|
46
|
+
"green-12": "var(--j2-green-12)",
|
|
47
|
+
"gold-1": "var(--j2-gold-1)",
|
|
48
|
+
"gold-2": "var(--j2-gold-2)",
|
|
49
|
+
"gold-3": "var(--j2-gold-3)",
|
|
50
|
+
"gold-4": "var(--j2-gold-4)",
|
|
51
|
+
"gold-5": "var(--j2-gold-5)",
|
|
52
|
+
"gold-6": "var(--j2-gold-6)",
|
|
53
|
+
"gold-7": "var(--j2-gold-7)",
|
|
54
|
+
"gold-8": "var(--j2-gold-8)",
|
|
55
|
+
"gold-9": "var(--j2-gold-9)",
|
|
56
|
+
"gold-10": "var(--j2-gold-10)",
|
|
57
|
+
"gold-11": "var(--j2-gold-11)",
|
|
58
|
+
"gold-12": "var(--j2-gold-12)",
|
|
59
|
+
"red-1": "var(--j2-red-1)",
|
|
60
|
+
"red-2": "var(--j2-red-2)",
|
|
61
|
+
"red-3": "var(--j2-red-3)",
|
|
62
|
+
"red-4": "var(--j2-red-4)",
|
|
63
|
+
"red-5": "var(--j2-red-5)",
|
|
64
|
+
"red-6": "var(--j2-red-6)",
|
|
65
|
+
"red-7": "var(--j2-red-7)",
|
|
66
|
+
"red-8": "var(--j2-red-8)",
|
|
67
|
+
"red-9": "var(--j2-red-9)",
|
|
68
|
+
"red-10": "var(--j2-red-10)",
|
|
69
|
+
"red-11": "var(--j2-red-11)",
|
|
70
|
+
"red-12": "var(--j2-red-12)",
|
|
71
|
+
// Primary color tokens
|
|
72
|
+
primary: "var(--j2-color-primary)",
|
|
73
|
+
"primary-hover": "var(--j2-color-primary-hover)",
|
|
74
|
+
"primary-active": "var(--j2-color-primary-active)",
|
|
75
|
+
"primary-bg": "var(--j2-color-primary-bg)",
|
|
76
|
+
"primary-bg-hover": "var(--j2-color-primary-bg-hover)",
|
|
77
|
+
"primary-border": "var(--j2-color-primary-border)",
|
|
78
|
+
"primary-border-hover": "var(--j2-color-primary-border-hover)",
|
|
79
|
+
"primary-text": "var(--j2-color-primary-text)",
|
|
80
|
+
"primary-text-hover": "var(--j2-color-primary-text-hover)",
|
|
81
|
+
"primary-text-active": "var(--j2-color-primary-text-active)",
|
|
82
|
+
// Text color tokens
|
|
83
|
+
text: "var(--j2-color-text)",
|
|
84
|
+
"text-secondary": "var(--j2-color-text-secondary)",
|
|
85
|
+
"text-tertiary": "var(--j2-color-text-tertiary)",
|
|
86
|
+
"text-quaternary": "var(--j2-color-text-quaternary)",
|
|
87
|
+
"text-heading": "var(--j2-color-text-heading)",
|
|
88
|
+
"text-label": "var(--j2-color-text-label)",
|
|
89
|
+
"text-description": "var(--j2-color-text-description)",
|
|
90
|
+
"text-disabled": "var(--j2-color-text-disabled)",
|
|
91
|
+
"text-placeholder": "var(--j2-color-text-placeholder)",
|
|
92
|
+
// Border color tokens
|
|
93
|
+
border: "var(--j2-color-border)",
|
|
94
|
+
"border-secondary": "var(--j2-color-border-secondary)",
|
|
95
|
+
// Background color tokens
|
|
96
|
+
"bg-layout": "var(--j2-color-bg-layout)",
|
|
97
|
+
"bg-elevated": "var(--j2-color-bg-elevated)",
|
|
98
|
+
"bg-mask": "var(--j2-color-bg-mask)",
|
|
99
|
+
"bg-spotlight": "var(--j2-color-bg-spotlight)",
|
|
100
|
+
// Status colors
|
|
101
|
+
success: "var(--j2-color-success)",
|
|
102
|
+
"success-bg": "var(--j2-color-success-bg)",
|
|
103
|
+
"success-bg-hover": "var(--j2-color-success-bg-hover)",
|
|
104
|
+
"success-border": "var(--j2-color-success-border)",
|
|
105
|
+
warning: "var(--j2-color-warning)",
|
|
106
|
+
"warning-bg": "var(--j2-color-warning-bg)",
|
|
107
|
+
"warning-bg-hover": "var(--j2-color-warning-bg-hover)",
|
|
108
|
+
"warning-border": "var(--j2-color-warning-border)",
|
|
109
|
+
error: "var(--j2-color-error)",
|
|
110
|
+
"error-bg": "var(--j2-color-error-bg)",
|
|
111
|
+
"error-bg-hover": "var(--j2-color-error-bg-hover)",
|
|
112
|
+
"error-border": "var(--j2-color-error-border)",
|
|
113
|
+
info: "var(--j2-color-info)",
|
|
114
|
+
"info-bg": "var(--j2-color-info-bg)",
|
|
115
|
+
"info-bg-hover": "var(--j2-color-info-bg-hover)",
|
|
116
|
+
"info-border": "var(--j2-color-info-border)",
|
|
117
|
+
// Icon colors
|
|
118
|
+
icon: "var(--j2-color-icon)",
|
|
119
|
+
"icon-hover": "var(--j2-color-icon-hover)"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
extend: {
|
|
123
|
+
borderColor: {
|
|
124
|
+
DEFAULT: "var(--j2-color-border)"
|
|
125
|
+
},
|
|
126
|
+
fontWeight: {
|
|
127
|
+
normal: "400",
|
|
128
|
+
medium: "500",
|
|
129
|
+
semibold: "600",
|
|
130
|
+
bold: "600"
|
|
131
|
+
},
|
|
132
|
+
borderWidth: {
|
|
133
|
+
j2: "var(--j2-line-width)",
|
|
134
|
+
"j2-bold": "var(--j2-line-width-bold)",
|
|
135
|
+
"j2-focus": "var(--j2-line-width-focus)"
|
|
136
|
+
},
|
|
137
|
+
borderRadius: {
|
|
138
|
+
j2: "var(--j2-border-radius)",
|
|
139
|
+
"j2-lg": "var(--j2-border-radius-lg)",
|
|
140
|
+
"j2-sm": "var(--j2-border-radius-sm)",
|
|
141
|
+
"j2-xs": "var(--j2-border-radius-xs)"
|
|
142
|
+
},
|
|
143
|
+
fontSize: {
|
|
144
|
+
"j2-xs": [
|
|
145
|
+
"var(--j2-font-size-xs)",
|
|
146
|
+
{ lineHeight: "var(--j2-line-height-xs)" }
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
spacing: {
|
|
150
|
+
j2: "var(--j2-size)",
|
|
151
|
+
"j2-xs": "var(--j2-size-xs)",
|
|
152
|
+
"j2-sm": "var(--j2-size-sm)",
|
|
153
|
+
"j2-md": "var(--j2-size-md)",
|
|
154
|
+
"j2-lg": "var(--j2-size-lg)",
|
|
155
|
+
"j2-xl": "var(--j2-size-xl)",
|
|
156
|
+
"j2-xxl": "var(--j2-size-xxl)"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
const tailwind_config = {
|
|
162
|
+
...tailwindPreset,
|
|
163
|
+
content: ["./src/**/*.{ts,tsx,mdx}"],
|
|
164
|
+
plugins: []
|
|
165
|
+
};
|
|
166
|
+
export {
|
|
167
|
+
tailwind_config as default,
|
|
168
|
+
tailwindPreset
|
|
169
|
+
};
|
|
170
|
+
//# sourceMappingURL=tailwind.js.map
|