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

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 (70) hide show
  1. package/dist/index.js +2803 -2082
  2. package/dist/index.mjs +2834 -2111
  3. package/dist/recipes/banner.d.mts +10 -0
  4. package/dist/recipes/banner.d.ts +10 -0
  5. package/dist/recipes/divider.d.mts +5 -0
  6. package/dist/recipes/divider.d.ts +5 -0
  7. package/dist/recipes/dropzone.d.mts +5 -0
  8. package/dist/recipes/dropzone.d.ts +5 -0
  9. package/dist/recipes/form-control.d.mts +5 -0
  10. package/dist/recipes/form-control.d.ts +5 -0
  11. package/dist/recipes/index.d.mts +13 -0
  12. package/dist/recipes/index.d.ts +13 -0
  13. package/dist/recipes/input-tag.d.mts +5 -0
  14. package/dist/recipes/input-tag.d.ts +5 -0
  15. package/dist/recipes/modal.d.mts +5 -0
  16. package/dist/recipes/modal.d.ts +5 -0
  17. package/dist/recipes/upload.d.mts +6 -0
  18. package/dist/recipes/upload.d.ts +6 -0
  19. package/dist/tokens/colors.d.mts +64 -0
  20. package/dist/tokens/colors.d.ts +64 -0
  21. package/dist/tokens/index.d.mts +71 -0
  22. package/dist/tokens/index.d.ts +71 -0
  23. package/dist/tokens/sizes.d.mts +7 -0
  24. package/dist/tokens/sizes.d.ts +7 -0
  25. package/package.json +5 -4
  26. package/src/breakpoints.ts +6 -0
  27. package/src/conditions.ts +22 -0
  28. package/src/global-css.ts +23 -0
  29. package/src/index.ts +26 -0
  30. package/src/keyframes.ts +15 -0
  31. package/src/recipes/accordion.ts +57 -0
  32. package/src/recipes/avatar.ts +179 -0
  33. package/src/recipes/badge.ts +166 -0
  34. package/src/recipes/banner.ts +143 -0
  35. package/src/recipes/button.ts +224 -0
  36. package/src/recipes/checkbox.ts +92 -0
  37. package/src/recipes/divider.ts +31 -0
  38. package/src/recipes/dropzone.ts +161 -0
  39. package/src/recipes/form-control.ts +40 -0
  40. package/src/recipes/icon.ts +31 -0
  41. package/src/recipes/index.ts +83 -0
  42. package/src/recipes/input-tag.ts +119 -0
  43. package/src/recipes/input.ts +204 -0
  44. package/src/recipes/modal.ts +108 -0
  45. package/src/recipes/popover.ts +82 -0
  46. package/src/recipes/progress.ts +76 -0
  47. package/src/recipes/radio.ts +103 -0
  48. package/src/recipes/select.ts +114 -0
  49. package/src/recipes/shared.ts +19 -0
  50. package/src/recipes/spinner.ts +25 -0
  51. package/src/recipes/table.ts +113 -0
  52. package/src/recipes/tabs.ts +204 -0
  53. package/src/recipes/tag.ts +105 -0
  54. package/src/recipes/text.ts +56 -0
  55. package/src/recipes/textarea.ts +60 -0
  56. package/src/recipes/toggle.ts +99 -0
  57. package/src/recipes/tooltip.ts +24 -0
  58. package/src/recipes/upload.ts +99 -0
  59. package/src/text-styles.ts +34 -0
  60. package/src/tokens/borders.ts +8 -0
  61. package/src/tokens/colors.ts +154 -0
  62. package/src/tokens/durations.ts +7 -0
  63. package/src/tokens/index.ts +28 -0
  64. package/src/tokens/opacity.ts +8 -0
  65. package/src/tokens/radii.ts +11 -0
  66. package/src/tokens/shadows.ts +40 -0
  67. package/src/tokens/sizes.ts +29 -0
  68. package/src/tokens/spacing.ts +21 -0
  69. package/src/tokens/typography.ts +45 -0
  70. package/src/tokens/z-index.ts +12 -0
