@mekari/pixel3-theme 0.0.1-alpha.0 → 0.0.1

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.
Files changed (56) hide show
  1. package/dist/index.js +201 -16
  2. package/dist/index.mjs +195 -8
  3. package/dist/recipes/divider.d.mts +5 -0
  4. package/dist/recipes/divider.d.ts +5 -0
  5. package/dist/recipes/form-control.d.mts +5 -0
  6. package/dist/recipes/form-control.d.ts +5 -0
  7. package/dist/recipes/index.d.mts +3 -0
  8. package/dist/recipes/index.d.ts +3 -0
  9. package/dist/recipes/input-tag.d.mts +5 -0
  10. package/dist/recipes/input-tag.d.ts +5 -0
  11. package/dist/tokens/index.d.mts +4 -0
  12. package/dist/tokens/index.d.ts +4 -0
  13. package/dist/tokens/sizes.d.mts +4 -0
  14. package/dist/tokens/sizes.d.ts +4 -0
  15. package/package.json +5 -4
  16. package/src/breakpoints.ts +6 -0
  17. package/src/conditions.ts +22 -0
  18. package/src/global-css.ts +23 -0
  19. package/src/index.ts +26 -0
  20. package/src/keyframes.ts +15 -0
  21. package/src/recipes/accordion.ts +57 -0
  22. package/src/recipes/avatar.ts +179 -0
  23. package/src/recipes/badge.ts +166 -0
  24. package/src/recipes/button.ts +224 -0
  25. package/src/recipes/checkbox.ts +92 -0
  26. package/src/recipes/divider.ts +31 -0
  27. package/src/recipes/form-control.ts +40 -0
  28. package/src/recipes/icon.ts +31 -0
  29. package/src/recipes/index.ts +61 -0
  30. package/src/recipes/input-tag.ts +119 -0
  31. package/src/recipes/input.ts +204 -0
  32. package/src/recipes/popover.ts +82 -0
  33. package/src/recipes/progress.ts +76 -0
  34. package/src/recipes/radio.ts +103 -0
  35. package/src/recipes/select.ts +114 -0
  36. package/src/recipes/shared.ts +19 -0
  37. package/src/recipes/spinner.ts +25 -0
  38. package/src/recipes/table.ts +113 -0
  39. package/src/recipes/tabs.ts +204 -0
  40. package/src/recipes/tag.ts +98 -0
  41. package/src/recipes/text.ts +56 -0
  42. package/src/recipes/textarea.ts +60 -0
  43. package/src/recipes/toggle.ts +99 -0
  44. package/src/recipes/tooltip.ts +24 -0
  45. package/src/text-styles.ts +34 -0
  46. package/src/tokens/borders.ts +8 -0
  47. package/src/tokens/colors.ts +130 -0
  48. package/src/tokens/durations.ts +7 -0
  49. package/src/tokens/index.ts +28 -0
  50. package/src/tokens/opacity.ts +8 -0
  51. package/src/tokens/radii.ts +11 -0
  52. package/src/tokens/shadows.ts +40 -0
  53. package/src/tokens/sizes.ts +28 -0
  54. package/src/tokens/spacing.ts +21 -0
  55. package/src/tokens/typography.ts +45 -0
  56. package/src/tokens/z-index.ts +12 -0
