@mekari/pixel3-theme 0.2.2-dev.5 → 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 +56 -13
- package/dist/index.mjs +56 -13
- 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/avatar.ts +28 -20
- package/src/recipes/badge.ts +7 -7
- package/src/recipes/banner.ts +7 -7
- package/src/recipes/broadcast.ts +26 -26
- package/src/recipes/button.ts +4 -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/input.ts +23 -23
- package/src/recipes/modal.ts +3 -3
- package/src/recipes/popover.ts +1 -1
- 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/textarea.ts +1 -1
- package/src/recipes/textlink.ts +10 -10
- package/src/recipes/timeline.ts +27 -2
- package/src/recipes/toast.ts +12 -12
- 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-next/radii.ts +1 -1
- package/src/tokens-next/shadows.ts +16 -4
- package/src/tokens-next/spacing.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1929,8 +1929,8 @@ var badgeRecipe = (0, import_dev14.defineRecipe)({
|
|
|
1929
1929
|
color: "white"
|
|
1930
1930
|
},
|
|
1931
1931
|
subtle: {},
|
|
1932
|
-
|
|
1933
|
-
|
|
1932
|
+
additionalInformation: {},
|
|
1933
|
+
tableStatus: {},
|
|
1934
1934
|
indicator: {}
|
|
1935
1935
|
},
|
|
1936
1936
|
variantColor: {
|
|
@@ -4972,11 +4972,7 @@ var import_dev35 = require("@pandacss/dev");
|
|
|
4972
4972
|
var carouselSlotRecipe = (0, import_dev35.defineSlotRecipe)({
|
|
4973
4973
|
className: "carousel",
|
|
4974
4974
|
jsx: ["MpCarousel", "mp-carousel"],
|
|
4975
|
-
slots: [
|
|
4976
|
-
"root",
|
|
4977
|
-
"buttonRight",
|
|
4978
|
-
"buttonLeft"
|
|
4979
|
-
],
|
|
4975
|
+
slots: ["root", "buttonRight", "buttonLeft"],
|
|
4980
4976
|
base: {
|
|
4981
4977
|
root: {
|
|
4982
4978
|
display: "block",
|
|
@@ -5339,7 +5335,11 @@ var timelineSeparatorSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5339
5335
|
root: {
|
|
5340
5336
|
display: "flex",
|
|
5341
5337
|
flexDirection: "column",
|
|
5342
|
-
alignItems: "center"
|
|
5338
|
+
alignItems: "center",
|
|
5339
|
+
"&[data-accordion-child=true]": {
|
|
5340
|
+
alignItems: "start",
|
|
5341
|
+
marginLeft: "9px"
|
|
5342
|
+
}
|
|
5343
5343
|
},
|
|
5344
5344
|
topConnector: {
|
|
5345
5345
|
height: "6px",
|
|
@@ -5349,8 +5349,20 @@ var timelineSeparatorSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5349
5349
|
"&[data-position=first]": {
|
|
5350
5350
|
backgroundColor: "transparent"
|
|
5351
5351
|
},
|
|
5352
|
+
"&[data-hide=true]": {
|
|
5353
|
+
backgroundColor: "transparent"
|
|
5354
|
+
},
|
|
5355
|
+
"&[data-accordion-child=true]": {
|
|
5356
|
+
roundedBottom: ""
|
|
5357
|
+
},
|
|
5352
5358
|
_nextTheme: {
|
|
5353
|
-
backgroundColor: "border.default"
|
|
5359
|
+
backgroundColor: "border.default",
|
|
5360
|
+
"&[data-position=first]": {
|
|
5361
|
+
backgroundColor: "transparent"
|
|
5362
|
+
},
|
|
5363
|
+
"&[data-hide=true]": {
|
|
5364
|
+
backgroundColor: "transparent"
|
|
5365
|
+
}
|
|
5354
5366
|
}
|
|
5355
5367
|
},
|
|
5356
5368
|
bottomConnector: {
|
|
@@ -5362,10 +5374,19 @@ var timelineSeparatorSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5362
5374
|
"&[data-position=last]": {
|
|
5363
5375
|
backgroundColor: "transparent"
|
|
5364
5376
|
},
|
|
5377
|
+
"&[data-hide=true]": {
|
|
5378
|
+
backgroundColor: "transparent"
|
|
5379
|
+
},
|
|
5380
|
+
"&[data-accordion-child=true]": {
|
|
5381
|
+
roundedTop: ""
|
|
5382
|
+
},
|
|
5365
5383
|
_nextTheme: {
|
|
5366
5384
|
backgroundColor: "border.default",
|
|
5367
5385
|
"&[data-position=last]": {
|
|
5368
5386
|
backgroundColor: "transparent"
|
|
5387
|
+
},
|
|
5388
|
+
"&[data-hide=true]": {
|
|
5389
|
+
backgroundColor: "transparent"
|
|
5369
5390
|
}
|
|
5370
5391
|
}
|
|
5371
5392
|
}
|
|
@@ -6691,16 +6712,28 @@ var spacing2 = import_dev59.defineTokens.spacing({
|
|
|
6691
6712
|
var import_dev60 = require("@pandacss/dev");
|
|
6692
6713
|
var shadows2 = import_dev60.defineTokens.shadows({
|
|
6693
6714
|
xs: {
|
|
6694
|
-
value: [
|
|
6715
|
+
value: [
|
|
6716
|
+
"0px 2px 4px 0px {colors.background.shadow}",
|
|
6717
|
+
"0px 0px 2px 0px {colors.background.shadow}"
|
|
6718
|
+
]
|
|
6695
6719
|
},
|
|
6696
6720
|
sm: {
|
|
6697
|
-
value: [
|
|
6721
|
+
value: [
|
|
6722
|
+
"0px 10px 15px -3px {colors.background.shadow}",
|
|
6723
|
+
"0px 4px 6px -2px {colors.background.shadow}"
|
|
6724
|
+
]
|
|
6698
6725
|
},
|
|
6699
6726
|
md: {
|
|
6700
|
-
value: [
|
|
6727
|
+
value: [
|
|
6728
|
+
"0px 20px 25px -5px {colors.background.shadow}",
|
|
6729
|
+
"0px 10px 10px -5px {colors.background.shadow}"
|
|
6730
|
+
]
|
|
6701
6731
|
},
|
|
6702
6732
|
lg: {
|
|
6703
|
-
value: [
|
|
6733
|
+
value: [
|
|
6734
|
+
"0px 25px 30px -10px {colors.background.shadow}",
|
|
6735
|
+
"0px 15px 15px -10px {colors.background.shadow}"
|
|
6736
|
+
]
|
|
6704
6737
|
},
|
|
6705
6738
|
focus: {
|
|
6706
6739
|
value: "0 0 0 1px {colors.border.focused}"
|
|
@@ -7129,6 +7162,16 @@ var colors3 = import_dev62.defineSemanticTokens.colors({
|
|
|
7129
7162
|
}
|
|
7130
7163
|
}
|
|
7131
7164
|
}
|
|
7165
|
+
},
|
|
7166
|
+
airene: {
|
|
7167
|
+
value: {
|
|
7168
|
+
base: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
|
|
7169
|
+
// Doens't have raw token
|
|
7170
|
+
_light: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
|
|
7171
|
+
// Doesn't have raw token
|
|
7172
|
+
_dark: "radial-gradient(108.28% 139.29% at 0% 0%, #1D2656 0%, #2B2549 100%)"
|
|
7173
|
+
// Doesn't have raw token
|
|
7174
|
+
}
|
|
7132
7175
|
}
|
|
7133
7176
|
},
|
|
7134
7177
|
nav: {
|
package/dist/index.mjs
CHANGED
|
@@ -1903,8 +1903,8 @@ var badgeRecipe = defineRecipe6({
|
|
|
1903
1903
|
color: "white"
|
|
1904
1904
|
},
|
|
1905
1905
|
subtle: {},
|
|
1906
|
-
|
|
1907
|
-
|
|
1906
|
+
additionalInformation: {},
|
|
1907
|
+
tableStatus: {},
|
|
1908
1908
|
indicator: {}
|
|
1909
1909
|
},
|
|
1910
1910
|
variantColor: {
|
|
@@ -4946,11 +4946,7 @@ import { defineSlotRecipe as defineSlotRecipe24 } from "@pandacss/dev";
|
|
|
4946
4946
|
var carouselSlotRecipe = defineSlotRecipe24({
|
|
4947
4947
|
className: "carousel",
|
|
4948
4948
|
jsx: ["MpCarousel", "mp-carousel"],
|
|
4949
|
-
slots: [
|
|
4950
|
-
"root",
|
|
4951
|
-
"buttonRight",
|
|
4952
|
-
"buttonLeft"
|
|
4953
|
-
],
|
|
4949
|
+
slots: ["root", "buttonRight", "buttonLeft"],
|
|
4954
4950
|
base: {
|
|
4955
4951
|
root: {
|
|
4956
4952
|
display: "block",
|
|
@@ -5313,7 +5309,11 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
|
|
|
5313
5309
|
root: {
|
|
5314
5310
|
display: "flex",
|
|
5315
5311
|
flexDirection: "column",
|
|
5316
|
-
alignItems: "center"
|
|
5312
|
+
alignItems: "center",
|
|
5313
|
+
"&[data-accordion-child=true]": {
|
|
5314
|
+
alignItems: "start",
|
|
5315
|
+
marginLeft: "9px"
|
|
5316
|
+
}
|
|
5317
5317
|
},
|
|
5318
5318
|
topConnector: {
|
|
5319
5319
|
height: "6px",
|
|
@@ -5323,8 +5323,20 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
|
|
|
5323
5323
|
"&[data-position=first]": {
|
|
5324
5324
|
backgroundColor: "transparent"
|
|
5325
5325
|
},
|
|
5326
|
+
"&[data-hide=true]": {
|
|
5327
|
+
backgroundColor: "transparent"
|
|
5328
|
+
},
|
|
5329
|
+
"&[data-accordion-child=true]": {
|
|
5330
|
+
roundedBottom: ""
|
|
5331
|
+
},
|
|
5326
5332
|
_nextTheme: {
|
|
5327
|
-
backgroundColor: "border.default"
|
|
5333
|
+
backgroundColor: "border.default",
|
|
5334
|
+
"&[data-position=first]": {
|
|
5335
|
+
backgroundColor: "transparent"
|
|
5336
|
+
},
|
|
5337
|
+
"&[data-hide=true]": {
|
|
5338
|
+
backgroundColor: "transparent"
|
|
5339
|
+
}
|
|
5328
5340
|
}
|
|
5329
5341
|
},
|
|
5330
5342
|
bottomConnector: {
|
|
@@ -5336,10 +5348,19 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
|
|
|
5336
5348
|
"&[data-position=last]": {
|
|
5337
5349
|
backgroundColor: "transparent"
|
|
5338
5350
|
},
|
|
5351
|
+
"&[data-hide=true]": {
|
|
5352
|
+
backgroundColor: "transparent"
|
|
5353
|
+
},
|
|
5354
|
+
"&[data-accordion-child=true]": {
|
|
5355
|
+
roundedTop: ""
|
|
5356
|
+
},
|
|
5339
5357
|
_nextTheme: {
|
|
5340
5358
|
backgroundColor: "border.default",
|
|
5341
5359
|
"&[data-position=last]": {
|
|
5342
5360
|
backgroundColor: "transparent"
|
|
5361
|
+
},
|
|
5362
|
+
"&[data-hide=true]": {
|
|
5363
|
+
backgroundColor: "transparent"
|
|
5343
5364
|
}
|
|
5344
5365
|
}
|
|
5345
5366
|
}
|
|
@@ -6665,16 +6686,28 @@ var spacing2 = defineTokens15.spacing({
|
|
|
6665
6686
|
import { defineTokens as defineTokens16 } from "@pandacss/dev";
|
|
6666
6687
|
var shadows2 = defineTokens16.shadows({
|
|
6667
6688
|
xs: {
|
|
6668
|
-
value: [
|
|
6689
|
+
value: [
|
|
6690
|
+
"0px 2px 4px 0px {colors.background.shadow}",
|
|
6691
|
+
"0px 0px 2px 0px {colors.background.shadow}"
|
|
6692
|
+
]
|
|
6669
6693
|
},
|
|
6670
6694
|
sm: {
|
|
6671
|
-
value: [
|
|
6695
|
+
value: [
|
|
6696
|
+
"0px 10px 15px -3px {colors.background.shadow}",
|
|
6697
|
+
"0px 4px 6px -2px {colors.background.shadow}"
|
|
6698
|
+
]
|
|
6672
6699
|
},
|
|
6673
6700
|
md: {
|
|
6674
|
-
value: [
|
|
6701
|
+
value: [
|
|
6702
|
+
"0px 20px 25px -5px {colors.background.shadow}",
|
|
6703
|
+
"0px 10px 10px -5px {colors.background.shadow}"
|
|
6704
|
+
]
|
|
6675
6705
|
},
|
|
6676
6706
|
lg: {
|
|
6677
|
-
value: [
|
|
6707
|
+
value: [
|
|
6708
|
+
"0px 25px 30px -10px {colors.background.shadow}",
|
|
6709
|
+
"0px 15px 15px -10px {colors.background.shadow}"
|
|
6710
|
+
]
|
|
6678
6711
|
},
|
|
6679
6712
|
focus: {
|
|
6680
6713
|
value: "0 0 0 1px {colors.border.focused}"
|
|
@@ -7103,6 +7136,16 @@ var colors3 = defineSemanticTokens.colors({
|
|
|
7103
7136
|
}
|
|
7104
7137
|
}
|
|
7105
7138
|
}
|
|
7139
|
+
},
|
|
7140
|
+
airene: {
|
|
7141
|
+
value: {
|
|
7142
|
+
base: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
|
|
7143
|
+
// Doens't have raw token
|
|
7144
|
+
_light: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
|
|
7145
|
+
// Doesn't have raw token
|
|
7146
|
+
_dark: "radial-gradient(108.28% 139.29% at 0% 0%, #1D2656 0%, #2B2549 100%)"
|
|
7147
|
+
// Doesn't have raw token
|
|
7148
|
+
}
|
|
7106
7149
|
}
|
|
7107
7150
|
},
|
|
7108
7151
|
nav: {
|
package/package.json
CHANGED
package/src/conditions.ts
CHANGED
|
@@ -4,7 +4,8 @@ export const conditions = {
|
|
|
4
4
|
invalid: '&:is([aria-invalid=true], [data-invalid])',
|
|
5
5
|
active: '&:is(:active, [data-active=true])',
|
|
6
6
|
checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])',
|
|
7
|
-
indeterminate:
|
|
7
|
+
indeterminate:
|
|
8
|
+
'&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])',
|
|
8
9
|
closed: '&:is([data-state=closed])',
|
|
9
10
|
open: '&:is([open], [data-state=open])',
|
|
10
11
|
hidden: '&:is([hidden])',
|
|
@@ -20,6 +21,6 @@ export const conditions = {
|
|
|
20
21
|
placementRight: '&[data-placement=right]',
|
|
21
22
|
nextTheme: '[data-panda-theme=next] &',
|
|
22
23
|
light: '.light &',
|
|
23
|
-
dark: '.dark &'
|
|
24
|
+
dark: '.dark &'
|
|
24
25
|
}
|
|
25
26
|
}
|
package/src/fonts.ts
CHANGED
|
@@ -6,7 +6,7 @@ export const globalFontface = {
|
|
|
6
6
|
'url("https://cdn.mekari.design/fonts/Inter/Inter-Regular.ttf") format("truetype")'
|
|
7
7
|
],
|
|
8
8
|
fontStyle: 'normal',
|
|
9
|
-
fontWeight: '400'
|
|
9
|
+
fontWeight: '400'
|
|
10
10
|
// fontDisplay: 'swap'
|
|
11
11
|
},
|
|
12
12
|
{
|
|
@@ -15,7 +15,7 @@ export const globalFontface = {
|
|
|
15
15
|
'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.ttf") format("truetype")'
|
|
16
16
|
],
|
|
17
17
|
fontStyle: 'normal',
|
|
18
|
-
fontWeight: '600'
|
|
18
|
+
fontWeight: '600'
|
|
19
19
|
// fontDisplay: 'swap'
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -24,8 +24,8 @@ export const globalFontface = {
|
|
|
24
24
|
'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBoldItalic.ttf") format("truetype")'
|
|
25
25
|
],
|
|
26
26
|
fontStyle: 'italic',
|
|
27
|
-
fontWeight: '600'
|
|
27
|
+
fontWeight: '600'
|
|
28
28
|
// fontDisplay: 'swap'
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
]
|
|
31
31
|
}
|
package/src/global-css.ts
CHANGED
|
@@ -5,7 +5,7 @@ export const globalCss = defineGlobalStyles({
|
|
|
5
5
|
MozOsxFontSmoothing: 'grayscale',
|
|
6
6
|
textRendering: 'optimizeLegibility',
|
|
7
7
|
WebkitFontSmoothing: 'antialiased',
|
|
8
|
-
WebkitTextSizeAdjust: '100%'
|
|
8
|
+
WebkitTextSizeAdjust: '100%'
|
|
9
9
|
},
|
|
10
10
|
body: {
|
|
11
11
|
background: 'var(--mp-colors-white)',
|
|
@@ -18,8 +18,8 @@ export const globalCss = defineGlobalStyles({
|
|
|
18
18
|
colorScheme: 'dark'
|
|
19
19
|
},
|
|
20
20
|
_nextTheme: {
|
|
21
|
-
background: 'var(--mp-colors-background-neutral)',
|
|
22
|
-
color: 'var(--mp-colors-text-default)'
|
|
21
|
+
background: 'var(--mp-colors-background-neutral)',
|
|
22
|
+
color: 'var(--mp-colors-text-default)'
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
'*, *::before, *::after': {
|
package/src/index.ts
CHANGED
package/src/recipes/avatar.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { defineSlotRecipe } from '@pandacss/dev'
|
|
|
2
2
|
|
|
3
3
|
const variantColor = {
|
|
4
4
|
gray: {
|
|
5
|
-
root: {
|
|
5
|
+
root: {
|
|
6
6
|
backgroundColor: 'gray.50',
|
|
7
7
|
_nextTheme: {
|
|
8
8
|
backgroundColor: 'background.neutral.subtle'
|
|
@@ -10,7 +10,7 @@ const variantColor = {
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
sky: {
|
|
13
|
-
root: {
|
|
13
|
+
root: {
|
|
14
14
|
backgroundColor: 'sky.400',
|
|
15
15
|
_nextTheme: {
|
|
16
16
|
backgroundColor: 'chart.cat01'
|
|
@@ -18,7 +18,7 @@ const variantColor = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
teal: {
|
|
21
|
-
root: {
|
|
21
|
+
root: {
|
|
22
22
|
backgroundColor: 'teal.400',
|
|
23
23
|
_nextTheme: {
|
|
24
24
|
backgroundColor: 'chart.cat02'
|
|
@@ -26,15 +26,15 @@ const variantColor = {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
violet: {
|
|
29
|
-
root: {
|
|
29
|
+
root: {
|
|
30
30
|
backgroundColor: 'violet.400',
|
|
31
31
|
_nextTheme: {
|
|
32
32
|
backgroundColor: 'chart.cat03'
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
amber: {
|
|
37
|
-
root: {
|
|
37
|
+
root: {
|
|
38
38
|
backgroundColor: 'amber.400',
|
|
39
39
|
_nextTheme: {
|
|
40
40
|
backgroundColor: 'chart.cat04'
|
|
@@ -42,7 +42,7 @@ const variantColor = {
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
rose: {
|
|
45
|
-
root: {
|
|
45
|
+
root: {
|
|
46
46
|
backgroundColor: 'rose.400',
|
|
47
47
|
_nextTheme: {
|
|
48
48
|
backgroundColor: 'chart.cat06'
|
|
@@ -50,7 +50,7 @@ const variantColor = {
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
stone: {
|
|
53
|
-
root: {
|
|
53
|
+
root: {
|
|
54
54
|
backgroundColor: 'stone.400',
|
|
55
55
|
_nextTheme: {
|
|
56
56
|
backgroundColor: 'chart.cat05'
|
|
@@ -58,7 +58,7 @@ const variantColor = {
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
lime: {
|
|
61
|
-
root: {
|
|
61
|
+
root: {
|
|
62
62
|
backgroundColor: 'lime.400',
|
|
63
63
|
_nextTheme: {
|
|
64
64
|
backgroundColor: 'chart.cat07'
|
|
@@ -66,7 +66,7 @@ const variantColor = {
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
pink: {
|
|
69
|
-
root: {
|
|
69
|
+
root: {
|
|
70
70
|
backgroundColor: 'pink.400',
|
|
71
71
|
_nextTheme: {
|
|
72
72
|
backgroundColor: 'chart.cat08'
|
|
@@ -174,7 +174,7 @@ const avatarSlotRecipe = defineSlotRecipe({
|
|
|
174
174
|
{
|
|
175
175
|
variantColor: 'gray',
|
|
176
176
|
css: {
|
|
177
|
-
root: {
|
|
177
|
+
root: {
|
|
178
178
|
color: 'gray.600',
|
|
179
179
|
_nextTheme: {
|
|
180
180
|
color: 'text.secondary'
|
|
@@ -212,40 +212,48 @@ const avatarGroupSlotRecipe = defineSlotRecipe({
|
|
|
212
212
|
cursor: 'var(--mp-avatar-group--cursor)',
|
|
213
213
|
_nextTheme: {
|
|
214
214
|
color: 'text.inverse',
|
|
215
|
-
backgroundColor: 'background.brand.bold'
|
|
215
|
+
backgroundColor: 'background.brand.bold'
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
variants: {
|
|
220
220
|
size: {
|
|
221
221
|
sm: {
|
|
222
|
-
root: {
|
|
222
|
+
root: {
|
|
223
223
|
'& > [data-pixel-component=MpAvatar]': {
|
|
224
|
-
width: '6.5',
|
|
224
|
+
width: '6.5',
|
|
225
|
+
height: '6.5',
|
|
226
|
+
fontSize: 'sm'
|
|
225
227
|
}
|
|
226
228
|
},
|
|
227
229
|
excess: { width: '5', height: '5', fontSize: 'sm' }
|
|
228
230
|
},
|
|
229
231
|
md: {
|
|
230
|
-
root: {
|
|
232
|
+
root: {
|
|
231
233
|
'& > [data-pixel-component=MpAvatar]': {
|
|
232
|
-
width: '7',
|
|
234
|
+
width: '7',
|
|
235
|
+
height: '7',
|
|
236
|
+
fontSize: 'md'
|
|
233
237
|
}
|
|
234
238
|
},
|
|
235
239
|
excess: { width: '6', height: '6', fontSize: 'md' }
|
|
236
240
|
},
|
|
237
241
|
lg: {
|
|
238
|
-
root: {
|
|
242
|
+
root: {
|
|
239
243
|
'& > [data-pixel-component=MpAvatar]': {
|
|
240
|
-
width: '9.5',
|
|
244
|
+
width: '9.5',
|
|
245
|
+
height: '9.5',
|
|
246
|
+
fontSize: 'sm'
|
|
241
247
|
}
|
|
242
248
|
},
|
|
243
249
|
excess: { width: '9', height: '9', fontSize: 'sm' }
|
|
244
250
|
},
|
|
245
251
|
xl: {
|
|
246
|
-
root: {
|
|
252
|
+
root: {
|
|
247
253
|
'& > [data-pixel-component=MpAvatar]': {
|
|
248
|
-
width: '82px',
|
|
254
|
+
width: '82px',
|
|
255
|
+
height: '82px',
|
|
256
|
+
fontSize: '32px'
|
|
249
257
|
}
|
|
250
258
|
},
|
|
251
259
|
excess: { width: '20', height: '20', fontSize: '32px' }
|
package/src/recipes/badge.ts
CHANGED
|
@@ -8,7 +8,7 @@ const badgeRecipe = defineRecipe<RecipeVariantRecord>({
|
|
|
8
8
|
display: 'inline-flex',
|
|
9
9
|
alignItems: 'center',
|
|
10
10
|
justifyContent: 'center',
|
|
11
|
-
borderRadius: '999px'
|
|
11
|
+
borderRadius: '999px'
|
|
12
12
|
},
|
|
13
13
|
|
|
14
14
|
variants: {
|
|
@@ -17,8 +17,8 @@ const badgeRecipe = defineRecipe<RecipeVariantRecord>({
|
|
|
17
17
|
color: 'white'
|
|
18
18
|
},
|
|
19
19
|
subtle: {},
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
additionalInformation: {},
|
|
21
|
+
tableStatus: {},
|
|
22
22
|
indicator: {}
|
|
23
23
|
},
|
|
24
24
|
variantColor: {
|
|
@@ -39,13 +39,13 @@ const badgeRecipe = defineRecipe<RecipeVariantRecord>({
|
|
|
39
39
|
fontSize: 'xs',
|
|
40
40
|
fontWeight: 'semiBold',
|
|
41
41
|
lineHeight: '0',
|
|
42
|
-
letterSpacing: 'normal'
|
|
42
|
+
letterSpacing: 'normal'
|
|
43
43
|
},
|
|
44
44
|
md: {
|
|
45
45
|
fontSize: 'md',
|
|
46
46
|
fontWeight: 'regular',
|
|
47
47
|
lineHeight: '0',
|
|
48
|
-
letterSpacing: 'normal'
|
|
48
|
+
letterSpacing: 'normal'
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -151,7 +151,7 @@ const badgeRecipe = defineRecipe<RecipeVariantRecord>({
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
variant: ['solid', 'additionalInformation']
|
|
154
|
+
variant: ['solid', 'additionalInformation'],
|
|
155
155
|
variantColor: ['gray', 'announcement'],
|
|
156
156
|
css: {
|
|
157
157
|
backgroundColor: 'stone.400',
|
|
@@ -280,7 +280,7 @@ const badgeRecipe = defineRecipe<RecipeVariantRecord>({
|
|
|
280
280
|
backgroundColor: 'icon.default'
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
}
|
|
283
|
+
}
|
|
284
284
|
],
|
|
285
285
|
|
|
286
286
|
defaultVariants: {
|
package/src/recipes/banner.ts
CHANGED
|
@@ -23,15 +23,15 @@ const bannerSlotRecipe = defineSlotRecipe({
|
|
|
23
23
|
variants: {
|
|
24
24
|
variant: {
|
|
25
25
|
info: {
|
|
26
|
-
root: {
|
|
26
|
+
root: {
|
|
27
27
|
backgroundColor: 'blue.50',
|
|
28
28
|
_nextTheme: {
|
|
29
|
-
backgroundColor: 'background.brand'
|
|
29
|
+
backgroundColor: 'background.brand'
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
success: {
|
|
34
|
-
root: {
|
|
34
|
+
root: {
|
|
35
35
|
backgroundColor: 'green.50',
|
|
36
36
|
_nextTheme: {
|
|
37
37
|
backgroundColor: 'background.success'
|
|
@@ -39,7 +39,7 @@ const bannerSlotRecipe = defineSlotRecipe({
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
danger: {
|
|
42
|
-
root: {
|
|
42
|
+
root: {
|
|
43
43
|
backgroundColor: 'red.50',
|
|
44
44
|
_nextTheme: {
|
|
45
45
|
backgroundColor: 'background.danger'
|
|
@@ -47,7 +47,7 @@ const bannerSlotRecipe = defineSlotRecipe({
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
warning: {
|
|
50
|
-
root: {
|
|
50
|
+
root: {
|
|
51
51
|
backgroundColor: 'orange.50',
|
|
52
52
|
_nextTheme: {
|
|
53
53
|
backgroundColor: 'background.warning'
|
|
@@ -74,7 +74,7 @@ const bannerTitleRecipe = defineRecipe({
|
|
|
74
74
|
color: 'dark',
|
|
75
75
|
marginBottom: '1',
|
|
76
76
|
_nextTheme: {
|
|
77
|
-
color: 'text.default'
|
|
77
|
+
color: 'text.default'
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
variants: {},
|
|
@@ -93,7 +93,7 @@ const bannerDescriptionRecipe = defineRecipe({
|
|
|
93
93
|
letterSpacing: 'normal',
|
|
94
94
|
color: 'dark',
|
|
95
95
|
_nextTheme: {
|
|
96
|
-
color: 'text.default'
|
|
96
|
+
color: 'text.default'
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
variants: {},
|