@@ -0,0 +1,10 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const bannerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+ declare const bannerTitleRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
5
+ declare const bannerDescriptionRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
6
+ declare const bannerIconSlotRecipe: _pandacss_dev.SlotRecipeConfig;
7
+ declare const bannerLinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
8
+ declare const bannerCloseButtonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
9
+
10
+ export { bannerCloseButtonRecipe, bannerDescriptionRecipe, bannerIconSlotRecipe, bannerLinkRecipe, bannerSlotRecipe, bannerTitleRecipe };
@@ -0,0 +1,10 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const bannerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+ declare const bannerTitleRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
5
+ declare const bannerDescriptionRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
6
+ declare const bannerIconSlotRecipe: _pandacss_dev.SlotRecipeConfig;
7
+ declare const bannerLinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
8
+ declare const bannerCloseButtonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
9
+
10
+ export { bannerCloseButtonRecipe, bannerDescriptionRecipe, bannerIconSlotRecipe, bannerLinkRecipe, bannerSlotRecipe, bannerTitleRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const dividerRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { dividerRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const dividerRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { dividerRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const dropzoneSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { dropzoneSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const dropzoneSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { dropzoneSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const formControlSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { formControlSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const formControlSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { formControlSlotRecipe };
@@ -17,6 +17,11 @@ declare const recipes: {
17
17
  selectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
18
18
  tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
19
19
  tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
20
+ dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
21
+ bannerTitleRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
22
+ bannerDescriptionRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
23
+ bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
24
+ bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
20
25
  };
21
26
  declare const slotRecipes: {
22
27
  accordion: _pandacss_types.SlotRecipeConfig;
@@ -32,6 +37,14 @@ declare const slotRecipes: {
32
37
  avatarSlotRecipe: _pandacss_types.SlotRecipeConfig;
33
38
  avatarGroupSlotRecipe: _pandacss_types.SlotRecipeConfig;
34
39
  selectSlotRecipe: _pandacss_types.SlotRecipeConfig;
40
+ formControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
41
+ inputTagSlotRecipe: _pandacss_types.SlotRecipeConfig;
42
+ modalSlotRecipe: _pandacss_types.SlotRecipeConfig;
43
+ uploadSlotRecipe: _pandacss_types.SlotRecipeConfig;
44
+ uploadListSlotRecipe: _pandacss_types.SlotRecipeConfig;
45
+ dropzoneSlotRecipe: _pandacss_types.SlotRecipeConfig;
46
+ bannerSlotRecipe: _pandacss_types.SlotRecipeConfig;
47
+ bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
35
48
  };
36
49
 
37
50
  export { recipes, slotRecipes };
@@ -17,6 +17,11 @@ declare const recipes: {
17
17
  selectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
18
18
  tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
19
19
  tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
20
+ dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
21
+ bannerTitleRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
22
+ bannerDescriptionRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
23
+ bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
24
+ bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
20
25
  };
21
26
  declare const slotRecipes: {
22
27
  accordion: _pandacss_types.SlotRecipeConfig;
@@ -32,6 +37,14 @@ declare const slotRecipes: {
32
37
  avatarSlotRecipe: _pandacss_types.SlotRecipeConfig;
33
38
  avatarGroupSlotRecipe: _pandacss_types.SlotRecipeConfig;
34
39
  selectSlotRecipe: _pandacss_types.SlotRecipeConfig;
40
+ formControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
41
+ inputTagSlotRecipe: _pandacss_types.SlotRecipeConfig;
42
+ modalSlotRecipe: _pandacss_types.SlotRecipeConfig;
43
+ uploadSlotRecipe: _pandacss_types.SlotRecipeConfig;
44
+ uploadListSlotRecipe: _pandacss_types.SlotRecipeConfig;
45
+ dropzoneSlotRecipe: _pandacss_types.SlotRecipeConfig;
46
+ bannerSlotRecipe: _pandacss_types.SlotRecipeConfig;
47
+ bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
35
48
  };
36
49
 
37
50
  export { recipes, slotRecipes };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const inputTagSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { inputTagSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const inputTagSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { inputTagSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const modalSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { modalSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const modalSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { modalSlotRecipe };
@@ -0,0 +1,6 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const uploadSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+ declare const uploadListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
5
+
6
+ export { uploadListSlotRecipe, uploadSlotRecipe };
@@ -0,0 +1,6 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const uploadSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+ declare const uploadListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
5
+
6
+ export { uploadListSlotRecipe, uploadSlotRecipe };
@@ -61,6 +61,70 @@ declare const colors: {
61
61
  description: string;
62
62
  };
63
63
  };
64
+ whiteAlpha: {
65
+ 50: {
66
+ value: string;
67
+ };
68
+ 100: {
69
+ value: string;
70
+ };
71
+ 200: {
72
+ value: string;
73
+ };
74
+ 300: {
75
+ value: string;
76
+ };
77
+ 400: {
78
+ value: string;
79
+ };
80
+ 500: {
81
+ value: string;
82
+ };
83
+ 600: {
84
+ value: string;
85
+ };
86
+ 700: {
87
+ value: string;
88
+ };
89
+ 800: {
90
+ value: string;
91
+ };
92
+ 900: {
93
+ value: string;
94
+ };
95
+ };
96
+ blackAplpha: {
97
+ 50: {
98
+ value: string;
99
+ };
100
+ 100: {
101
+ value: string;
102
+ };
103
+ 200: {
104
+ value: string;
105
+ };
106
+ 300: {
107
+ value: string;
108
+ };
109
+ 400: {
110
+ value: string;
111
+ };
112
+ 500: {
113
+ value: string;
114
+ };
115
+ 600: {
116
+ value: string;
117
+ };
118
+ 700: {
119
+ value: string;
120
+ };
121
+ 800: {
122
+ value: string;
123
+ };
124
+ 900: {
125
+ value: string;
126
+ };
127
+ };
64
128
  gray: {
65
129
  25: {
66
130
  value: string;
@@ -61,6 +61,70 @@ declare const colors: {
61
61
  description: string;
62
62
  };
63
63
  };
64
+ whiteAlpha: {
65
+ 50: {
66
+ value: string;
67
+ };
68
+ 100: {
69
+ value: string;
70
+ };
71
+ 200: {
72
+ value: string;
73
+ };
74
+ 300: {
75
+ value: string;
76
+ };
77
+ 400: {
78
+ value: string;
79
+ };
80
+ 500: {
81
+ value: string;
82
+ };
83
+ 600: {
84
+ value: string;
85
+ };
86
+ 700: {
87
+ value: string;
88
+ };
89
+ 800: {
90
+ value: string;
91
+ };
92
+ 900: {
93
+ value: string;
94
+ };
95
+ };
96
+ blackAplpha: {
97
+ 50: {
98
+ value: string;
99
+ };
100
+ 100: {
101
+ value: string;
102
+ };
103
+ 200: {
104
+ value: string;
105
+ };
106
+ 300: {
107
+ value: string;
108
+ };
109
+ 400: {
110
+ value: string;
111
+ };
112
+ 500: {
113
+ value: string;
114
+ };
115
+ 600: {
116
+ value: string;
117
+ };
118
+ 700: {
119
+ value: string;
120
+ };
121
+ 800: {
122
+ value: string;
123
+ };
124
+ 900: {
125
+ value: string;
126
+ };
127
+ };
64
128
  gray: {
65
129
  25: {
66
130
  value: string;
@@ -76,6 +76,70 @@ declare const tokens: {
76
76
  description: string;
77
77
  };
78
78
  };
79
+ whiteAlpha: {
80
+ 50: {
81
+ value: string;
82
+ };
83
+ 100: {
84
+ value: string;
85
+ };
86
+ 200: {
87
+ value: string;
88
+ };
89
+ 300: {
90
+ value: string;
91
+ };
92
+ 400: {
93
+ value: string;
94
+ };
95
+ 500: {
96
+ value: string;
97
+ };
98
+ 600: {
99
+ value: string;
100
+ };
101
+ 700: {
102
+ value: string;
103
+ };
104
+ 800: {
105
+ value: string;
106
+ };
107
+ 900: {
108
+ value: string;
109
+ };
110
+ };
111
+ blackAplpha: {
112
+ 50: {
113
+ value: string;
114
+ };
115
+ 100: {
116
+ value: string;
117
+ };
118
+ 200: {
119
+ value: string;
120
+ };
121
+ 300: {
122
+ value: string;
123
+ };
124
+ 400: {
125
+ value: string;
126
+ };
127
+ 500: {
128
+ value: string;
129
+ };
130
+ 600: {
131
+ value: string;
132
+ };
133
+ 700: {
134
+ value: string;
135
+ };
136
+ 800: {
137
+ value: string;
138
+ };
139
+ 900: {
140
+ value: string;
141
+ };
142
+ };
79
143
  gray: {
80
144
  25: {
81
145
  value: string;
@@ -538,6 +602,10 @@ declare const tokens: {
538
602
  value: string;
539
603
  description: string;
540
604
  };
605
+ 56: {
606
+ value: string;
607
+ description: string;
608
+ };
541
609
  65: {
542
610
  value: string;
543
611
  description: string;
@@ -545,6 +613,9 @@ declare const tokens: {
545
613
  full: {
546
614
  value: string;
547
615
  };
616
+ sm: {
617
+ value: string;
618
+ };
548
619
  };
549
620
  spacing: {
550
621
  0: {
@@ -76,6 +76,70 @@ declare const tokens: {
76
76
  description: string;
77
77
  };
78
78
  };
79
+ whiteAlpha: {
80
+ 50: {
81
+ value: string;
82
+ };
83
+ 100: {
84
+ value: string;
85
+ };
86
+ 200: {
87
+ value: string;
88
+ };
89
+ 300: {
90
+ value: string;
91
+ };
92
+ 400: {
93
+ value: string;
94
+ };
95
+ 500: {
96
+ value: string;
97
+ };
98
+ 600: {
99
+ value: string;
100
+ };
101
+ 700: {
102
+ value: string;
103
+ };
104
+ 800: {
105
+ value: string;
106
+ };
107
+ 900: {
108
+ value: string;
109
+ };
110
+ };
111
+ blackAplpha: {
112
+ 50: {
113
+ value: string;
114
+ };
115
+ 100: {
116
+ value: string;
117
+ };
118
+ 200: {
119
+ value: string;
120
+ };
121
+ 300: {
122
+ value: string;
123
+ };
124
+ 400: {
125
+ value: string;
126
+ };
127
+ 500: {
128
+ value: string;
129
+ };
130
+ 600: {
131
+ value: string;
132
+ };
133
+ 700: {
134
+ value: string;
135
+ };
136
+ 800: {
137
+ value: string;
138
+ };
139
+ 900: {
140
+ value: string;
141
+ };
142
+ };
79
143
  gray: {
80
144
  25: {
81
145
  value: string;
@@ -538,6 +602,10 @@ declare const tokens: {
538
602
  value: string;
539
603
  description: string;
540
604
  };
605
+ 56: {
606
+ value: string;
607
+ description: string;
608
+ };
541
609
  65: {
542
610
  value: string;
543
611
  description: string;
@@ -545,6 +613,9 @@ declare const tokens: {
545
613
  full: {
546
614
  value: string;
547
615
  };
616
+ sm: {
617
+ value: string;
618
+ };
548
619
  };
549
620
  spacing: {
550
621
  0: {
@@ -83,6 +83,10 @@ declare const sizes: {
83
83
  value: string;
84
84
  description: string;
85
85
  };
86
+ 56: {
87
+ value: string;
88
+ description: string;
89
+ };
86
90
  65: {
87
91
  value: string;
88
92
  description: string;
@@ -90,6 +94,9 @@ declare const sizes: {
90
94
  full: {
91
95
  value: string;
92
96
  };
97
+ sm: {
98
+ value: string;
99
+ };
93
100
  };
94
101
 
95
102
  export { sizes };
@@ -83,6 +83,10 @@ declare const sizes: {
83
83
  value: string;
84
84
  description: string;
85
85
  };
86
+ 56: {
87
+ value: string;
88
+ description: string;
89
+ };
86
90
  65: {
87
91
  value: string;
88
92
  description: string;
@@ -90,6 +94,9 @@ declare const sizes: {
90
94
  full: {
91
95
  value: string;
92
96
  };
97
+ sm: {
98
+ value: string;
99
+ };
93
100
  };
94
101
 
95
102
  export { sizes };
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-theme",
3
3
  "description": "Theme for mekari pixel 3",
4
- "version": "0.0.1-alpha.0",
4
+ "version": "0.0.2",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
8
- "dist"
8
+ "dist",
9
+ "src"
9
10
  ],
10
11
  "dependencies": {
11
- "@pandacss/dev": "0.20.1"
12
+ "@pandacss/dev": "0.22.1"
12
13
  },
13
14
  "peerDependencies": {
14
15
  "vue": "^3.3.7"
15
16
  },
16
17
  "devDependencies": {
17
- "@pandacss/types": "0.20.1",
18
+ "@pandacss/types": "0.22.1",
18
19
  "vue": "^3.3.7"
19
20
  },
20
21
  "publishConfig": {
@@ -0,0 +1,6 @@
1
+ export const breakpoints = {
2
+ sm: '22.5em',
3
+ md: '48em',
4
+ lg: '64em',
5
+ xl: '80em'
6
+ }
@@ -0,0 +1,22 @@
1
+ export const conditions = {
2
+ extend: {
3
+ disabled: '&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])',
4
+ invalid: '&:is(:invalid, [aria-invalid=true], [data-invalid])',
5
+ checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])',
6
+ indeterminate:
7
+ '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])',
8
+ closed: '&:is([data-state=closed])',
9
+ open: '&:is([open], [data-state=open])',
10
+ hidden: '&:is([hidden])',
11
+ collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',
12
+ loading: '& > [data-loading=true], &:is([data-loading], [aria-busy=true])',
13
+ hasIcon: '&[data-has-icon=true]',
14
+ active: '&[data-active=true], [data-active]',
15
+ highlight: '&[data-highlight=true], [data-highlight]',
16
+ hasBorder: '&[data-has-border=true]',
17
+ hasBackground: '&[data-has-background=true]',
18
+ isFullWidth: '&[data-is-full-width=true]',
19
+ placementLeft: '&[data-placement=left]',
20
+ placementRight: '&[data-placement=right]'
21
+ }
22
+ }
@@ -0,0 +1,23 @@
1
+ import { defineGlobalStyles } from '@pandacss/dev'
2
+
3
+ export const globalCss = defineGlobalStyles({
4
+ html: {
5
+ MozOsxFontSmoothing: 'grayscale',
6
+ textRendering: 'optimizeLegibility',
7
+ WebkitFontSmoothing: 'antialiased',
8
+ WebkitTextSizeAdjust: '100%'
9
+ },
10
+ body: {
11
+ background: 'var(--mp-colors-white)',
12
+ color: 'var(--mp-colors-dark)',
13
+ fontFamily: 'var(--mp-fonts-body)',
14
+ fontSize: '14px',
15
+ _dark: {
16
+ colorScheme: 'dark'
17
+ }
18
+ },
19
+ '*, *::before, *::after': {
20
+ borderStyle: 'solid',
21
+ boxSizing: 'border-box'
22
+ }
23
+ })
package/src/index.ts ADDED
@@ -0,0 +1,26 @@
1
+ import { definePreset } from '@pandacss/dev'
2
+ import type { Preset } from '@pandacss/types'
3
+ import { breakpoints } from './breakpoints'
4
+ import { conditions } from './conditions'
5
+ import { globalCss } from './global-css'
6
+ import { keyframes } from './keyframes'
7
+ import { recipes, slotRecipes } from './recipes'
8
+ import { textStyles } from './text-styles'
9
+ import { tokens } from './tokens'
10
+
11
+ const preset: Preset = definePreset({
12
+ theme: {
13
+ extend: {
14
+ breakpoints,
15
+ keyframes,
16
+ textStyles,
17
+ tokens,
18
+ recipes,
19
+ slotRecipes
20
+ }
21
+ },
22
+ conditions,
23
+ globalCss
24
+ })
25
+
26
+ export default preset
@@ -0,0 +1,15 @@
1
+ import { defineKeyframes } from '@pandacss/dev'
2
+
3
+ export const keyframes = defineKeyframes({
4
+ 'fade-in': {
5
+ from: { opacity: '0' },
6
+ to: { opacity: '1' }
7
+ },
8
+ 'fade-out': {
9
+ from: { opacity: '1' },
10
+ to: { opacity: '0' }
11
+ },
12
+ spin: {
13
+ '100%': { transform: 'rotate(1turn)' }
14
+ }
15
+ })