typewritingclass 0.2.2 → 0.2.3

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 (139) hide show
  1. package/dist/borders-pzt8w5Wv.d.cts +24 -0
  2. package/dist/borders-pzt8w5Wv.d.ts +24 -0
  3. package/dist/chunk-34VD2OBF.cjs +74 -0
  4. package/dist/chunk-6CEDQ6GF.cjs +36 -0
  5. package/dist/chunk-75ZPJI57.cjs +9 -0
  6. package/dist/chunk-ATLK64TQ.js +85 -0
  7. package/dist/chunk-BAZLFQIV.cjs +85 -0
  8. package/dist/chunk-CB7B6PHY.cjs +19 -0
  9. package/dist/chunk-EBHM46CV.cjs +25 -0
  10. package/dist/chunk-IL3LVS32.js +36 -0
  11. package/dist/chunk-JKT74FUK.js +25 -0
  12. package/dist/chunk-L3IF2OVA.cjs +354 -0
  13. package/{src/theme/animations.ts → dist/chunk-L7AJQJBR.js} +16 -8
  14. package/dist/chunk-LARVCDO3.js +113 -0
  15. package/dist/chunk-M34ZK4IV.cjs +53 -0
  16. package/dist/chunk-MLKGABMK.js +9 -0
  17. package/dist/chunk-PBQX6PVK.js +80 -0
  18. package/dist/chunk-PTY5FTFB.cjs +80 -0
  19. package/dist/chunk-T776FXQK.js +53 -0
  20. package/dist/chunk-TAAEIXRF.js +74 -0
  21. package/dist/chunk-TUUH2FJY.cjs +39 -0
  22. package/dist/chunk-U2LSMKZS.js +60 -0
  23. package/dist/chunk-UUUE7HRN.cjs +60 -0
  24. package/dist/chunk-UUVUSZJS.cjs +113 -0
  25. package/dist/chunk-XEHQXLQR.js +354 -0
  26. package/dist/chunk-YHDPOIUZ.js +39 -0
  27. package/dist/colors-MvgcZKUW.d.cts +72 -0
  28. package/dist/colors-MvgcZKUW.d.ts +72 -0
  29. package/dist/index.cjs +2922 -0
  30. package/dist/index.d.cts +3515 -0
  31. package/dist/index.d.ts +3515 -0
  32. package/dist/index.js +2922 -0
  33. package/{src/theme/inject-theme.ts → dist/inject-theme-CTzyfQH0.d.cts} +4 -20
  34. package/dist/inject-theme-CTzyfQH0.d.ts +65 -0
  35. package/dist/inject.cjs +32 -0
  36. package/dist/inject.d.cts +2 -0
  37. package/dist/inject.d.ts +2 -0
  38. package/dist/inject.js +32 -0
  39. package/dist/rule.cjs +19 -0
  40. package/{src/rule.ts → dist/rule.d.cts} +10 -79
  41. package/dist/rule.d.ts +133 -0
  42. package/dist/rule.js +19 -0
  43. package/dist/runtime.cjs +9 -0
  44. package/{src/runtime.ts → dist/runtime.d.cts} +4 -7
  45. package/dist/runtime.d.ts +33 -0
  46. package/dist/runtime.js +9 -0
  47. package/dist/shadows-CWViP1Zk.d.cts +22 -0
  48. package/dist/shadows-CWViP1Zk.d.ts +22 -0
  49. package/dist/sizes-CS9iz8YG.d.cts +46 -0
  50. package/dist/sizes-CS9iz8YG.d.ts +46 -0
  51. package/dist/theme/animations.cjs +15 -0
  52. package/dist/theme/animations.d.cts +12 -0
  53. package/dist/theme/animations.d.ts +12 -0
  54. package/dist/theme/animations.js +15 -0
  55. package/dist/theme/borders.cjs +23 -0
  56. package/dist/theme/borders.d.cts +1 -0
  57. package/dist/theme/borders.d.ts +1 -0
  58. package/dist/theme/borders.js +23 -0
  59. package/dist/theme/colors.cjs +57 -0
  60. package/dist/theme/colors.d.cts +1 -0
  61. package/dist/theme/colors.d.ts +1 -0
  62. package/dist/theme/colors.js +57 -0
  63. package/dist/theme/createTheme.cjs +7 -0
  64. package/dist/theme/createTheme.d.cts +133 -0
  65. package/dist/theme/createTheme.d.ts +133 -0
  66. package/dist/theme/createTheme.js +7 -0
  67. package/dist/theme/filters.cjs +9 -0
  68. package/dist/theme/filters.d.cts +21 -0
  69. package/dist/theme/filters.d.ts +21 -0
  70. package/dist/theme/filters.js +9 -0
  71. package/dist/theme/index.cjs +35 -0
  72. package/dist/theme/index.d.cts +18 -0
  73. package/dist/theme/index.d.ts +18 -0
  74. package/dist/theme/index.js +35 -0
  75. package/dist/theme/shadows.cjs +21 -0
  76. package/dist/theme/shadows.d.cts +1 -0
  77. package/dist/theme/shadows.d.ts +1 -0
  78. package/dist/theme/shadows.js +21 -0
  79. package/dist/theme/sizes.cjs +21 -0
  80. package/dist/theme/sizes.d.cts +1 -0
  81. package/dist/theme/sizes.d.ts +1 -0
  82. package/dist/theme/sizes.js +21 -0
  83. package/dist/theme/typography.cjs +55 -0
  84. package/dist/theme/typography.d.cts +1 -0
  85. package/dist/theme/typography.d.ts +1 -0
  86. package/dist/theme/typography.js +55 -0
  87. package/dist/types-FfRD4Hbd.d.cts +346 -0
  88. package/dist/types-FfRD4Hbd.d.ts +346 -0
  89. package/dist/typography-C8wipcCK.d.cts +87 -0
  90. package/dist/typography-C8wipcCK.d.ts +87 -0
  91. package/package.json +117 -33
  92. package/src/css.ts +0 -140
  93. package/src/cx.ts +0 -105
  94. package/src/dcx.ts +0 -79
  95. package/src/dynamic.ts +0 -117
  96. package/src/hash.ts +0 -55
  97. package/src/index.ts +0 -139
  98. package/src/inject.ts +0 -86
  99. package/src/layer.ts +0 -81
  100. package/src/modifiers/aria.ts +0 -15
  101. package/src/modifiers/colorScheme.ts +0 -32
  102. package/src/modifiers/data.ts +0 -6
  103. package/src/modifiers/direction.ts +0 -5
  104. package/src/modifiers/group.ts +0 -21
  105. package/src/modifiers/index.ts +0 -17
  106. package/src/modifiers/media.ts +0 -11
  107. package/src/modifiers/peer.ts +0 -24
  108. package/src/modifiers/pseudo.ts +0 -183
  109. package/src/modifiers/pseudoElements.ts +0 -26
  110. package/src/modifiers/responsive.ts +0 -110
  111. package/src/modifiers/supports.ts +0 -6
  112. package/src/registry.ts +0 -171
  113. package/src/theme/borders.ts +0 -9
  114. package/src/theme/colors.ts +0 -326
  115. package/src/theme/createTheme.ts +0 -238
  116. package/src/theme/filters.ts +0 -20
  117. package/src/theme/index.ts +0 -9
  118. package/src/theme/shadows.ts +0 -8
  119. package/src/theme/sizes.ts +0 -37
  120. package/src/theme/spacing.ts +0 -44
  121. package/src/theme/typography.ts +0 -72
  122. package/src/tw.ts +0 -967
  123. package/src/types.ts +0 -273
  124. package/src/utilities/accessibility.ts +0 -33
  125. package/src/utilities/backgrounds.ts +0 -87
  126. package/src/utilities/borders.ts +0 -629
  127. package/src/utilities/colors.ts +0 -151
  128. package/src/utilities/effects.ts +0 -181
  129. package/src/utilities/filters.ts +0 -113
  130. package/src/utilities/index.ts +0 -57
  131. package/src/utilities/interactivity.ts +0 -254
  132. package/src/utilities/layout.ts +0 -1194
  133. package/src/utilities/spacing.ts +0 -681
  134. package/src/utilities/svg.ts +0 -35
  135. package/src/utilities/tables.ts +0 -54
  136. package/src/utilities/transforms.ts +0 -88
  137. package/src/utilities/transitions.ts +0 -107
  138. package/src/utilities/typography.ts +0 -387
  139. package/src/when.ts +0 -63
