@mekari/pixel3-theme 0.2.2-dev.4 → 0.2.2-dev.6
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.js +285 -71
- package/dist/index.mjs +237 -23
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/dist/recipes/textlink.d.mts +5 -0
- package/dist/recipes/textlink.d.ts +5 -0
- package/dist/semanticTokens/colors.d.mts +7 -0
- package/dist/semanticTokens/colors.d.ts +7 -0
- package/dist/semanticTokens/index.d.mts +7 -0
- package/dist/semanticTokens/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/conditions.ts +3 -2
- package/src/fonts.ts +4 -4
- package/src/global-css.ts +3 -3
- package/src/index.ts +1 -1
- package/src/recipes/airene-button.ts +1 -1
- package/src/recipes/autocomplete.ts +23 -9
- package/src/recipes/avatar.ts +28 -20
- package/src/recipes/badge.ts +7 -7
- package/src/recipes/banner.ts +7 -7
- package/src/recipes/broadcast.ts +45 -19
- package/src/recipes/button.ts +7 -4
- package/src/recipes/carousel.ts +2 -6
- package/src/recipes/color-picker.ts +1 -1
- package/src/recipes/date-picker.ts +1 -1
- package/src/recipes/divider.ts +3 -3
- package/src/recipes/form-control.ts +3 -3
- package/src/recipes/index.ts +3 -1
- package/src/recipes/input.ts +23 -23
- package/src/recipes/modal.ts +3 -3
- package/src/recipes/popover.ts +4 -3
- package/src/recipes/rich-text-editor.ts +2 -2
- package/src/recipes/segmented-control.ts +14 -13
- package/src/recipes/select.ts +9 -9
- package/src/recipes/slider.ts +16 -11
- package/src/recipes/table.ts +5 -5
- package/src/recipes/tabs.ts +2 -2
- package/src/recipes/tag.ts +2 -1
- package/src/recipes/textarea.ts +1 -1
- package/src/recipes/textlink.ts +105 -0
- package/src/recipes/timeline.ts +31 -4
- package/src/recipes/toast.ts +29 -9
- package/src/recipes/toggle.ts +1 -1
- package/src/semanticTokens/colors.ts +8 -1
- package/src/semanticTokens/index.ts +1 -1
- package/src/semanticTokens/spacing.ts +12 -12
- package/src/tokens/colors.ts +2 -2
- package/src/tokens/spacing.ts +2 -2
- package/src/tokens/typography.ts +1 -1
- package/src/tokens-next/radii.ts +1 -1
- package/src/tokens-next/shadows.ts +16 -4
- package/src/tokens-next/spacing.ts +1 -1
package/src/recipes/modal.ts
CHANGED
|
@@ -55,7 +55,7 @@ export const modalSlotRecipe = defineSlotRecipe({
|
|
|
55
55
|
borderColor: 'border.bold',
|
|
56
56
|
color: 'text.default',
|
|
57
57
|
'&[data-modal-type="drawer"]': {
|
|
58
|
-
borderColor: 'border.default'
|
|
58
|
+
borderColor: 'border.default'
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -78,7 +78,7 @@ export const modalSlotRecipe = defineSlotRecipe({
|
|
|
78
78
|
},
|
|
79
79
|
'&[data-modal-presentation="drawer"]': {
|
|
80
80
|
borderTopLeftRadius: 'none',
|
|
81
|
-
borderTopRightRadius: 'none'
|
|
81
|
+
borderTopRightRadius: 'none'
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
closeButton: {
|
|
@@ -130,7 +130,7 @@ export const modalSlotRecipe = defineSlotRecipe({
|
|
|
130
130
|
borderRadius: 'md'
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
}
|
|
134
134
|
},
|
|
135
135
|
|
|
136
136
|
defaultVariants: {
|
package/src/recipes/popover.ts
CHANGED
|
@@ -21,7 +21,7 @@ const popoverContentRecipe = defineRecipe({
|
|
|
21
21
|
isDark: {
|
|
22
22
|
true: {
|
|
23
23
|
background: 'overlay',
|
|
24
|
-
color: 'white'
|
|
24
|
+
color: 'white'
|
|
25
25
|
},
|
|
26
26
|
false: {
|
|
27
27
|
background: 'white',
|
|
@@ -34,7 +34,8 @@ const popoverContentRecipe = defineRecipe({
|
|
|
34
34
|
defaultVariants: {
|
|
35
35
|
isDark: false,
|
|
36
36
|
isUnstyled: false
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
staticCss: ['*']
|
|
38
39
|
})
|
|
39
40
|
|
|
40
41
|
const popoverListRecipe = defineRecipe({
|
|
@@ -83,7 +84,7 @@ const popoverListItemRecipe = defineRecipe({
|
|
|
83
84
|
color: 'text.default'
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
|
-
|
|
87
|
+
'&[data-active="true"]': {
|
|
87
88
|
background: 'ice.50',
|
|
88
89
|
color: 'dark',
|
|
89
90
|
outline: 0,
|
|
@@ -59,7 +59,7 @@ const richTextEditorSlotRecipe = defineSlotRecipe({
|
|
|
59
59
|
},
|
|
60
60
|
_nextTheme: {
|
|
61
61
|
color: 'icon.default'
|
|
62
|
-
}
|
|
62
|
+
}
|
|
63
63
|
},
|
|
64
64
|
'& button.mp-popover-list-item': {
|
|
65
65
|
padding: '0',
|
|
@@ -134,7 +134,7 @@ const RTEStyleProviderRecipe = defineRecipe({
|
|
|
134
134
|
cursor: 'pointer',
|
|
135
135
|
textDecoration: 'underline',
|
|
136
136
|
_hover: {
|
|
137
|
-
color: 'blue.500'
|
|
137
|
+
color: 'blue.500'
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
'& ol, ul': {
|
|
@@ -20,7 +20,7 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
20
20
|
outline: '0px solid transparent',
|
|
21
21
|
padding: '1',
|
|
22
22
|
_nextTheme: {
|
|
23
|
-
borderColor: 'border.form'
|
|
23
|
+
borderColor: 'border.form'
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
item: {
|
|
@@ -57,7 +57,7 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
57
57
|
color: 'text.secondary',
|
|
58
58
|
backgroundColor: 'background.neutral.hovered',
|
|
59
59
|
'& > svg': {
|
|
60
|
-
color: 'icon.default'
|
|
60
|
+
color: 'icon.default'
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -68,7 +68,7 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
68
68
|
color: 'text.selected',
|
|
69
69
|
backgroundColor: 'background.brand.selected',
|
|
70
70
|
'& > svg': {
|
|
71
|
-
color: 'icon.selected'
|
|
71
|
+
color: 'icon.selected'
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
},
|
|
@@ -79,7 +79,7 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
79
79
|
color: 'text.disabled',
|
|
80
80
|
backgroundColor: 'background.disabled',
|
|
81
81
|
'& > svg': {
|
|
82
|
-
color: 'icon.disabled'
|
|
82
|
+
color: 'icon.disabled'
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
},
|
|
@@ -87,14 +87,15 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
87
87
|
{
|
|
88
88
|
color: 'blue.700'
|
|
89
89
|
},
|
|
90
|
-
'input[type=radio]:checked:focus-visible + &, input[type=radio][aria-checked=mixed]:focus-visible + &':
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
'input[type=radio]:checked:focus-visible + &, input[type=radio][aria-checked=mixed]:focus-visible + &':
|
|
91
|
+
{
|
|
92
|
+
color: 'blue.700',
|
|
93
|
+
boxShadow: 'outer',
|
|
94
|
+
_nextTheme: {
|
|
95
|
+
color: 'text.selected',
|
|
96
|
+
boxShadow: '0 0 0 2px {colors.border.focused}'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
98
99
|
'input[type=radio]:checked:disabled + &, input[type=radio][aria-checked=mixed]:disabled + &':
|
|
99
100
|
{
|
|
100
101
|
color: 'gray.400',
|
|
@@ -108,7 +109,7 @@ const segmentedControlSlotRecipe = defineSlotRecipe({
|
|
|
108
109
|
_nextTheme: {
|
|
109
110
|
color: 'text.secondary',
|
|
110
111
|
'& > svg': {
|
|
111
|
-
color: 'icon.default'
|
|
112
|
+
color: 'icon.default'
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
},
|
package/src/recipes/select.ts
CHANGED
|
@@ -55,8 +55,8 @@ const selectSlotRecipe = defineSlotRecipe({
|
|
|
55
55
|
_isFullWidth: {
|
|
56
56
|
width: 'full'
|
|
57
57
|
},
|
|
58
|
-
_placeholder: {
|
|
59
|
-
color: 'gray.400'
|
|
58
|
+
_placeholder: {
|
|
59
|
+
color: 'gray.400'
|
|
60
60
|
},
|
|
61
61
|
_nextTheme: {
|
|
62
62
|
backgroundColor: 'background.neutral',
|
|
@@ -72,13 +72,13 @@ const selectSlotRecipe = defineSlotRecipe({
|
|
|
72
72
|
borderColor: 'border.focused',
|
|
73
73
|
boxShadow: 'focus',
|
|
74
74
|
_hover: {
|
|
75
|
-
borderColor: 'border.focused'
|
|
75
|
+
borderColor: 'border.focused'
|
|
76
76
|
},
|
|
77
77
|
_invalid: {
|
|
78
78
|
borderColor: 'border.focused',
|
|
79
79
|
_hover: {
|
|
80
|
-
borderColor: 'border.focused'
|
|
81
|
-
}
|
|
80
|
+
borderColor: 'border.focused'
|
|
81
|
+
}
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
_disabled: {
|
|
@@ -87,14 +87,14 @@ const selectSlotRecipe = defineSlotRecipe({
|
|
|
87
87
|
borderColor: 'border.disabled',
|
|
88
88
|
_hover: {
|
|
89
89
|
borderColor: 'border.disabled',
|
|
90
|
-
backgroundColor: 'background.disabled'
|
|
91
|
-
}
|
|
90
|
+
backgroundColor: 'background.disabled'
|
|
91
|
+
}
|
|
92
92
|
},
|
|
93
93
|
_invalid: {
|
|
94
94
|
borderColor: 'border.danger'
|
|
95
95
|
},
|
|
96
|
-
_placeholder: {
|
|
97
|
-
borderColor: 'text.placeholder'
|
|
96
|
+
_placeholder: {
|
|
97
|
+
borderColor: 'text.placeholder'
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
},
|
package/src/recipes/slider.ts
CHANGED
|
@@ -21,7 +21,7 @@ const sliderSlotRecipe = defineSlotRecipe({
|
|
|
21
21
|
flexDirection: 'column',
|
|
22
22
|
gap: '10px'
|
|
23
23
|
},
|
|
24
|
-
labelWrapper: {
|
|
24
|
+
labelWrapper: {
|
|
25
25
|
display: 'flex',
|
|
26
26
|
justifyContent: 'space-between'
|
|
27
27
|
},
|
|
@@ -61,18 +61,20 @@ const sliderSlotRecipe = defineSlotRecipe({
|
|
|
61
61
|
boxShadow: 'focus',
|
|
62
62
|
|
|
63
63
|
_nextTheme: {
|
|
64
|
-
borderColor
|
|
65
|
-
boxShadow: 'focus'
|
|
66
|
-
}
|
|
64
|
+
borderColor: 'border.focused',
|
|
65
|
+
boxShadow: 'focus'
|
|
66
|
+
}
|
|
67
67
|
},
|
|
68
68
|
|
|
69
69
|
_disabled: {
|
|
70
70
|
'&::-webkit-slider-thumb': {
|
|
71
71
|
cursor: 'not-allowed',
|
|
72
|
-
background:
|
|
73
|
-
|
|
72
|
+
background:
|
|
73
|
+
'radial-gradient(circle, var(--mp-colors-gray-100) 40%, var(--mp-colors-white) 50%)',
|
|
74
|
+
|
|
74
75
|
_nextTheme: {
|
|
75
|
-
background:
|
|
76
|
+
background:
|
|
77
|
+
'radial-gradient(circle, var(--mp-colors-icon-disabled) 40%, var(--mp-colors-background-neutral) 50%)'
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
80
|
},
|
|
@@ -80,7 +82,7 @@ const sliderSlotRecipe = defineSlotRecipe({
|
|
|
80
82
|
'&[minpressed=true], &[maxpressed=true]': {
|
|
81
83
|
'&::-webkit-slider-thumb': {
|
|
82
84
|
borderColor: 'blue.400',
|
|
83
|
-
|
|
85
|
+
|
|
84
86
|
_nextTheme: {
|
|
85
87
|
borderColor: 'border.brand'
|
|
86
88
|
}
|
|
@@ -96,9 +98,11 @@ const sliderSlotRecipe = defineSlotRecipe({
|
|
|
96
98
|
borderRadius: 'full',
|
|
97
99
|
borderStyle: 'solid',
|
|
98
100
|
borderColor: 'gray.100',
|
|
99
|
-
background:
|
|
101
|
+
background:
|
|
102
|
+
'radial-gradient(circle, var(--mp-colors-blue-400) 40%, var(--mp-colors-white) 50%)',
|
|
100
103
|
boxShadow: 'sm',
|
|
101
|
-
filter:
|
|
104
|
+
filter:
|
|
105
|
+
'drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.05)) drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.10))',
|
|
102
106
|
transition: 'border-color 250ms',
|
|
103
107
|
|
|
104
108
|
_hover: {
|
|
@@ -111,7 +115,8 @@ const sliderSlotRecipe = defineSlotRecipe({
|
|
|
111
115
|
|
|
112
116
|
_nextTheme: {
|
|
113
117
|
borderColor: 'border.default',
|
|
114
|
-
background:
|
|
118
|
+
background:
|
|
119
|
+
'radial-gradient(circle, var(--mp-colors-border-brand) 40%, var(--mp-colors-background-neutral) 50%)'
|
|
115
120
|
}
|
|
116
121
|
}
|
|
117
122
|
}
|
package/src/recipes/table.ts
CHANGED
|
@@ -16,7 +16,7 @@ const tableRecipe = defineRecipe({
|
|
|
16
16
|
'& > td': {
|
|
17
17
|
backgroundColor: 'gray.50',
|
|
18
18
|
_nextTheme: {
|
|
19
|
-
background: 'background.neutral.hovered'
|
|
19
|
+
background: 'background.neutral.hovered'
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -45,7 +45,7 @@ const tableRecipe = defineRecipe({
|
|
|
45
45
|
'& th, & td': {
|
|
46
46
|
cursor: 'default',
|
|
47
47
|
paddingLeft: '2',
|
|
48
|
-
paddingRight: '4',
|
|
48
|
+
paddingRight: '4',
|
|
49
49
|
height: '52px',
|
|
50
50
|
textStyle: 'label.md',
|
|
51
51
|
textAlign: 'left',
|
|
@@ -56,21 +56,21 @@ const tableRecipe = defineRecipe({
|
|
|
56
56
|
_nextTheme: {
|
|
57
57
|
color: 'text.default',
|
|
58
58
|
borderBottomWidth: 'sm',
|
|
59
|
-
borderColor: 'border.default'
|
|
59
|
+
borderColor: 'border.default'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
'& th': {
|
|
63
63
|
fontWeight: 'semiBold',
|
|
64
64
|
background: 'gray.25',
|
|
65
65
|
_nextTheme: {
|
|
66
|
-
background: 'background.surface'
|
|
66
|
+
background: 'background.surface'
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
'& td': {
|
|
70
70
|
fontWeight: 'regular',
|
|
71
71
|
backgroundColor: 'white',
|
|
72
72
|
_nextTheme: {
|
|
73
|
-
background: 'background.neutral'
|
|
73
|
+
background: 'background.neutral'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
'& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]': {
|
package/src/recipes/tabs.ts
CHANGED
package/src/recipes/tag.ts
CHANGED
package/src/recipes/textarea.ts
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const textlinkRecipe = defineRecipe({
|
|
4
|
+
className: 'textlink',
|
|
5
|
+
jsx: ['MpTextlink', 'mp-textlink'],
|
|
6
|
+
base: {
|
|
7
|
+
display: 'inline-flex !important',
|
|
8
|
+
gap: '1',
|
|
9
|
+
py: '0 !important',
|
|
10
|
+
px: '2px !important',
|
|
11
|
+
backgroundColor: 'transparent !important',
|
|
12
|
+
textStyle: 'label.md !important',
|
|
13
|
+
_hover: {
|
|
14
|
+
textDecoration: 'underline'
|
|
15
|
+
},
|
|
16
|
+
_loading: {
|
|
17
|
+
background: 'white'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
variants: {
|
|
21
|
+
variant: {
|
|
22
|
+
primary: {
|
|
23
|
+
color: 'blue.400',
|
|
24
|
+
_hover: {
|
|
25
|
+
color: 'blue.400'
|
|
26
|
+
},
|
|
27
|
+
_active: {
|
|
28
|
+
color: 'blue.700'
|
|
29
|
+
},
|
|
30
|
+
_nextTheme: {
|
|
31
|
+
color: 'text.link',
|
|
32
|
+
_hover: {
|
|
33
|
+
color: 'text.link'
|
|
34
|
+
},
|
|
35
|
+
_active: {
|
|
36
|
+
color: 'text.link.pressed'
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
secondary: {
|
|
41
|
+
color: 'gray.400',
|
|
42
|
+
_hover: {
|
|
43
|
+
color: 'gray.400'
|
|
44
|
+
},
|
|
45
|
+
_active: {
|
|
46
|
+
color: 'gray.700'
|
|
47
|
+
},
|
|
48
|
+
_nextTheme: {
|
|
49
|
+
color: 'text.secondary',
|
|
50
|
+
_hover: {
|
|
51
|
+
color: 'text.secondary'
|
|
52
|
+
},
|
|
53
|
+
_active: {
|
|
54
|
+
color: 'text.secondary.pressed'
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
danger: {
|
|
59
|
+
color: 'red.400',
|
|
60
|
+
_hover: {
|
|
61
|
+
color: 'red.400'
|
|
62
|
+
},
|
|
63
|
+
_active: {
|
|
64
|
+
color: 'red.700'
|
|
65
|
+
},
|
|
66
|
+
_nextTheme: {
|
|
67
|
+
color: 'text.danger',
|
|
68
|
+
_hover: {
|
|
69
|
+
color: 'text.danger'
|
|
70
|
+
},
|
|
71
|
+
_active: {
|
|
72
|
+
color: 'text.danger.pressed'
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
compoundVariants: [
|
|
79
|
+
{
|
|
80
|
+
variant: ['primary', 'secondary', 'danger'],
|
|
81
|
+
css: {
|
|
82
|
+
_disabled: {
|
|
83
|
+
cursor: 'not-allowed',
|
|
84
|
+
color: 'gray.100',
|
|
85
|
+
_hover: {
|
|
86
|
+
color: 'gray.100',
|
|
87
|
+
textDecoration: 'none'
|
|
88
|
+
},
|
|
89
|
+
_nextTheme: {
|
|
90
|
+
color: 'text.disabled',
|
|
91
|
+
_hover: {
|
|
92
|
+
color: 'text.disabled',
|
|
93
|
+
textDecoration: 'none'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
_focusVisible: {
|
|
98
|
+
boxShadow: 'focus'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
})
|
|
104
|
+
|
|
105
|
+
export { textlinkRecipe }
|
package/src/recipes/timeline.ts
CHANGED
|
@@ -109,11 +109,13 @@ const timelineLogSlotRecipe = defineSlotRecipe({
|
|
|
109
109
|
base: {
|
|
110
110
|
root: {
|
|
111
111
|
display: 'flex',
|
|
112
|
-
flexDirection: 'column'
|
|
112
|
+
flexDirection: 'column',
|
|
113
|
+
gap: '1'
|
|
113
114
|
},
|
|
114
115
|
log: {
|
|
115
116
|
display: 'flex',
|
|
116
|
-
cursor: 'pointer'
|
|
117
|
+
cursor: 'pointer',
|
|
118
|
+
gap: '1'
|
|
117
119
|
},
|
|
118
120
|
logText: {
|
|
119
121
|
color: 'gray.400',
|
|
@@ -143,7 +145,11 @@ const timelineSeparatorSlotRecipe = defineSlotRecipe({
|
|
|
143
145
|
root: {
|
|
144
146
|
display: 'flex',
|
|
145
147
|
flexDirection: 'column',
|
|
146
|
-
alignItems: 'center'
|
|
148
|
+
alignItems: 'center',
|
|
149
|
+
'&[data-accordion-child=true]': {
|
|
150
|
+
alignItems: 'start',
|
|
151
|
+
marginLeft: '9px'
|
|
152
|
+
}
|
|
147
153
|
},
|
|
148
154
|
topConnector: {
|
|
149
155
|
height: '6px',
|
|
@@ -153,8 +159,20 @@ const timelineSeparatorSlotRecipe = defineSlotRecipe({
|
|
|
153
159
|
'&[data-position=first]': {
|
|
154
160
|
backgroundColor: 'transparent'
|
|
155
161
|
},
|
|
162
|
+
'&[data-hide=true]': {
|
|
163
|
+
backgroundColor: 'transparent'
|
|
164
|
+
},
|
|
165
|
+
'&[data-accordion-child=true]': {
|
|
166
|
+
roundedBottom: '',
|
|
167
|
+
},
|
|
156
168
|
_nextTheme: {
|
|
157
|
-
backgroundColor: 'border.default'
|
|
169
|
+
backgroundColor: 'border.default',
|
|
170
|
+
'&[data-position=first]': {
|
|
171
|
+
backgroundColor: 'transparent'
|
|
172
|
+
},
|
|
173
|
+
'&[data-hide=true]': {
|
|
174
|
+
backgroundColor: 'transparent'
|
|
175
|
+
},
|
|
158
176
|
}
|
|
159
177
|
},
|
|
160
178
|
bottomConnector: {
|
|
@@ -166,10 +184,19 @@ const timelineSeparatorSlotRecipe = defineSlotRecipe({
|
|
|
166
184
|
'&[data-position=last]': {
|
|
167
185
|
backgroundColor: 'transparent'
|
|
168
186
|
},
|
|
187
|
+
'&[data-hide=true]': {
|
|
188
|
+
backgroundColor: 'transparent'
|
|
189
|
+
},
|
|
190
|
+
'&[data-accordion-child=true]': {
|
|
191
|
+
roundedTop: '',
|
|
192
|
+
},
|
|
169
193
|
_nextTheme: {
|
|
170
194
|
backgroundColor: 'border.default',
|
|
171
195
|
'&[data-position=last]': {
|
|
172
196
|
backgroundColor: 'transparent'
|
|
197
|
+
},
|
|
198
|
+
'&[data-hide=true]': {
|
|
199
|
+
backgroundColor: 'transparent'
|
|
173
200
|
}
|
|
174
201
|
}
|
|
175
202
|
}
|
package/src/recipes/toast.ts
CHANGED
|
@@ -16,43 +16,63 @@ const toastSlotRecipe = defineSlotRecipe({
|
|
|
16
16
|
boxShadow: 'lg',
|
|
17
17
|
zIndex: '1700',
|
|
18
18
|
_nextTheme: {
|
|
19
|
-
backgroundColor: 'background.neutral'
|
|
19
|
+
backgroundColor: 'background.neutral'
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
label: {
|
|
23
23
|
color: 'dark',
|
|
24
24
|
fontSize: 'md',
|
|
25
25
|
_nextTheme: {
|
|
26
|
-
color: 'text.default'
|
|
26
|
+
color: 'text.default'
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
32
|
success: {},
|
|
33
|
-
error: {}
|
|
33
|
+
error: {},
|
|
34
|
+
greeting: {}
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
compoundVariants: [
|
|
37
38
|
{
|
|
38
39
|
variant: 'success',
|
|
39
40
|
css: {
|
|
40
|
-
root: {
|
|
41
|
+
root: {
|
|
41
42
|
borderColor: 'green.700',
|
|
42
43
|
_nextTheme: {
|
|
43
|
-
borderColor: 'border.success'
|
|
44
|
-
}
|
|
44
|
+
borderColor: 'border.success'
|
|
45
|
+
}
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
49
|
{
|
|
49
50
|
variant: 'error',
|
|
50
51
|
css: {
|
|
51
|
-
root: {
|
|
52
|
+
root: {
|
|
52
53
|
borderColor: 'red.700',
|
|
53
54
|
_nextTheme: {
|
|
54
|
-
borderColor: 'border.danger'
|
|
55
|
-
}
|
|
55
|
+
borderColor: 'border.danger'
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
variant: 'greeting',
|
|
62
|
+
css: {
|
|
63
|
+
root: {
|
|
64
|
+
borderRadius: '999px',
|
|
65
|
+
border: 'none',
|
|
66
|
+
backgroundColor: 'overlay',
|
|
67
|
+
_nextTheme: {
|
|
68
|
+
backgroundColor: 'background.overlay'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
label: {
|
|
72
|
+
color: 'white',
|
|
73
|
+
_nextTheme: {
|
|
74
|
+
color: 'text.inverse-static'
|
|
75
|
+
}
|
|
56
76
|
}
|
|
57
77
|
}
|
|
58
78
|
}
|
package/src/recipes/toggle.ts
CHANGED
|
@@ -379,7 +379,14 @@ export const colors = defineSemanticTokens.colors({
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
}
|
|
382
|
+
},
|
|
383
|
+
airene: {
|
|
384
|
+
value: {
|
|
385
|
+
base: 'radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)', // Doens't have raw token
|
|
386
|
+
_light: 'radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)', // Doesn't have raw token
|
|
387
|
+
_dark: 'radial-gradient(108.28% 139.29% at 0% 0%, #1D2656 0%, #2B2549 100%)' // Doesn't have raw token
|
|
388
|
+
}
|
|
389
|
+
},
|
|
383
390
|
},
|
|
384
391
|
nav: {
|
|
385
392
|
parent: {
|
|
@@ -2,58 +2,58 @@ import { defineSemanticTokens } from '@pandacss/dev'
|
|
|
2
2
|
|
|
3
3
|
export const spacing = defineSemanticTokens.spacing({
|
|
4
4
|
'4xs': {
|
|
5
|
-
value
|
|
5
|
+
value: {
|
|
6
6
|
base: '0.125rem'
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
'3xs': {
|
|
10
|
-
value
|
|
10
|
+
value: {
|
|
11
11
|
base: '{spacing.1}'
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
'2xs': {
|
|
15
|
-
value
|
|
15
|
+
value: {
|
|
16
16
|
base: '0.375rem'
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
xs: {
|
|
20
|
-
value
|
|
20
|
+
value: {
|
|
21
21
|
base: '{spacing.2}'
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
sm: {
|
|
25
|
-
value
|
|
25
|
+
value: {
|
|
26
26
|
base: '{spacing.3}'
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
md: {
|
|
30
|
-
value
|
|
30
|
+
value: {
|
|
31
31
|
base: '{spacing.4}'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
lg: {
|
|
35
|
-
value
|
|
35
|
+
value: {
|
|
36
36
|
base: '{spacing.5}'
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
xl: {
|
|
40
|
-
value
|
|
40
|
+
value: {
|
|
41
41
|
base: '{spacing.6}'
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
'2xl': {
|
|
45
|
-
value
|
|
45
|
+
value: {
|
|
46
46
|
base: '{spacing.8}'
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
'3xl': {
|
|
50
|
-
value
|
|
50
|
+
value: {
|
|
51
51
|
base: '{spacing.10}'
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
'4xl': {
|
|
55
|
-
value
|
|
55
|
+
value: {
|
|
56
56
|
base: '{spacing.20}'
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
})
|
|
59
|
+
})
|