@@ -0,0 +1,98 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev'
2
+
3
+ const tagSlotRecipe = defineSlotRecipe({
4
+ className: 'tag',
5
+ jsx: ['MpTag', 'mp-tag'],
6
+ slots: ['root', 'close'],
7
+ base: {
8
+ root: {
9
+ position: 'relative',
10
+ display: 'inline-flex',
11
+ alignItems: 'center',
12
+ userSelect: 'auto',
13
+ outline: '0px solid transparent',
14
+ borderWidth: '1px',
15
+ borderColor: 'transparent',
16
+ borderRadius: 'sm',
17
+ transition: 'all 250ms',
18
+ textAlign: 'left',
19
+ fontSize: 'md',
20
+ fontWeight: 'regular',
21
+ lineHeight: 'md',
22
+ letterSpacing: 'normal',
23
+ paddingX: '2',
24
+ whiteSpace: 'normal',
25
+ overflowWrap: 'anywhere',
26
+ cursor: 'var(--mp-tag--cursor)'
27
+ },
28
+ close: {
29
+ position: 'absolute!',
30
+ color: 'gray.600',
31
+ background: 'linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!',
32
+ border: 'none',
33
+ right: '0',
34
+ width: '5',
35
+ height: '5',
36
+ minWidth: '5',
37
+ paddingTop: '1',
38
+ padding: '0',
39
+ transition: 'all 250ms!',
40
+ visibility: 'hidden',
41
+ opacity: '0',
42
+ _groupHover: {
43
+ visibility: 'visible',
44
+ opacity: '1'
45
+ }
46
+ }
47
+ },
48
+ variants: {
49
+ size: {
50
+ sm: {
51
+ root: {
52
+ paddingY: '0'
53
+ }
54
+ },
55
+ md: {
56
+ root: {
57
+ paddingY: '1'
58
+ }
59
+ }
60
+ },
61
+ variant: {
62
+ gray: {
63
+ root: {
64
+ color: 'gray.600',
65
+ background: 'gray.50'
66
+ }
67
+ },
68
+ red: {
69
+ root: {
70
+ color: 'red.400',
71
+ backgroundColor: 'red.50'
72
+ }
73
+ }
74
+ }
75
+ },
76
+ compoundVariants: [
77
+ {
78
+ variant: 'red',
79
+ css: {
80
+ close: {
81
+ background: 'linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!'
82
+ }
83
+ }
84
+ },
85
+ {
86
+ size: 'sm',
87
+ css: {
88
+ close: { paddingTop: '0' }
89
+ }
90
+ }
91
+ ],
92
+ defaultVariants: {
93
+ size: 'md',
94
+ variant: 'gray'
95
+ }
96
+ })
97
+
98
+ export { tagSlotRecipe }
@@ -0,0 +1,56 @@
1
+ import { defineRecipe } from '@pandacss/dev'
2
+
3
+ export const textRecipe = defineRecipe({
4
+ className: 'text',
5
+ jsx: ['MpText', 'mp-text'],
6
+ base: {
7
+ color: 'var(--mp-text-color)',
8
+ fontVariantNumeric: 'lining-nums tabular-nums',
9
+ '&[data-text-strike=true]': {
10
+ textDecoration: 'line-through'
11
+ },
12
+ '&[data-text-link=true]': {
13
+ textDecoration: 'underline'
14
+ }
15
+ },
16
+ variants: {
17
+ size: {
18
+ h1: {
19
+ textStyle: 'h1'
20
+ },
21
+ h2: {
22
+ textStyle: 'h2'
23
+ },
24
+ h3: {
25
+ textStyle: 'h3'
26
+ },
27
+ body: {
28
+ textStyle: 'body.md'
29
+ },
30
+ 'body-small': {
31
+ textStyle: 'body.sm'
32
+ },
33
+ label: {
34
+ textStyle: 'label.md'
35
+ },
36
+ 'label-small': {
37
+ textStyle: 'label.sm'
38
+ },
39
+ overline: {
40
+ textStyle: 'overline'
41
+ }
42
+ },
43
+ weight: {
44
+ regular: {
45
+ fontWeight: 'regular'
46
+ },
47
+ semiBold: {
48
+ fontWeight: 'semiBold'
49
+ }
50
+ }
51
+ },
52
+ defaultVariants: {
53
+ size: 'label',
54
+ weight: 'regular'
55
+ }
56
+ })
@@ -0,0 +1,60 @@
1
+ import { defineRecipe } from '@pandacss/dev'
2
+
3
+ const textareaRecipe = defineRecipe({
4
+ className: 'textarea',
5
+ jsx: ['MpTextarea', 'mp-textarea'],
6
+ base: {
7
+ position: 'relative',
8
+ display: 'flex',
9
+ alignItems: 'center',
10
+ outline: '0',
11
+ borderWidth: '1px',
12
+ borderColor: 'gray.100',
13
+ borderRadius: 'md',
14
+ color: 'dark',
15
+ backgroundColor: 'white',
16
+ appearance: 'none',
17
+ transition: 'all 250ms',
18
+ minWidth: '65',
19
+ minHeight: '20',
20
+ fontSize: 'md',
21
+ fontWeight: 'regular',
22
+ lineHeight: 'md',
23
+ paddingX: '3',
24
+ paddingTop: '2',
25
+ paddingBottom: '5',
26
+ resize: 'both',
27
+ _hover: {
28
+ borderColor: 'gray.400'
29
+ },
30
+ _focus: {
31
+ borderColor: 'blue.500',
32
+ boxShadow: 'outer',
33
+ _hover: {
34
+ borderColor: 'blue.500'
35
+ }
36
+ },
37
+ _disabled: {
38
+ color: 'gray.400',
39
+ backgroundColor: 'gray.50',
40
+ borderColor: 'gray.100',
41
+ cursor: 'not-allowed'
42
+ },
43
+ _invalid: {
44
+ borderColor: 'red.400'
45
+ },
46
+ _readOnly: {
47
+ boxShadow: 'none',
48
+ userSelect: 'all'
49
+ }
50
+ },
51
+ variants: {
52
+ isFullWidth: {
53
+ true: {
54
+ width: '100%'
55
+ }
56
+ }
57
+ }
58
+ })
59
+
60
+ export { textareaRecipe }
@@ -0,0 +1,99 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev'
2
+
3
+ const toggleSlotRecipe = defineSlotRecipe({
4
+ className: 'toggle',
5
+ jsx: ['MpToggle', 'mp-toggle'],
6
+ slots: ['root', 'control', 'label'],
7
+ base: {
8
+ root: {
9
+ position: 'relative',
10
+ display: 'inline-flex',
11
+ alignItems: 'center',
12
+ justifyContent: 'center',
13
+ gap: '3',
14
+ cursor: 'pointer',
15
+ outline: 'none',
16
+ '&[data-has-description=true]': {
17
+ alignItems: 'flex-start',
18
+ '& .mp-toggle__control': {
19
+ marginTop: '1'
20
+ }
21
+ },
22
+ '& .mp-shared__hidden': {
23
+ '&:focus + .mp-toggle__control': {
24
+ borderColor: 'blue.400',
25
+ boxShadow: 'focus'
26
+ }
27
+ },
28
+ _hover: {
29
+ '& .mp-toggle__control': {
30
+ borderColor: 'gray.400',
31
+ background: 'gray.400'
32
+ }
33
+ },
34
+ _disabled: {
35
+ cursor: 'not-allowed',
36
+ '& .mp-toggle__control': {
37
+ borderColor: 'gray.100 !important',
38
+ background: 'gray.50 !important',
39
+ boxShadow: 'none !important',
40
+
41
+ '& div': {
42
+ background: 'gray.100'
43
+ }
44
+ }
45
+ },
46
+ _invalid: {
47
+ '& .mp-toggle__control': {
48
+ borderColor: 'red.400',
49
+ background: 'red.400'
50
+ }
51
+ },
52
+ _checked: {
53
+ '& .mp-toggle__control': {
54
+ borderColor: 'blue.400',
55
+ background: 'blue.400',
56
+
57
+ '& div': {
58
+ transform: 'translateX(var(--mp-sizes-3))'
59
+ }
60
+ },
61
+ _hover: {
62
+ '& .mp-toggle__control': {
63
+ borderColor: 'blue.400',
64
+ background: 'blue.400'
65
+ }
66
+ }
67
+ }
68
+ },
69
+ control: {
70
+ flex: 'none',
71
+ position: 'relative',
72
+ display: 'inline-flex',
73
+ alignItems: 'center',
74
+ justifyContent: 'flex-start',
75
+ width: '7',
76
+ height: '4',
77
+ borderWidth: '1px',
78
+ borderColor: 'gray.100',
79
+ borderRadius: 'lg',
80
+ background: 'gray.100',
81
+
82
+ '& div': {
83
+ transitionDuration: '250ms',
84
+ transitionProperty: 'transform',
85
+ transitionTimingFunction: 'linear',
86
+ transform: 'translateX(2px)',
87
+ width: '3',
88
+ height: '3',
89
+ background: 'white',
90
+ borderRadius: 'full'
91
+ }
92
+ },
93
+ label: {
94
+ background: 'transparent'
95
+ }
96
+ }
97
+ })
98
+
99
+ export { toggleSlotRecipe }
@@ -0,0 +1,24 @@
1
+ import { defineRecipe } from '@pandacss/dev'
2
+
3
+ const tooltipRecipe = defineRecipe({
4
+ className: 'tooltip',
5
+ jsx: ['MpTooltip', 'mp-tooltip'],
6
+ base: {
7
+ px: '2',
8
+ py: '1',
9
+ borderRadius: 'sm',
10
+ fontWeight: 'regular',
11
+ pointerEvents: 'none',
12
+ fontSize: 'sm',
13
+ shadow: 'md',
14
+ maxW: '300px',
15
+ zIndex: 'tooltip',
16
+ boxShadow: 'sm',
17
+ bg: 'overlay',
18
+ color: 'white',
19
+ whiteSpace: 'normal',
20
+ overflowWrap: 'break-word'
21
+ }
22
+ })
23
+
24
+ export { tooltipRecipe }
@@ -0,0 +1,34 @@
1
+ import { defineTextStyles } from '@pandacss/dev'
2
+
3
+ export const textStyles = defineTextStyles({
4
+ overline: { value: { fontSize: 'xs', lineHeight: 'xs' } },
5
+ body: {
6
+ sm: { value: { fontSize: 'sm', lineHeight: '2xl' } },
7
+ md: { value: { fontSize: 'md', lineHeight: '3xl' } }
8
+ },
9
+ label: {
10
+ sm: { value: { fontSize: 'sm', lineHeight: 'sm' } },
11
+ md: { value: { fontSize: 'md', lineHeight: 'lg' } }
12
+ },
13
+ h3: {
14
+ value: {
15
+ fontSize: 'lg',
16
+ lineHeight: 'xl',
17
+ fontWeight: 'semiBold !important'
18
+ }
19
+ },
20
+ h2: {
21
+ value: {
22
+ fontSize: 'xl',
23
+ lineHeight: 'md',
24
+ fontWeight: 'semiBold !important'
25
+ }
26
+ },
27
+ h1: {
28
+ value: {
29
+ fontSize: '2xl',
30
+ lineHeight: 'sm',
31
+ fontWeight: 'semiBold !important'
32
+ }
33
+ }
34
+ })
@@ -0,0 +1,8 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const borders = defineTokens.borders({
4
+ none: { value: 'none' },
5
+ sm: { value: '1px' },
6
+ md: { value: '1.5px' },
7
+ lg: { value: '2px' }
8
+ })
@@ -0,0 +1,130 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const colors = defineTokens.colors({
4
+ currentcolor: {
5
+ value: 'currentcolor',
6
+ description: 'Need to add this for Icon usage'
7
+ },
8
+ dark: { value: '#232933', description: 'Default or primary text color' },
9
+ white: {
10
+ value: '#FFFFFF',
11
+ description: 'Background color in components such as Card, Modal, and Popover'
12
+ },
13
+ background: { value: '#F1F5F9', description: 'For use as background page' },
14
+ overlay: {
15
+ value: 'rgba(22, 26, 32, 0.8)',
16
+ description: 'For use as overlay'
17
+ },
18
+ brand: {
19
+ capital: { value: '#2F5573', description: 'Mekari Capital' },
20
+ esign: { value: '#00C853', description: 'Mekari e-Sign' },
21
+ expense: { value: '#183883', description: 'Mekari Expense' },
22
+ flex: { value: '#7C4DFF', description: 'Mekari Flex' },
23
+ jurnal: { value: '#40C3FF', description: 'Mekari Jurnal' },
24
+ klikpajak: { value: '#FF9100', description: 'Mekari Klikpajak' },
25
+ mekari: { value: '#651FFF', description: 'Mekari' },
26
+ qontak: { value: '#2979FF', description: 'Mekari Qontak' },
27
+ talenta: { value: '#F22929', description: 'Mekari Talenta' },
28
+ university: { value: '#448AFF', description: 'Mekari University' }
29
+ },
30
+ gray: {
31
+ 25: {
32
+ value: '#F8F9FB',
33
+ description: 'Background color in table header component'
34
+ },
35
+ 50: {
36
+ value: '#EDF0F2',
37
+ description: 'Disabled background color in components such as Input and Select backgrounds'
38
+ },
39
+ 100: { value: '#D0D6DD', description: 'Default stroke color or divider' },
40
+ 400: {
41
+ value: '#8B95A5',
42
+ description:
43
+ 'Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover'
44
+ },
45
+ 600: {
46
+ value: '#626B79',
47
+ description: 'Description text color and default color for outline icon'
48
+ }
49
+ },
50
+ blue: {
51
+ 50: { value: '#EAECFB' },
52
+ 100: { value: '#D5DEFF' },
53
+ 400: { value: '#4B61DD' },
54
+ 500: { value: '#1C44D5' },
55
+ 700: { value: '#0031BE' }
56
+ },
57
+ red: {
58
+ 50: { value: '#FDECEE' },
59
+ 400: { value: '#DA473F' },
60
+ 500: { value: '#C83E39' },
61
+ 700: { value: '#AB3129' }
62
+ },
63
+ green: {
64
+ 50: { value: '#E8F5EB' },
65
+ 400: { value: '#68BE79' },
66
+ 500: { value: '#4FB262' },
67
+ 700: { value: '#3C914D' }
68
+ },
69
+ orange: {
70
+ 50: { value: '#FBF3DD' },
71
+ 400: { value: '#E0AB00' },
72
+ 500: { value: '#DE9400' },
73
+ 700: { value: '#DB8000' }
74
+ },
75
+ sky: {
76
+ 100: { value: '#60A5FA' },
77
+ 400: { value: '#3B82F6' }
78
+ },
79
+ teal: {
80
+ 100: { value: '#2DD4BF' },
81
+ 400: { value: '#14B8A6' }
82
+ },
83
+ violet: {
84
+ 100: { value: '#A78BFA' },
85
+ 400: { value: '#8B5CF6' }
86
+ },
87
+ amber: {
88
+ 100: { value: '#FBBF24' },
89
+ 400: { value: '#F59E0B' }
90
+ },
91
+ rose: {
92
+ 100: { value: '#F87171' },
93
+ 400: { value: '#EF4444' }
94
+ },
95
+ stone: {
96
+ 100: { value: '#A1A1AA' },
97
+ 400: { value: '#71717A' }
98
+ },
99
+ lime: {
100
+ 100: { value: '#A3E635' },
101
+ 400: { value: '#84CC16' }
102
+ },
103
+ pink: {
104
+ 100: { value: '#F472B6' },
105
+ 400: { value: '#EC4899' }
106
+ },
107
+ apricot: {
108
+ 100: { value: '#FB923C' },
109
+ 400: { value: '#F97316' }
110
+ },
111
+ aqua: {
112
+ 100: { value: '#22D3EE' },
113
+ 400: { value: '#06B6D4' }
114
+ },
115
+ leaf: {
116
+ 100: { value: '#4ADE80' },
117
+ 400: { value: '#22C55E' }
118
+ },
119
+ fuchsia: {
120
+ 100: { value: '#E879F9' },
121
+ 400: { value: '#D946EF' }
122
+ },
123
+ ice: {
124
+ 50: { value: '#E0EEFF' },
125
+ 100: { value: '#B4D3F2' }
126
+ },
127
+ ash: {
128
+ 100: { value: '#E7EDF5' }
129
+ }
130
+ })
@@ -0,0 +1,7 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const durations = defineTokens.durations({
4
+ slow: { value: '100ms' },
5
+ normal: { value: '250ms' },
6
+ fast: { value: '300ms' }
7
+ })
@@ -0,0 +1,28 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+ import { borders } from './borders'
3
+ import { colors } from './colors'
4
+ import { durations } from './durations'
5
+ import { opacity } from './opacity'
6
+ import { radii } from './radii'
7
+ import { shadows } from './shadows'
8
+ import { sizes } from './sizes'
9
+ import { spacing } from './spacing'
10
+ import { zIndex } from './z-index'
11
+ import { fonts, fontSizes, fontWeights, lineHeights, letterSpacings } from './typography'
12
+
13
+ export const tokens = defineTokens({
14
+ borders,
15
+ colors,
16
+ durations,
17
+ fonts,
18
+ fontSizes,
19
+ fontWeights,
20
+ lineHeights,
21
+ letterSpacings,
22
+ opacity,
23
+ radii,
24
+ shadows,
25
+ sizes,
26
+ spacing,
27
+ zIndex
28
+ })
@@ -0,0 +1,8 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const opacity = defineTokens.opacity({
4
+ 0: { value: 0 },
5
+ 40: { value: 0.4 },
6
+ 60: { value: 0.6 },
7
+ 100: { value: 1 }
8
+ })
@@ -0,0 +1,11 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const radii = defineTokens.radii({
4
+ none: { value: '0' },
5
+ xs: { value: '0.125rem', description: '2px' },
6
+ sm: { value: '0.25rem', description: '4px' },
7
+ md: { value: '0.375rem', description: '6px' },
8
+ lg: { value: '0.5rem', description: '8px' },
9
+ xl: { value: '0.75rem', description: '12px' },
10
+ full: { value: '50%' }
11
+ })
@@ -0,0 +1,40 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const shadows = defineTokens.shadows({
4
+ xs: {
5
+ value: ['0px 0px 2px 0px rgba(0, 0, 0, 0.12)', '0px 2px 4px 0px rgba(0, 0, 0, 0.14)']
6
+ },
7
+ sm: {
8
+ value: ['0px 4px 6px -2px rgba(0, 0, 0, 0.05)', '0px 10px 15px -3px rgba(0, 0, 0, 0.10)']
9
+ },
10
+ md: {
11
+ value: ['0px 10px 10px -5px rgba(0, 0, 0, 0.04)', '0px 20px 25px -5px rgba(0, 0, 0, 0.10)']
12
+ },
13
+ lg: {
14
+ value: ['0px 6px 16px 0px rgba(0, 0, 0, 0.08)', '0px 9px 28px 8px rgba(0, 0, 0, 0.05)']
15
+ },
16
+ focus: {
17
+ value: '0 0 0 3px rgba(224, 238, 255, 1)'
18
+ },
19
+ xl: {
20
+ value: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)'
21
+ },
22
+ '2xl': {
23
+ value: '0 25px 50px -12px rgba(0, 0, 0, 0.25)'
24
+ },
25
+ outline: {
26
+ value: '0 0 0 3px #E0EEFF'
27
+ },
28
+ 'outline-tab': {
29
+ value: '0 0 0 2px #E0EEFF'
30
+ },
31
+ outer: {
32
+ value: '0 0 0 3px rgba(224, 238, 255, 1)'
33
+ },
34
+ inner: {
35
+ value: 'inset 0 2px 4px 0 rgba( 0, 0, 0, 0.06)'
36
+ },
37
+ none: {
38
+ value: 'none'
39
+ }
40
+ })
@@ -0,0 +1,28 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const sizes = defineTokens.sizes({
4
+ 0: { value: '0', description: '0px' },
5
+ 0.25: { value: '0.0625rem', description: '1px' },
6
+ 0.5: { value: '0.125rem', description: '2px' },
7
+ 1: { value: '0.25rem', description: '4px' },
8
+ 2: { value: '0.5rem', description: '8px' },
9
+ 2.5: { value: '0.625rem', description: '10px' },
10
+ 3: { value: '0.75rem', description: '12px' },
11
+ 4: { value: '1rem', description: '16px' },
12
+ 5: { value: '1.25rem', description: '20px' },
13
+ 6: { value: '1.5rem', description: '24px' },
14
+ 7: { value: '1.75rem', description: '28px' },
15
+ 7.5: { value: '1.875rem', description: '30px' },
16
+ 8: { value: '2rem', description: '32px' },
17
+ 9: { value: '2.25rem', description: '36px' },
18
+ 9.5: { value: '2.375rem', description: '38px' },
19
+ 10: { value: '2.5rem', description: '40px' },
20
+ 11: { value: '2.75rem', description: '44px' },
21
+ 12: { value: '3rem', description: '48px' },
22
+ 16: { value: '4rem', description: '64px' },
23
+ 20: { value: '5rem', description: '80px' },
24
+ 22: { value: '5.5rem', description: '96px' },
25
+ 56: { value: '14rem', description: '224px' },
26
+ 65: { value: '17.5rem', description: '280px' },
27
+ full: { value: '100%' }
28
+ })
@@ -0,0 +1,21 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const spacing = defineTokens.spacing({
4
+ 0: { value: '0', description: '0px' },
5
+ 0.5: { value: '0.125rem', description: '2px' },
6
+ 1: { value: '0.25rem', description: '4px' },
7
+ 1.5: { value: '0.375rem', description: '6px' },
8
+ 2: { value: '0.5rem', description: '8px' },
9
+ 3: { value: '0.75rem', description: '12px' },
10
+ 4: { value: '1rem', description: '16px' },
11
+ 5: { value: '1.3rem', description: '20px' },
12
+ 6: { value: '1.5rem', description: '24px' },
13
+ 8: { value: '2rem', description: '32px' },
14
+ 12: { value: '3rem', description: '48px' },
15
+ 16: { value: '4rem', description: '64px' },
16
+ 20: { value: '5rem', description: '80px' },
17
+ 24: { value: '6rem', description: '96px' },
18
+ 32: { value: '8rem', description: '128px' },
19
+ 40: { value: '10rem', description: '160px' },
20
+ 64: { value: '16rem', description: '256px' }
21
+ })