@@ -1,110 +0,0 @@
1
- import type { StyleRule, Modifier } from '../types.ts'
2
- import { wrapWithMediaQuery } from '../rule.ts'
3
-
4
- /**
5
- * Applies styles at the **small** breakpoint and above (`min-width: 640px`).
6
- *
7
- * Use with {@link when} to make style rules responsive. Wraps the rule in a
8
- * `@media (min-width: 640px)` query.
9
- *
10
- * @param rule - The style rule to apply at `>=640px`.
11
- * @returns A new {@link StyleRule} wrapped in the small-breakpoint media query.
12
- *
13
- * @example
14
- * ```ts
15
- * import { cx, p, when, sm } from 'typewritingclass'
16
- *
17
- * cx(p('1rem'), when(sm)(p('2rem')))
18
- * // CSS: .abc { padding: 1rem; }
19
- * // @media (min-width: 640px) { .def { padding: 2rem; } }
20
- * ```
21
- */
22
- export const sm: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(min-width: 640px)')
23
-
24
- /**
25
- * Applies styles at the **medium** breakpoint and above (`min-width: 768px`).
26
- *
27
- * Use with {@link when} to make style rules responsive. Wraps the rule in a
28
- * `@media (min-width: 768px)` query.
29
- *
30
- * @param rule - The style rule to apply at `>=768px`.
31
- * @returns A new {@link StyleRule} wrapped in the medium-breakpoint media query.
32
- *
33
- * @example
34
- * ```ts
35
- * import { cx, grid, gridCols, when, md } from 'typewritingclass'
36
- *
37
- * cx(gridCols('1'), when(md)(gridCols('2')))
38
- * // CSS: .abc { grid-template-columns: 1; }
39
- * // @media (min-width: 768px) { .def { grid-template-columns: 2; } }
40
- * ```
41
- */
42
- export const md: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(min-width: 768px)')
43
-
44
- /**
45
- * Applies styles at the **large** breakpoint and above (`min-width: 1024px`).
46
- *
47
- * Use with {@link when} to make style rules responsive. Wraps the rule in a
48
- * `@media (min-width: 1024px)` query.
49
- *
50
- * @param rule - The style rule to apply at `>=1024px`.
51
- * @returns A new {@link StyleRule} wrapped in the large-breakpoint media query.
52
- *
53
- * @example
54
- * ```ts
55
- * import { cx, maxW, when, lg } from 'typewritingclass'
56
- *
57
- * cx(maxW('100%'), when(lg)(maxW('1024px')))
58
- * // CSS: .abc { max-width: 100%; }
59
- * // @media (min-width: 1024px) { .def { max-width: 1024px; } }
60
- * ```
61
- */
62
- export const lg: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(min-width: 1024px)')
63
-
64
- /**
65
- * Applies styles at the **extra-large** breakpoint and above (`min-width: 1280px`).
66
- *
67
- * Use with {@link when} to make style rules responsive. Wraps the rule in a
68
- * `@media (min-width: 1280px)` query.
69
- *
70
- * @param rule - The style rule to apply at `>=1280px`.
71
- * @returns A new {@link StyleRule} wrapped in the extra-large-breakpoint media query.
72
- *
73
- * @example
74
- * ```ts
75
- * import { cx, maxW, when, xl } from 'typewritingclass'
76
- *
77
- * cx(maxW('100%'), when(xl)(maxW('1280px')))
78
- * // CSS: .abc { max-width: 100%; }
79
- * // @media (min-width: 1280px) { .def { max-width: 1280px; } }
80
- * ```
81
- */
82
- export const xl: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(min-width: 1280px)')
83
-
84
- /**
85
- * Applies styles at the **2x-large** breakpoint and above (`min-width: 1536px`).
86
- *
87
- * Use with {@link when} to make style rules responsive. Wraps the rule in a
88
- * `@media (min-width: 1536px)` query.
89
- *
90
- * Exported as `_2xl` because identifiers cannot start with a digit in JavaScript.
91
- *
92
- * @param rule - The style rule to apply at `>=1536px`.
93
- * @returns A new {@link StyleRule} wrapped in the 2xl-breakpoint media query.
94
- *
95
- * @example
96
- * ```ts
97
- * import { cx, maxW, when, _2xl } from 'typewritingclass'
98
- *
99
- * cx(maxW('100%'), when(_2xl)(maxW('1536px')))
100
- * // CSS: .abc { max-width: 100%; }
101
- * // @media (min-width: 1536px) { .def { max-width: 1536px; } }
102
- * ```
103
- */
104
- export const _2xl: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(min-width: 1536px)')
105
-
106
- export const maxSm: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(max-width: 639px)')
107
- export const maxMd: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(max-width: 767px)')
108
- export const maxLg: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(max-width: 1023px)')
109
- export const maxXl: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(max-width: 1279px)')
110
- export const max2xl: Modifier = (rule: StyleRule) => wrapWithMediaQuery(rule, '(max-width: 1535px)')
@@ -1,6 +0,0 @@
1
- import type { StyleRule, Modifier } from '../types.ts'
2
- import { wrapWithSupportsQuery } from '../rule.ts'
3
-
4
- export function supports(query: string): Modifier {
5
- return (rule: StyleRule) => wrapWithSupportsQuery(rule, query)
6
- }
package/src/registry.ts DELETED
@@ -1,171 +0,0 @@
1
- import type { StyleRule } from './types.ts'
2
-
3
- /**
4
- * An entry in the style registry, pairing a {@link StyleRule} with its
5
- * layer ordering number.
6
- *
7
- * @internal
8
- */
9
- interface RegistryEntry {
10
- /** The style rule containing CSS declarations, selectors, and media queries. */
11
- rule: StyleRule
12
- /** The layer number determining the order this rule appears in the generated CSS. Lower numbers come first. */
13
- layer: number
14
- }
15
-
16
- /**
17
- * Global map of generated class names to their {@link RegistryEntry}.
18
- * Each unique class name is registered at most once.
19
- *
20
- * @internal
21
- */
22
- const registry = new Map<string, RegistryEntry>()
23
-
24
- /**
25
- * List of callbacks invoked whenever a new rule is registered.
26
- *
27
- * @internal
28
- */
29
- const listeners: Array<() => void> = []
30
-
31
- /**
32
- * Registers a style rule under a generated class name.
33
- *
34
- * If the class name is already registered, the call is a no-op (first-write-wins).
35
- * After a successful registration, all listeners registered via {@link onChange}
36
- * are notified synchronously.
37
- *
38
- * @internal
39
- * @param className - The unique hashed class name (e.g., `'_a1b2c'`).
40
- * @param rule - The {@link StyleRule} to associate with the class name.
41
- * @param layer - The layer ordering number from {@link nextLayer}, controlling
42
- * the position of this rule in the final CSS output.
43
- *
44
- * @example
45
- * ```ts
46
- * register('_a1b2c', createRule({ padding: '1rem' }), 0)
47
- * ```
48
- */
49
- export function register(className: string, rule: StyleRule, layer: number): void {
50
- if (registry.has(className)) return
51
- registry.set(className, { rule, layer })
52
- for (const cb of listeners) cb()
53
- }
54
-
55
- /**
56
- * Subscribes a callback to be invoked whenever a new rule is registered.
57
- *
58
- * This is used by the runtime style injection module ({@link inject}) to
59
- * schedule CSS updates when new rules appear.
60
- *
61
- * @internal
62
- * @param callback - A function to call on each new registration.
63
- * @returns An unsubscribe function that removes the listener when called.
64
- *
65
- * @example
66
- * ```ts
67
- * const unsubscribe = onChange(() => {
68
- * console.log('New rule registered, CSS may need updating')
69
- * })
70
- *
71
- * // Later, stop listening:
72
- * unsubscribe()
73
- * ```
74
- */
75
- export function onChange(callback: () => void): () => void {
76
- listeners.push(callback)
77
- return () => {
78
- const idx = listeners.indexOf(callback)
79
- if (idx >= 0) listeners.splice(idx, 1)
80
- }
81
- }
82
-
83
- /**
84
- * Renders a single registry entry into a CSS rule string.
85
- *
86
- * Builds the selector from the class name and any pseudo-class/attribute
87
- * selectors, then wraps the result in `@media` blocks for each media query.
88
- *
89
- * @internal
90
- * @param className - The hashed class name.
91
- * @param rule - The {@link StyleRule} to render.
92
- * @returns A complete CSS rule string, potentially wrapped in media queries.
93
- */
94
- function renderRule(className: string, rule: StyleRule): string {
95
- const decls = Object.entries(rule.declarations)
96
- .map(([prop, val]) => ` ${prop}: ${val};`)
97
- .join('\n')
98
-
99
- let selector: string
100
- if (rule.selectorTemplate) {
101
- selector = rule.selectorTemplate.replace(/&/g, `.${className}`)
102
- } else {
103
- selector = `.${className}`
104
- if (rule.selectors.length > 0) {
105
- selector += rule.selectors.join('')
106
- }
107
- }
108
-
109
- let css = `${selector} {\n${decls}\n}`
110
-
111
- for (const sq of rule.supportsQueries) {
112
- css = `@supports ${sq} {\n${css}\n}`
113
- }
114
-
115
- for (const mq of rule.mediaQueries) {
116
- css = `@media ${mq} {\n${css}\n}`
117
- }
118
-
119
- return css
120
- }
121
-
122
- /**
123
- * Generates a complete CSS stylesheet string from all registered rules.
124
- *
125
- * Rules are sorted by their layer number (ascending) so that later-declared
126
- * utilities naturally override earlier ones in the cascade. Rules are
127
- * separated by blank lines.
128
- *
129
- * @internal
130
- * @returns The full CSS string for all registered style rules, or an empty
131
- * string if no rules have been registered.
132
- *
133
- * @example
134
- * ```ts
135
- * register('_a', createRule({ padding: '1rem' }), 0)
136
- * register('_b', createRule({ margin: '0' }), 1)
137
- *
138
- * generateCSS()
139
- * // "._a {\n padding: 1rem;\n}\n\n._b {\n margin: 0;\n}"
140
- * ```
141
- */
142
- export function generateCSS(): string {
143
- const entries = [...registry.entries()].sort((a, b) => a[1].layer - b[1].layer)
144
- const rules = entries.map(([className, { rule }]) => renderRule(className, rule))
145
- if (rules.length === 0) return ''
146
- return rules.join('\n\n')
147
- }
148
-
149
- /**
150
- * Returns a read-only view of the internal style registry.
151
- *
152
- * Useful for debugging and testing to inspect which rules have been registered.
153
- *
154
- * @internal
155
- * @returns A `ReadonlyMap` mapping class names to their {@link RegistryEntry}.
156
- */
157
- export function getRegistry(): ReadonlyMap<string, RegistryEntry> {
158
- return registry
159
- }
160
-
161
- /**
162
- * Removes all entries from the style registry.
163
- *
164
- * Primarily used in tests to reset state between test cases. Does **not**
165
- * notify change listeners.
166
- *
167
- * @internal
168
- */
169
- export function clearRegistry(): void {
170
- registry.clear()
171
- }
@@ -1,9 +0,0 @@
1
- export const none = '0px'
2
- export const sm = '0.125rem'
3
- export const DEFAULT = '0.25rem'
4
- export const md = '0.375rem'
5
- export const lg = '0.5rem'
6
- export const xl = '0.75rem'
7
- export const _2xl = '1rem'
8
- export const _3xl = '1.5rem'
9
- export const full = '9999px'
@@ -1,326 +0,0 @@
1
- export type ColorScale = {
2
- 50: string
3
- 100: string
4
- 200: string
5
- 300: string
6
- 400: string
7
- 500: string
8
- 600: string
9
- 700: string
10
- 800: string
11
- 900: string
12
- 950: string
13
- }
14
-
15
- export const slate: ColorScale = {
16
- 50: '#f8fafc',
17
- 100: '#f1f5f9',
18
- 200: '#e2e8f0',
19
- 300: '#cbd5e1',
20
- 400: '#94a3b8',
21
- 500: '#64748b',
22
- 600: '#475569',
23
- 700: '#334155',
24
- 800: '#1e293b',
25
- 900: '#0f172a',
26
- 950: '#020617',
27
- }
28
-
29
- export const gray: ColorScale = {
30
- 50: '#f9fafb',
31
- 100: '#f3f4f6',
32
- 200: '#e5e7eb',
33
- 300: '#d1d5db',
34
- 400: '#9ca3af',
35
- 500: '#6b7280',
36
- 600: '#4b5563',
37
- 700: '#374151',
38
- 800: '#1f2937',
39
- 900: '#111827',
40
- 950: '#030712',
41
- }
42
-
43
- export const zinc: ColorScale = {
44
- 50: '#fafafa',
45
- 100: '#f4f4f5',
46
- 200: '#e4e4e7',
47
- 300: '#d4d4d8',
48
- 400: '#a1a1aa',
49
- 500: '#71717a',
50
- 600: '#52525b',
51
- 700: '#3f3f46',
52
- 800: '#27272a',
53
- 900: '#18181b',
54
- 950: '#09090b',
55
- }
56
-
57
- export const neutral: ColorScale = {
58
- 50: '#fafafa',
59
- 100: '#f5f5f5',
60
- 200: '#e5e5e5',
61
- 300: '#d4d4d4',
62
- 400: '#a3a3a3',
63
- 500: '#737373',
64
- 600: '#525252',
65
- 700: '#404040',
66
- 800: '#262626',
67
- 900: '#171717',
68
- 950: '#0a0a0a',
69
- }
70
-
71
- export const stone: ColorScale = {
72
- 50: '#fafaf9',
73
- 100: '#f5f5f4',
74
- 200: '#e7e5e4',
75
- 300: '#d6d3d1',
76
- 400: '#a8a29e',
77
- 500: '#78716c',
78
- 600: '#57534e',
79
- 700: '#44403c',
80
- 800: '#292524',
81
- 900: '#1c1917',
82
- 950: '#0c0a09',
83
- }
84
-
85
- export const red: ColorScale = {
86
- 50: '#fef2f2',
87
- 100: '#fee2e2',
88
- 200: '#fecaca',
89
- 300: '#fca5a5',
90
- 400: '#f87171',
91
- 500: '#ef4444',
92
- 600: '#dc2626',
93
- 700: '#b91c1c',
94
- 800: '#991b1b',
95
- 900: '#7f1d1d',
96
- 950: '#450a0a',
97
- }
98
-
99
- export const orange: ColorScale = {
100
- 50: '#fff7ed',
101
- 100: '#ffedd5',
102
- 200: '#fed7aa',
103
- 300: '#fdba74',
104
- 400: '#fb923c',
105
- 500: '#f97316',
106
- 600: '#ea580c',
107
- 700: '#c2410c',
108
- 800: '#9a3412',
109
- 900: '#7c2d12',
110
- 950: '#431407',
111
- }
112
-
113
- export const amber: ColorScale = {
114
- 50: '#fffbeb',
115
- 100: '#fef3c7',
116
- 200: '#fde68a',
117
- 300: '#fcd34d',
118
- 400: '#fbbf24',
119
- 500: '#f59e0b',
120
- 600: '#d97706',
121
- 700: '#b45309',
122
- 800: '#92400e',
123
- 900: '#78350f',
124
- 950: '#451a03',
125
- }
126
-
127
- export const yellow: ColorScale = {
128
- 50: '#fefce8',
129
- 100: '#fef9c3',
130
- 200: '#fef08a',
131
- 300: '#fde047',
132
- 400: '#facc15',
133
- 500: '#eab308',
134
- 600: '#ca8a04',
135
- 700: '#a16207',
136
- 800: '#854d0e',
137
- 900: '#713f12',
138
- 950: '#422006',
139
- }
140
-
141
- export const lime: ColorScale = {
142
- 50: '#f7fee7',
143
- 100: '#ecfccb',
144
- 200: '#d9f99d',
145
- 300: '#bef264',
146
- 400: '#a3e635',
147
- 500: '#84cc16',
148
- 600: '#65a30d',
149
- 700: '#4d7c0f',
150
- 800: '#3f6212',
151
- 900: '#365314',
152
- 950: '#1a2e05',
153
- }
154
-
155
- export const green: ColorScale = {
156
- 50: '#f0fdf4',
157
- 100: '#dcfce7',
158
- 200: '#bbf7d0',
159
- 300: '#86efac',
160
- 400: '#4ade80',
161
- 500: '#22c55e',
162
- 600: '#16a34a',
163
- 700: '#15803d',
164
- 800: '#166534',
165
- 900: '#14532d',
166
- 950: '#052e16',
167
- }
168
-
169
- export const emerald: ColorScale = {
170
- 50: '#ecfdf5',
171
- 100: '#d1fae5',
172
- 200: '#a7f3d0',
173
- 300: '#6ee7b7',
174
- 400: '#34d399',
175
- 500: '#10b981',
176
- 600: '#059669',
177
- 700: '#047857',
178
- 800: '#065f46',
179
- 900: '#064e3b',
180
- 950: '#022c22',
181
- }
182
-
183
- export const teal: ColorScale = {
184
- 50: '#f0fdfa',
185
- 100: '#ccfbf1',
186
- 200: '#99f6e4',
187
- 300: '#5eead4',
188
- 400: '#2dd4bf',
189
- 500: '#14b8a6',
190
- 600: '#0d9488',
191
- 700: '#0f766e',
192
- 800: '#115e59',
193
- 900: '#134e4a',
194
- 950: '#042f2e',
195
- }
196
-
197
- export const cyan: ColorScale = {
198
- 50: '#ecfeff',
199
- 100: '#cffafe',
200
- 200: '#a5f3fc',
201
- 300: '#67e8f9',
202
- 400: '#22d3ee',
203
- 500: '#06b6d4',
204
- 600: '#0891b2',
205
- 700: '#0e7490',
206
- 800: '#155e75',
207
- 900: '#164e63',
208
- 950: '#083344',
209
- }
210
-
211
- export const sky: ColorScale = {
212
- 50: '#f0f9ff',
213
- 100: '#e0f2fe',
214
- 200: '#bae6fd',
215
- 300: '#7dd3fc',
216
- 400: '#38bdf8',
217
- 500: '#0ea5e9',
218
- 600: '#0284c7',
219
- 700: '#0369a1',
220
- 800: '#075985',
221
- 900: '#0c4a6e',
222
- 950: '#082f49',
223
- }
224
-
225
- export const blue: ColorScale = {
226
- 50: '#eff6ff',
227
- 100: '#dbeafe',
228
- 200: '#bfdbfe',
229
- 300: '#93c5fd',
230
- 400: '#60a5fa',
231
- 500: '#3b82f6',
232
- 600: '#2563eb',
233
- 700: '#1d4ed8',
234
- 800: '#1e40af',
235
- 900: '#1e3a8a',
236
- 950: '#172554',
237
- }
238
-
239
- export const indigo: ColorScale = {
240
- 50: '#eef2ff',
241
- 100: '#e0e7ff',
242
- 200: '#c7d2fe',
243
- 300: '#a5b4fc',
244
- 400: '#818cf8',
245
- 500: '#6366f1',
246
- 600: '#4f46e5',
247
- 700: '#4338ca',
248
- 800: '#3730a3',
249
- 900: '#312e81',
250
- 950: '#1e1b4b',
251
- }
252
-
253
- export const violet: ColorScale = {
254
- 50: '#f5f3ff',
255
- 100: '#ede9fe',
256
- 200: '#ddd6fe',
257
- 300: '#c4b5fd',
258
- 400: '#a78bfa',
259
- 500: '#8b5cf6',
260
- 600: '#7c3aed',
261
- 700: '#6d28d9',
262
- 800: '#5b21b6',
263
- 900: '#4c1d95',
264
- 950: '#2e1065',
265
- }
266
-
267
- export const purple: ColorScale = {
268
- 50: '#faf5ff',
269
- 100: '#f3e8ff',
270
- 200: '#e9d5ff',
271
- 300: '#d8b4fe',
272
- 400: '#c084fc',
273
- 500: '#a855f7',
274
- 600: '#9333ea',
275
- 700: '#7e22ce',
276
- 800: '#6b21a8',
277
- 900: '#581c87',
278
- 950: '#3b0764',
279
- }
280
-
281
- export const fuchsia: ColorScale = {
282
- 50: '#fdf4ff',
283
- 100: '#fae8ff',
284
- 200: '#f5d0fe',
285
- 300: '#f0abfc',
286
- 400: '#e879f9',
287
- 500: '#d946ef',
288
- 600: '#c026d3',
289
- 700: '#a21caf',
290
- 800: '#86198f',
291
- 900: '#701a75',
292
- 950: '#4a044e',
293
- }
294
-
295
- export const pink: ColorScale = {
296
- 50: '#fdf2f8',
297
- 100: '#fce7f3',
298
- 200: '#fbcfe8',
299
- 300: '#f9a8d4',
300
- 400: '#f472b6',
301
- 500: '#ec4899',
302
- 600: '#db2777',
303
- 700: '#be185d',
304
- 800: '#9d174d',
305
- 900: '#831843',
306
- 950: '#500724',
307
- }
308
-
309
- export const rose: ColorScale = {
310
- 50: '#fff1f2',
311
- 100: '#ffe4e6',
312
- 200: '#fecdd3',
313
- 300: '#fda4af',
314
- 400: '#fb7185',
315
- 500: '#f43f5e',
316
- 600: '#e11d48',
317
- 700: '#be123c',
318
- 800: '#9f1239',
319
- 900: '#881337',
320
- 950: '#4c0519',
321
- }
322
-
323
- export const white = '#ffffff'
324
- export const black = '#000000'
325
- export const transparent = 'transparent'
326
- export const currentColor = 'currentColor'