@okshaun/components 1.0.2 → 2.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/.mcp.json +2 -5
- package/dist/icon-metadata.json +5173 -0
- package/dist/index.js +17126 -9342
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +693 -0
- package/dist/playroom-static.css +187432 -0
- package/dist/{preset-DCCViEDs.js → preset-Coz-VwQR.js} +3535 -2697
- package/dist/preset-Coz-VwQR.js.map +1 -0
- package/dist/preset.js +1 -1
- package/dist/specs/color-palette.json +22 -1
- package/dist/specs/patterns.json +0 -16
- package/dist/specs/recipes.json +411 -247
- package/dist/specs/semantic-tokens.json +330 -115
- package/dist/specs/text-styles.json +72 -0
- package/dist/specs/tokens.json +237 -27
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +6662 -320
- package/dist/styles.css +36938 -5
- package/dist/svgs/calendar-lock.svg +1 -0
- package/dist/svgs/computer.svg +1 -0
- package/dist/svgs/cookie.svg +1 -0
- package/dist/svgs/folder-check.svg +1 -0
- package/dist/svgs/folder-copy.svg +1 -0
- package/dist/svgs/folder-dashed.svg +1 -0
- package/dist/svgs/folder-open.svg +1 -0
- package/dist/svgs/folder-topic.svg +1 -0
- package/dist/svgs/folder.svg +1 -0
- package/dist/svgs/mobile.svg +1 -0
- package/dist/svgs/numpad.svg +1 -0
- package/dist/svgs/phone.svg +1 -0
- package/dist/svgs/qr-code.svg +1 -0
- package/dist/svgs/sparkle.svg +1 -0
- package/dist/svgs/trolley.svg +1 -0
- package/dist/types/index.d.ts +836 -342
- package/package.json +49 -24
- package/src/recipes/avatar.ts +98 -98
- package/src/recipes/badge.ts +22 -39
- package/src/recipes/box.ts +1 -7
- package/src/recipes/breadcrumbs.ts +42 -25
- package/src/recipes/button.ts +151 -85
- package/src/recipes/card.ts +5 -1
- package/src/recipes/checkbox.ts +23 -24
- package/src/recipes/checkboxInput.ts +25 -0
- package/src/recipes/chip.ts +35 -37
- package/src/recipes/code.ts +4 -4
- package/src/recipes/datePicker.ts +223 -0
- package/src/recipes/divider.ts +38 -32
- package/src/recipes/formField.ts +41 -23
- package/src/recipes/highlightText.ts +14 -0
- package/src/recipes/icon.ts +13 -0
- package/src/recipes/list.ts +14 -0
- package/src/recipes/listItem.ts +310 -0
- package/src/recipes/listItemGroup.ts +62 -0
- package/src/recipes/menu.ts +90 -163
- package/src/recipes/modal.ts +55 -25
- package/src/recipes/radio.ts +29 -20
- package/src/recipes/radioInput.ts +25 -0
- package/src/recipes/recipes-regular.ts +14 -0
- package/src/recipes/recipes-slot.ts +19 -0
- package/src/recipes/select.ts +1 -1
- package/src/recipes/spinner.ts +49 -23
- package/src/recipes/tag.ts +80 -84
- package/src/recipes/text.ts +18 -19
- package/src/recipes/textInput.ts +205 -0
- package/src/recipes/textarea.ts +65 -138
- package/src/recipes/themeSwitcher.ts +3 -3
- package/src/recipes/timePicker.ts +199 -0
- package/src/recipes/toggle.ts +72 -99
- package/src/recipes/toggleInput.ts +26 -0
- package/src/recipes/tooltip.ts +52 -343
- package/src/styles/index.css +1 -1
- package/src/styles/primitives/borders.ts +7 -1
- package/src/styles/primitives/colors.ts +51 -0
- package/src/styles/primitives/fontSizes.ts +1 -0
- package/src/styles/primitives/index.ts +2 -1
- package/src/styles/primitives/shadows.ts +9 -9
- package/src/styles/primitives/sizes.ts +1 -0
- package/src/styles/primitives/zIndex.ts +17 -0
- package/src/styles/semantics/colors.ts +137 -82
- package/src/styles/semantics/index.ts +1 -0
- package/src/styles/semantics/zIndex.ts +18 -0
- package/src/styles/utilities/breakpoints.ts +6 -6
- package/src/styles/utilities/index.ts +3 -0
- package/src/styles/utilities/textStyles.ts +70 -0
- package/src/utils/splitProps.ts +3 -3
- package/dist/preset-DCCViEDs.js.map +0 -1
- package/dist/styles/global.css +0 -148
- package/dist/styles/recipes/avatar.css +0 -185
- package/dist/styles/recipes/badge.css +0 -85
- package/dist/styles/recipes/breadcrumbs.css +0 -38
- package/dist/styles/recipes/button.css +0 -195
- package/dist/styles/recipes/card.css +0 -57
- package/dist/styles/recipes/checkbox-input.css +0 -12
- package/dist/styles/recipes/checkbox.css +0 -90
- package/dist/styles/recipes/chip.css +0 -137
- package/dist/styles/recipes/code.css +0 -12
- package/dist/styles/recipes/divider.css +0 -40
- package/dist/styles/recipes/form-field.css +0 -39
- package/dist/styles/recipes/heading.css +0 -40
- package/dist/styles/recipes/icon-button.css +0 -181
- package/dist/styles/recipes/label.css +0 -14
- package/dist/styles/recipes/link.css +0 -49
- package/dist/styles/recipes/menu.css +0 -141
- package/dist/styles/recipes/modal.css +0 -99
- package/dist/styles/recipes/pre.css +0 -16
- package/dist/styles/recipes/radio-input.css +0 -7
- package/dist/styles/recipes/radio.css +0 -82
- package/dist/styles/recipes/select.css +0 -103
- package/dist/styles/recipes/spinner.css +0 -36
- package/dist/styles/recipes/tag.css +0 -27
- package/dist/styles/recipes/text.css +0 -46
- package/dist/styles/recipes/textarea.css +0 -91
- package/dist/styles/recipes/textinput.css +0 -87
- package/dist/styles/recipes/theme-switcher.css +0 -53
- package/dist/styles/recipes/toggle-input.css +0 -12
- package/dist/styles/recipes/toggle.css +0 -125
- package/dist/styles/recipes/tooltip.css +0 -133
- package/dist/styles/recipes.css +0 -30
- package/dist/styles/reset.css +0 -1
- package/dist/styles/tokens.css +0 -1016
- package/dist/styles/utilities.css +0 -1694
- package/src/recipes/checkboxinput.ts +0 -15
- package/src/recipes/index.ts +0 -28
- package/src/recipes/radioinput.ts +0 -12
- package/src/recipes/textinput.ts +0 -100
- package/src/recipes/toggleinput.ts +0 -16
- package/src/utils/injectSprite.ts +0 -36
- package/src/utils/spriteContent.ts +0 -4
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
const datePickerBase = {
|
|
4
|
+
root: {
|
|
5
|
+
display: 'inline-flex',
|
|
6
|
+
flexDirection: 'column',
|
|
7
|
+
position: 'relative',
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
// The segmented input container — visually identical to textinput
|
|
11
|
+
input: {
|
|
12
|
+
display: 'inline-flex',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
gap: '2',
|
|
15
|
+
width: 'full',
|
|
16
|
+
borderWidth: '1',
|
|
17
|
+
borderStyle: 'solid',
|
|
18
|
+
borderColor: 'border.input',
|
|
19
|
+
borderRadius: '4',
|
|
20
|
+
outlineWidth: '2',
|
|
21
|
+
outlineOffset: '-1',
|
|
22
|
+
outlineStyle: 'solid',
|
|
23
|
+
outlineColor: 'transparent',
|
|
24
|
+
bg: 'bg.input',
|
|
25
|
+
color: 'text',
|
|
26
|
+
fontFamily: 'mono',
|
|
27
|
+
lineHeight: 'default',
|
|
28
|
+
cursor: 'text',
|
|
29
|
+
userSelect: 'none',
|
|
30
|
+
transitionDuration: 'fast',
|
|
31
|
+
transitionProperty: 'background, border-color, outline-color',
|
|
32
|
+
transitionTimingFunction: 'default',
|
|
33
|
+
_focusWithin: {
|
|
34
|
+
bg: 'bg.input.pressed',
|
|
35
|
+
borderColor: 'border.focused',
|
|
36
|
+
outlineColor: 'border.focused',
|
|
37
|
+
},
|
|
38
|
+
_open: {
|
|
39
|
+
bg: 'bg.input.pressed',
|
|
40
|
+
borderColor: 'border.focused',
|
|
41
|
+
outlineColor: 'border.focused',
|
|
42
|
+
},
|
|
43
|
+
_disabled: {
|
|
44
|
+
bg: 'bg.disabled',
|
|
45
|
+
borderColor: 'border.disabled',
|
|
46
|
+
color: 'text.disabled',
|
|
47
|
+
cursor: 'not-allowed',
|
|
48
|
+
pointerEvents: 'none',
|
|
49
|
+
},
|
|
50
|
+
_error: {
|
|
51
|
+
borderColor: 'border.danger',
|
|
52
|
+
_hover: {
|
|
53
|
+
borderColor: 'border.danger',
|
|
54
|
+
},
|
|
55
|
+
_focusWithin: {
|
|
56
|
+
borderColor: 'border.danger',
|
|
57
|
+
outlineColor: 'border.danger',
|
|
58
|
+
},
|
|
59
|
+
_open: {
|
|
60
|
+
borderColor: 'border.danger',
|
|
61
|
+
outlineColor: 'border.danger',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
// Individual focusable segment span (MM, DD, YYYY)
|
|
67
|
+
segment: {
|
|
68
|
+
display: 'inline-flex',
|
|
69
|
+
alignItems: 'center',
|
|
70
|
+
justifyContent: 'center',
|
|
71
|
+
outline: 'none',
|
|
72
|
+
borderRadius: '{sizes.2}',
|
|
73
|
+
cursor: 'default',
|
|
74
|
+
userSelect: 'none',
|
|
75
|
+
fontFamily: 'mono',
|
|
76
|
+
fontVariantsProperty: 'mono',
|
|
77
|
+
fontVariantNumeric: 'tabular-nums',
|
|
78
|
+
minWidth: '{sizes.24}',
|
|
79
|
+
textAlign: 'center',
|
|
80
|
+
color: 'text',
|
|
81
|
+
_focusVisible: {
|
|
82
|
+
bg: 'bg.neutral.hovered',
|
|
83
|
+
},
|
|
84
|
+
_groupDisabled: {
|
|
85
|
+
color: 'text.disabled',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
// The "/" or " " literal between date segments
|
|
90
|
+
separator: {
|
|
91
|
+
color: 'text.placeholder',
|
|
92
|
+
userSelect: 'none',
|
|
93
|
+
display: 'inline-flex',
|
|
94
|
+
alignItems: 'center',
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
// The floating calendar container
|
|
98
|
+
popover: {
|
|
99
|
+
display: 'flex',
|
|
100
|
+
flexDirection: 'column',
|
|
101
|
+
bg: 'surface.overlay',
|
|
102
|
+
borderWidth: '1',
|
|
103
|
+
borderStyle: 'solid',
|
|
104
|
+
borderColor: 'border',
|
|
105
|
+
borderRadius: '8',
|
|
106
|
+
boxShadow: 'overlay',
|
|
107
|
+
zIndex: '1000',
|
|
108
|
+
width: '280',
|
|
109
|
+
overflow: 'hidden',
|
|
110
|
+
outline: 'none',
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
// Month/year navigation row
|
|
114
|
+
calendarHeader: {
|
|
115
|
+
fontFamily: 'mono',
|
|
116
|
+
display: 'flex',
|
|
117
|
+
alignItems: 'center',
|
|
118
|
+
justifyContent: 'space-between',
|
|
119
|
+
px: '8',
|
|
120
|
+
py: '8',
|
|
121
|
+
borderBottom: 'default',
|
|
122
|
+
gap: '4',
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
// 7-column grid for the days
|
|
126
|
+
calendarGrid: {
|
|
127
|
+
display: 'grid',
|
|
128
|
+
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
129
|
+
gap: '2',
|
|
130
|
+
px: '8',
|
|
131
|
+
py: '4',
|
|
132
|
+
pb: '8',
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
// Su Mo Tu We Th Fr Sa column headers
|
|
136
|
+
weekdayLabel: {
|
|
137
|
+
display: 'flex',
|
|
138
|
+
alignItems: 'center',
|
|
139
|
+
justifyContent: 'center',
|
|
140
|
+
userSelect: 'none',
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
// Individual day button in the grid
|
|
144
|
+
day: {
|
|
145
|
+
alignItems: 'center',
|
|
146
|
+
justifyContent: 'center',
|
|
147
|
+
fontFamily: 'mono',
|
|
148
|
+
width: '32',
|
|
149
|
+
height: '32',
|
|
150
|
+
_today: {
|
|
151
|
+
fontWeight: 'bold',
|
|
152
|
+
color: 'text.selected',
|
|
153
|
+
bg: 'bg.selected',
|
|
154
|
+
},
|
|
155
|
+
_selected: {
|
|
156
|
+
bg: 'bg.selected.bold',
|
|
157
|
+
color: 'text.inverse',
|
|
158
|
+
_hover: {
|
|
159
|
+
bg: 'bg.selected.bold.hovered',
|
|
160
|
+
},
|
|
161
|
+
_today: {
|
|
162
|
+
bg: 'bg.selected.bold',
|
|
163
|
+
color: 'text.inverse',
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
_unavailable: {
|
|
167
|
+
color: 'text.disabled',
|
|
168
|
+
cursor: 'not-allowed',
|
|
169
|
+
pointerEvents: 'none',
|
|
170
|
+
_hover: {
|
|
171
|
+
bg: 'transparent',
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
const datePickerVariants = {
|
|
178
|
+
size: {
|
|
179
|
+
sm: {
|
|
180
|
+
input: {
|
|
181
|
+
py: '0',
|
|
182
|
+
px: '8',
|
|
183
|
+
fontSize: '14',
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
md: {
|
|
187
|
+
input: {
|
|
188
|
+
py: '3',
|
|
189
|
+
px: '10',
|
|
190
|
+
fontSize: '16',
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
lg: {
|
|
194
|
+
input: {
|
|
195
|
+
py: '7',
|
|
196
|
+
px: '12',
|
|
197
|
+
fontSize: '16',
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
export const datePickerRecipe = defineSlotRecipe({
|
|
204
|
+
className: 'datePicker',
|
|
205
|
+
jsx: ['DatePicker', 'DateRangePicker'],
|
|
206
|
+
slots: [
|
|
207
|
+
'root',
|
|
208
|
+
'input',
|
|
209
|
+
'segment',
|
|
210
|
+
'separator',
|
|
211
|
+
'popover',
|
|
212
|
+
'calendarHeader',
|
|
213
|
+
'navButton',
|
|
214
|
+
'calendarGrid',
|
|
215
|
+
'weekdayLabel',
|
|
216
|
+
'day',
|
|
217
|
+
],
|
|
218
|
+
base: datePickerBase,
|
|
219
|
+
variants: datePickerVariants,
|
|
220
|
+
defaultVariants: {
|
|
221
|
+
size: 'md',
|
|
222
|
+
},
|
|
223
|
+
});
|
package/src/recipes/divider.ts
CHANGED
|
@@ -1,40 +1,46 @@
|
|
|
1
1
|
import { defineRecipe } from '@pandacss/dev';
|
|
2
2
|
|
|
3
|
-
const dividerBase = {
|
|
4
|
-
'--divider-weight': 'sizes.1',
|
|
5
|
-
borderStyle: 'solid',
|
|
6
|
-
color: 'border.default',
|
|
7
|
-
borderColor: 'current',
|
|
8
|
-
minWidth: '1',
|
|
9
|
-
minHeight: '1',
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const dividerVariants = {
|
|
13
|
-
direction: {
|
|
14
|
-
horizontal: {
|
|
15
|
-
width: 'stretch',
|
|
16
|
-
borderTopStyle: 'solid',
|
|
17
|
-
borderTopWidth: 'var(--divider-weight)',
|
|
18
|
-
},
|
|
19
|
-
vertical: {
|
|
20
|
-
height: 'stretch',
|
|
21
|
-
borderLeftStyle: 'solid',
|
|
22
|
-
borderLeftWidth: 'var(--divider-weight)',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
weight: {
|
|
26
|
-
thin: { '--divider-weight': 'sizes.1' },
|
|
27
|
-
medium: { '--divider-weight': 'sizes.2' },
|
|
28
|
-
thick: { '--divider-weight': 'sizes.4' },
|
|
29
|
-
thicker: { '--divider-weight': 'sizes.6' },
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
|
|
33
3
|
export const dividerRecipe = defineRecipe({
|
|
34
4
|
className: 'divider',
|
|
35
5
|
jsx: ['Divider'],
|
|
36
|
-
base:
|
|
37
|
-
|
|
6
|
+
base: {
|
|
7
|
+
borderStyle: 'solid',
|
|
8
|
+
color: 'border',
|
|
9
|
+
borderColor: 'current',
|
|
10
|
+
borderWidth: '0',
|
|
11
|
+
minWidth: '1',
|
|
12
|
+
minHeight: '1',
|
|
13
|
+
},
|
|
14
|
+
variants: {
|
|
15
|
+
direction: {
|
|
16
|
+
horizontal: {
|
|
17
|
+
width: 'stretch',
|
|
18
|
+
borderTopWidth: '{sizes.1}',
|
|
19
|
+
},
|
|
20
|
+
vertical: {
|
|
21
|
+
height: 'stretch',
|
|
22
|
+
borderLeftWidth: '{sizes.1}',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
weight: {
|
|
26
|
+
thin: {
|
|
27
|
+
borderTopWidth: '{sizes.1}',
|
|
28
|
+
borderLeftWidth: '{sizes.1}',
|
|
29
|
+
},
|
|
30
|
+
medium: {
|
|
31
|
+
borderTopWidth: '{sizes.2}',
|
|
32
|
+
borderLeftWidth: '{sizes.2}',
|
|
33
|
+
},
|
|
34
|
+
thick: {
|
|
35
|
+
borderTopWidth: '{sizes.4}',
|
|
36
|
+
borderLeftWidth: '{sizes.4}',
|
|
37
|
+
},
|
|
38
|
+
thicker: {
|
|
39
|
+
borderTopWidth: '{sizes.6}',
|
|
40
|
+
borderLeftWidth: '{sizes.6}',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
38
44
|
defaultVariants: {
|
|
39
45
|
direction: 'horizontal',
|
|
40
46
|
weight: 'thin',
|
package/src/recipes/formField.ts
CHANGED
|
@@ -1,60 +1,78 @@
|
|
|
1
1
|
import { defineSlotRecipe } from '@pandacss/dev';
|
|
2
2
|
|
|
3
3
|
const formFieldBase = {
|
|
4
|
-
|
|
4
|
+
container: {
|
|
5
5
|
_disabled: {
|
|
6
|
-
|
|
6
|
+
opacity: '0.4',
|
|
7
7
|
pointerEvents: 'none',
|
|
8
|
-
labelWrapper: {
|
|
9
|
-
'& p': {
|
|
10
|
-
color: 'text.disabled',
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
8
|
},
|
|
14
9
|
},
|
|
15
|
-
|
|
10
|
+
inputs: {
|
|
16
11
|
display: 'flex',
|
|
17
12
|
flexDirection: 'column',
|
|
18
|
-
gap: '
|
|
13
|
+
gap: '2',
|
|
19
14
|
},
|
|
20
15
|
labelWrapper: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
headLabel: {
|
|
26
|
-
display: 'flex',
|
|
27
|
-
gap: '4',
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
gap: '2',
|
|
28
18
|
},
|
|
29
19
|
};
|
|
30
20
|
|
|
31
21
|
const formFieldVariants = {
|
|
32
22
|
layout: {
|
|
33
23
|
default: {
|
|
34
|
-
|
|
24
|
+
container: {
|
|
35
25
|
display: 'flex',
|
|
36
26
|
flexDirection: 'column',
|
|
37
|
-
gap: '
|
|
27
|
+
gap: '2',
|
|
38
28
|
},
|
|
39
29
|
},
|
|
40
30
|
inline: {
|
|
41
|
-
|
|
31
|
+
container: {
|
|
42
32
|
display: 'grid',
|
|
43
|
-
|
|
33
|
+
columnGap: '12',
|
|
34
|
+
rowGap: '2',
|
|
44
35
|
gridTemplateColumns: 'auto 1fr',
|
|
36
|
+
gridTemplateRows: 'auto auto',
|
|
45
37
|
alignItems: 'start',
|
|
46
38
|
},
|
|
47
39
|
},
|
|
48
40
|
},
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
labelWrapper: {
|
|
44
|
+
'& [class=*-label]': {
|
|
45
|
+
fontSize: '14',
|
|
46
|
+
lineHeight: 'tight',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
md: {
|
|
51
|
+
labelWrapper: {
|
|
52
|
+
pt: '6',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
lg: {
|
|
56
|
+
labelWrapper: {
|
|
57
|
+
pt: '10',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
xl: {
|
|
61
|
+
labelWrapper: {
|
|
62
|
+
pt: '12',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
49
66
|
};
|
|
50
67
|
|
|
51
68
|
export const formFieldRecipe = defineSlotRecipe({
|
|
52
|
-
className: '
|
|
53
|
-
jsx: ['
|
|
54
|
-
slots: ['
|
|
69
|
+
className: 'formField',
|
|
70
|
+
jsx: ['FormField'],
|
|
71
|
+
slots: ['container', 'inputs', 'labelWrapper'],
|
|
55
72
|
base: formFieldBase,
|
|
56
73
|
variants: formFieldVariants,
|
|
57
74
|
defaultVariants: {
|
|
58
75
|
layout: 'default',
|
|
76
|
+
size: 'md',
|
|
59
77
|
},
|
|
60
78
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
export const highlightTextRecipe = defineRecipe({
|
|
4
|
+
className: 'highlightText',
|
|
5
|
+
jsx: ['HighlightText'],
|
|
6
|
+
base: {
|
|
7
|
+
bg: { base: 'orange.40/40', _dark: 'orange.60/40' },
|
|
8
|
+
color: 'text',
|
|
9
|
+
borderRadius: '2',
|
|
10
|
+
lineHeight: 'inherit',
|
|
11
|
+
mixBlendMode: { base: 'multiply', _dark: 'lighten' },
|
|
12
|
+
},
|
|
13
|
+
variants: {},
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
export const listRecipe = defineRecipe({
|
|
4
|
+
className: 'list',
|
|
5
|
+
jsx: ['List'],
|
|
6
|
+
base: {
|
|
7
|
+
display: 'flex',
|
|
8
|
+
flexDirection: 'column',
|
|
9
|
+
alignItems: 'start',
|
|
10
|
+
justifyContent: 'start',
|
|
11
|
+
gap: '0',
|
|
12
|
+
},
|
|
13
|
+
variants: {},
|
|
14
|
+
});
|