@mekari/pixel3-theme 0.0.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,45 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const fonts = defineTokens.fonts({
4
+ body: {
5
+ value:
6
+ '"inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
7
+ },
8
+ mono: {
9
+ value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
10
+ }
11
+ })
12
+
13
+ export const fontSizes = defineTokens.fontSizes({
14
+ xs: { value: '0.625rem', description: '10px' },
15
+ sm: { value: '0.75rem', description: '12px' },
16
+ md: { value: '0.875rem', description: '14px' },
17
+ lg: { value: '1rem', description: '16px' },
18
+ xl: { value: '1.25rem', description: '20px' },
19
+ '2xl': { value: '1.5rem', description: '24px' }
20
+ })
21
+
22
+ export const fontWeights = defineTokens.fontWeights({
23
+ regular: { value: '400' },
24
+ semiBold: { value: '600' },
25
+ bold: { value: '800' }
26
+ })
27
+
28
+ export const lineHeights = defineTokens.lineHeights({
29
+ xs: { value: 1.2, description: '12px/10px' },
30
+ sm: { value: 1.34, description: '16px/12px or 32px/24px' },
31
+ md: { value: 1.4, description: '28px/20px' },
32
+ lg: { value: 1.429, description: '20px/14px' },
33
+ xl: { value: 1.5, description: '24px/16px' },
34
+ '2xl': { value: 1.67, description: '20px/12px' },
35
+ '3xl': { value: 1.71, description: '24px/14px' }
36
+ })
37
+
38
+ export const letterSpacings = defineTokens.letterSpacings({
39
+ tighter: { value: '-0.05em' },
40
+ tight: { value: '-0.025em' },
41
+ normal: { value: '0' },
42
+ wide: { value: '0.025em' },
43
+ wider: { value: '0.05em' },
44
+ widest: { value: '0.1em' }
45
+ })
@@ -0,0 +1,12 @@
1
+ import { defineTokens } from '@pandacss/dev'
2
+
3
+ export const zIndex = defineTokens.zIndex({
4
+ hide: { value: -1 },
5
+ base: { value: 0 },
6
+ docked: { value: 10 },
7
+ sticky: { value: 1100 },
8
+ overlay: { value: 1300 },
9
+ modal: { value: 1400 },
10
+ popover: { value: 1500 },
11
+ tooltip: { value: 1800 }
12
+ })