@rjsf/shadcn 6.0.0-beta.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 (295) hide show
  1. package/README.md +225 -0
  2. package/dist/blue.css +1 -0
  3. package/dist/default.css +1 -0
  4. package/dist/green.css +1 -0
  5. package/dist/index.js +1521 -0
  6. package/dist/index.js.map +7 -0
  7. package/dist/orange.css +1 -0
  8. package/dist/red.css +1 -0
  9. package/dist/rjsf-shadcn.esm.js +1540 -0
  10. package/dist/rjsf-shadcn.esm.js.map +7 -0
  11. package/dist/rjsf-shadcn.umd.js +1329 -0
  12. package/dist/rose.css +1 -0
  13. package/dist/violet.css +1 -0
  14. package/dist/yellow.css +1 -0
  15. package/dist/zinc.css +1 -0
  16. package/lib/AddButton/AddButton.d.ts +6 -0
  17. package/lib/AddButton/AddButton.js +13 -0
  18. package/lib/AddButton/AddButton.js.map +1 -0
  19. package/lib/AddButton/index.d.ts +2 -0
  20. package/lib/AddButton/index.js +3 -0
  21. package/lib/AddButton/index.js.map +1 -0
  22. package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.d.ts +6 -0
  23. package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js +13 -0
  24. package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js.map +1 -0
  25. package/lib/ArrayFieldItemTemplate/index.d.ts +2 -0
  26. package/lib/ArrayFieldItemTemplate/index.js +3 -0
  27. package/lib/ArrayFieldItemTemplate/index.js.map +1 -0
  28. package/lib/ArrayFieldTemplate/ArrayFieldTemplate.d.ts +6 -0
  29. package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js +18 -0
  30. package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js.map +1 -0
  31. package/lib/ArrayFieldTemplate/index.d.ts +2 -0
  32. package/lib/ArrayFieldTemplate/index.js +3 -0
  33. package/lib/ArrayFieldTemplate/index.js.map +1 -0
  34. package/lib/BaseInputTemplate/BaseInputTemplate.d.ts +8 -0
  35. package/lib/BaseInputTemplate/BaseInputTemplate.js +25 -0
  36. package/lib/BaseInputTemplate/BaseInputTemplate.js.map +1 -0
  37. package/lib/BaseInputTemplate/index.d.ts +2 -0
  38. package/lib/BaseInputTemplate/index.js +3 -0
  39. package/lib/BaseInputTemplate/index.js.map +1 -0
  40. package/lib/CheckboxWidget/CheckboxWidget.d.ts +7 -0
  41. package/lib/CheckboxWidget/CheckboxWidget.js +23 -0
  42. package/lib/CheckboxWidget/CheckboxWidget.js.map +1 -0
  43. package/lib/CheckboxWidget/index.d.ts +2 -0
  44. package/lib/CheckboxWidget/index.js +3 -0
  45. package/lib/CheckboxWidget/index.js.map +1 -0
  46. package/lib/CheckboxesWidget/CheckboxesWidget.d.ts +7 -0
  47. package/lib/CheckboxesWidget/CheckboxesWidget.js +31 -0
  48. package/lib/CheckboxesWidget/CheckboxesWidget.js.map +1 -0
  49. package/lib/CheckboxesWidget/index.d.ts +2 -0
  50. package/lib/CheckboxesWidget/index.js +3 -0
  51. package/lib/CheckboxesWidget/index.js.map +1 -0
  52. package/lib/DescriptionField/DescriptionField.d.ts +6 -0
  53. package/lib/DescriptionField/DescriptionField.js +12 -0
  54. package/lib/DescriptionField/DescriptionField.js.map +1 -0
  55. package/lib/DescriptionField/index.d.ts +2 -0
  56. package/lib/DescriptionField/index.js +3 -0
  57. package/lib/DescriptionField/index.js.map +1 -0
  58. package/lib/ErrorList/ErrorList.d.ts +6 -0
  59. package/lib/ErrorList/ErrorList.js +15 -0
  60. package/lib/ErrorList/ErrorList.js.map +1 -0
  61. package/lib/ErrorList/index.d.ts +2 -0
  62. package/lib/ErrorList/index.js +3 -0
  63. package/lib/ErrorList/index.js.map +1 -0
  64. package/lib/FieldErrorTemplate/FieldErrorTemplate.d.ts +6 -0
  65. package/lib/FieldErrorTemplate/FieldErrorTemplate.js +17 -0
  66. package/lib/FieldErrorTemplate/FieldErrorTemplate.js.map +1 -0
  67. package/lib/FieldErrorTemplate/index.d.ts +2 -0
  68. package/lib/FieldErrorTemplate/index.js +3 -0
  69. package/lib/FieldErrorTemplate/index.js.map +1 -0
  70. package/lib/FieldHelpTemplate/FieldHelpTemplate.d.ts +6 -0
  71. package/lib/FieldHelpTemplate/FieldHelpTemplate.js +16 -0
  72. package/lib/FieldHelpTemplate/FieldHelpTemplate.js.map +1 -0
  73. package/lib/FieldHelpTemplate/index.d.ts +2 -0
  74. package/lib/FieldHelpTemplate/index.js +3 -0
  75. package/lib/FieldHelpTemplate/index.js.map +1 -0
  76. package/lib/FieldTemplate/FieldTemplate.d.ts +7 -0
  77. package/lib/FieldTemplate/FieldTemplate.js +17 -0
  78. package/lib/FieldTemplate/FieldTemplate.js.map +1 -0
  79. package/lib/FieldTemplate/index.d.ts +2 -0
  80. package/lib/FieldTemplate/index.js +3 -0
  81. package/lib/FieldTemplate/index.js.map +1 -0
  82. package/lib/Form/Form.d.ts +6 -0
  83. package/lib/Form/Form.js +7 -0
  84. package/lib/Form/Form.js.map +1 -0
  85. package/lib/Form/index.d.ts +2 -0
  86. package/lib/Form/index.js +3 -0
  87. package/lib/Form/index.js.map +1 -0
  88. package/lib/GridTemplate/GridTemplate.d.ts +7 -0
  89. package/lib/GridTemplate/GridTemplate.js +12 -0
  90. package/lib/GridTemplate/GridTemplate.js.map +1 -0
  91. package/lib/GridTemplate/index.d.ts +2 -0
  92. package/lib/GridTemplate/index.js +3 -0
  93. package/lib/GridTemplate/index.js.map +1 -0
  94. package/lib/IconButton/IconButton.d.ts +39 -0
  95. package/lib/IconButton/IconButton.js +57 -0
  96. package/lib/IconButton/IconButton.js.map +1 -0
  97. package/lib/IconButton/index.d.ts +2 -0
  98. package/lib/IconButton/index.js +3 -0
  99. package/lib/IconButton/index.js.map +1 -0
  100. package/lib/ObjectFieldTemplate/ObjectFieldTemplate.d.ts +8 -0
  101. package/lib/ObjectFieldTemplate/ObjectFieldTemplate.js +17 -0
  102. package/lib/ObjectFieldTemplate/ObjectFieldTemplate.js.map +1 -0
  103. package/lib/ObjectFieldTemplate/index.d.ts +2 -0
  104. package/lib/ObjectFieldTemplate/index.js +3 -0
  105. package/lib/ObjectFieldTemplate/index.js.map +1 -0
  106. package/lib/RadioWidget/RadioWidget.d.ts +7 -0
  107. package/lib/RadioWidget/RadioWidget.js +26 -0
  108. package/lib/RadioWidget/RadioWidget.js.map +1 -0
  109. package/lib/RadioWidget/index.d.ts +2 -0
  110. package/lib/RadioWidget/index.js +3 -0
  111. package/lib/RadioWidget/index.js.map +1 -0
  112. package/lib/RangeWidget/RangeWidget.d.ts +15 -0
  113. package/lib/RangeWidget/RangeWidget.js +39 -0
  114. package/lib/RangeWidget/RangeWidget.js.map +1 -0
  115. package/lib/RangeWidget/index.d.ts +2 -0
  116. package/lib/RangeWidget/index.js +3 -0
  117. package/lib/RangeWidget/index.js.map +1 -0
  118. package/lib/SelectWidget/SelectWidget.d.ts +7 -0
  119. package/lib/SelectWidget/SelectWidget.js +31 -0
  120. package/lib/SelectWidget/SelectWidget.js.map +1 -0
  121. package/lib/SelectWidget/index.d.ts +2 -0
  122. package/lib/SelectWidget/index.js +3 -0
  123. package/lib/SelectWidget/index.js.map +1 -0
  124. package/lib/SubmitButton/SubmitButton.d.ts +4 -0
  125. package/lib/SubmitButton/SubmitButton.js +13 -0
  126. package/lib/SubmitButton/SubmitButton.js.map +1 -0
  127. package/lib/SubmitButton/index.d.ts +2 -0
  128. package/lib/SubmitButton/index.js +3 -0
  129. package/lib/SubmitButton/index.js.map +1 -0
  130. package/lib/Templates/Templates.d.ts +4 -0
  131. package/lib/Templates/Templates.js +41 -0
  132. package/lib/Templates/Templates.js.map +1 -0
  133. package/lib/Templates/index.d.ts +2 -0
  134. package/lib/Templates/index.js +3 -0
  135. package/lib/Templates/index.js.map +1 -0
  136. package/lib/TextareaWidget/TextareaWidget.d.ts +10 -0
  137. package/lib/TextareaWidget/TextareaWidget.js +14 -0
  138. package/lib/TextareaWidget/TextareaWidget.js.map +1 -0
  139. package/lib/TextareaWidget/index.d.ts +2 -0
  140. package/lib/TextareaWidget/index.js +3 -0
  141. package/lib/TextareaWidget/index.js.map +1 -0
  142. package/lib/Theme/Theme.d.ts +5 -0
  143. package/lib/Theme/Theme.js +10 -0
  144. package/lib/Theme/Theme.js.map +1 -0
  145. package/lib/Theme/index.d.ts +2 -0
  146. package/lib/Theme/index.js +3 -0
  147. package/lib/Theme/index.js.map +1 -0
  148. package/lib/TitleField/TitleField.d.ts +6 -0
  149. package/lib/TitleField/TitleField.js +12 -0
  150. package/lib/TitleField/TitleField.js.map +1 -0
  151. package/lib/TitleField/index.d.ts +2 -0
  152. package/lib/TitleField/index.js +3 -0
  153. package/lib/TitleField/index.js.map +1 -0
  154. package/lib/Widgets/Widgets.d.ts +4 -0
  155. package/lib/Widgets/Widgets.js +18 -0
  156. package/lib/Widgets/Widgets.js.map +1 -0
  157. package/lib/Widgets/index.d.ts +2 -0
  158. package/lib/Widgets/index.js +3 -0
  159. package/lib/Widgets/index.js.map +1 -0
  160. package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.d.ts +7 -0
  161. package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js +23 -0
  162. package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js.map +1 -0
  163. package/lib/WrapIfAdditionalTemplate/index.d.ts +2 -0
  164. package/lib/WrapIfAdditionalTemplate/index.js +3 -0
  165. package/lib/WrapIfAdditionalTemplate/index.js.map +1 -0
  166. package/lib/components/ui/alert.d.ts +27 -0
  167. package/lib/components/ui/alert.js +42 -0
  168. package/lib/components/ui/alert.js.map +1 -0
  169. package/lib/components/ui/badge.d.ts +26 -0
  170. package/lib/components/ui/badge.js +33 -0
  171. package/lib/components/ui/badge.js.map +1 -0
  172. package/lib/components/ui/button.d.ts +32 -0
  173. package/lib/components/ui/button.js +49 -0
  174. package/lib/components/ui/button.js.map +1 -0
  175. package/lib/components/ui/checkbox.d.ts +11 -0
  176. package/lib/components/ui/checkbox.js +19 -0
  177. package/lib/components/ui/checkbox.js.map +1 -0
  178. package/lib/components/ui/command.d.ts +134 -0
  179. package/lib/components/ui/command.js +84 -0
  180. package/lib/components/ui/command.js.map +1 -0
  181. package/lib/components/ui/dialog.d.ts +71 -0
  182. package/lib/components/ui/dialog.js +77 -0
  183. package/lib/components/ui/dialog.js.map +1 -0
  184. package/lib/components/ui/fancy-multi-select.d.ts +50 -0
  185. package/lib/components/ui/fancy-multi-select.js +62 -0
  186. package/lib/components/ui/fancy-multi-select.js.map +1 -0
  187. package/lib/components/ui/fancy-select.d.ts +50 -0
  188. package/lib/components/ui/fancy-select.js +41 -0
  189. package/lib/components/ui/fancy-select.js.map +1 -0
  190. package/lib/components/ui/input.d.ts +17 -0
  191. package/lib/components/ui/input.js +18 -0
  192. package/lib/components/ui/input.js.map +1 -0
  193. package/lib/components/ui/label.d.ts +12 -0
  194. package/lib/components/ui/label.js +19 -0
  195. package/lib/components/ui/label.js.map +1 -0
  196. package/lib/components/ui/radio-group.d.ts +20 -0
  197. package/lib/components/ui/radio-group.js +32 -0
  198. package/lib/components/ui/radio-group.js.map +1 -0
  199. package/lib/components/ui/select.d.ts +30 -0
  200. package/lib/components/ui/select.js +46 -0
  201. package/lib/components/ui/select.js.map +1 -0
  202. package/lib/components/ui/separator.d.ts +12 -0
  203. package/lib/components/ui/separator.js +19 -0
  204. package/lib/components/ui/separator.js.map +1 -0
  205. package/lib/components/ui/slider.d.ts +10 -0
  206. package/lib/components/ui/slider.js +17 -0
  207. package/lib/components/ui/slider.js.map +1 -0
  208. package/lib/components/ui/textarea.d.ts +16 -0
  209. package/lib/components/ui/textarea.js +17 -0
  210. package/lib/components/ui/textarea.js.map +1 -0
  211. package/lib/index.d.ts +6 -0
  212. package/lib/index.js +7 -0
  213. package/lib/index.js.map +1 -0
  214. package/lib/lib/utils.d.ts +2 -0
  215. package/lib/lib/utils.js +6 -0
  216. package/lib/lib/utils.js.map +1 -0
  217. package/lib/tsconfig.tsbuildinfo +1 -0
  218. package/package.json +121 -0
  219. package/src/AddButton/AddButton.tsx +23 -0
  220. package/src/AddButton/index.ts +2 -0
  221. package/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx +40 -0
  222. package/src/ArrayFieldItemTemplate/index.ts +2 -0
  223. package/src/ArrayFieldTemplate/ArrayFieldTemplate.tsx +84 -0
  224. package/src/ArrayFieldTemplate/index.ts +2 -0
  225. package/src/BaseInputTemplate/BaseInputTemplate.tsx +85 -0
  226. package/src/BaseInputTemplate/index.ts +2 -0
  227. package/src/CheckboxWidget/CheckboxWidget.tsx +88 -0
  228. package/src/CheckboxWidget/index.ts +2 -0
  229. package/src/CheckboxesWidget/CheckboxesWidget.tsx +73 -0
  230. package/src/CheckboxesWidget/index.ts +2 -0
  231. package/src/DescriptionField/DescriptionField.tsx +23 -0
  232. package/src/DescriptionField/index.ts +2 -0
  233. package/src/ErrorList/ErrorList.tsx +26 -0
  234. package/src/ErrorList/index.ts +2 -0
  235. package/src/FieldErrorTemplate/FieldErrorTemplate.tsx +29 -0
  236. package/src/FieldErrorTemplate/index.ts +2 -0
  237. package/src/FieldHelpTemplate/FieldHelpTemplate.tsx +24 -0
  238. package/src/FieldHelpTemplate/index.ts +2 -0
  239. package/src/FieldTemplate/FieldTemplate.tsx +93 -0
  240. package/src/FieldTemplate/index.ts +2 -0
  241. package/src/Form/Form.tsx +16 -0
  242. package/src/Form/index.ts +2 -0
  243. package/src/GridTemplate/GridTemplate.tsx +16 -0
  244. package/src/GridTemplate/index.ts +2 -0
  245. package/src/IconButton/IconButton.tsx +104 -0
  246. package/src/IconButton/index.ts +2 -0
  247. package/src/ObjectFieldTemplate/ObjectFieldTemplate.tsx +89 -0
  248. package/src/ObjectFieldTemplate/index.ts +2 -0
  249. package/src/RadioWidget/RadioWidget.tsx +77 -0
  250. package/src/RadioWidget/index.ts +2 -0
  251. package/src/RangeWidget/RangeWidget.tsx +64 -0
  252. package/src/RangeWidget/index.ts +2 -0
  253. package/src/SelectWidget/SelectWidget.tsx +93 -0
  254. package/src/SelectWidget/index.ts +2 -0
  255. package/src/SubmitButton/SubmitButton.tsx +21 -0
  256. package/src/SubmitButton/index.ts +2 -0
  257. package/src/Templates/Templates.ts +47 -0
  258. package/src/Templates/index.ts +2 -0
  259. package/src/TextareaWidget/TextareaWidget.tsx +59 -0
  260. package/src/TextareaWidget/index.ts +2 -0
  261. package/src/Theme/Theme.tsx +18 -0
  262. package/src/Theme/index.ts +2 -0
  263. package/src/TitleField/TitleField.tsx +21 -0
  264. package/src/TitleField/index.ts +2 -0
  265. package/src/Widgets/Widgets.ts +24 -0
  266. package/src/Widgets/index.ts +2 -0
  267. package/src/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.tsx +93 -0
  268. package/src/WrapIfAdditionalTemplate/index.ts +2 -0
  269. package/src/components/ui/alert.tsx +61 -0
  270. package/src/components/ui/badge.tsx +46 -0
  271. package/src/components/ui/button.tsx +65 -0
  272. package/src/components/ui/checkbox.tsx +35 -0
  273. package/src/components/ui/command.tsx +183 -0
  274. package/src/components/ui/dialog.tsx +144 -0
  275. package/src/components/ui/fancy-multi-select.tsx +232 -0
  276. package/src/components/ui/fancy-select.tsx +157 -0
  277. package/src/components/ui/input.tsx +34 -0
  278. package/src/components/ui/label.tsx +27 -0
  279. package/src/components/ui/radio-group.tsx +54 -0
  280. package/src/components/ui/select.tsx +174 -0
  281. package/src/components/ui/separator.tsx +35 -0
  282. package/src/components/ui/slider.tsx +28 -0
  283. package/src/components/ui/textarea.tsx +33 -0
  284. package/src/css/blue.css +71 -0
  285. package/src/css/default.css +59 -0
  286. package/src/css/green.css +71 -0
  287. package/src/css/orange.css +71 -0
  288. package/src/css/red.css +70 -0
  289. package/src/css/rose.css +70 -0
  290. package/src/css/violet.css +69 -0
  291. package/src/css/yellow.css +69 -0
  292. package/src/css/zinc.css +69 -0
  293. package/src/index.ts +8 -0
  294. package/src/lib/utils.ts +6 -0
  295. package/src/tsconfig.json +23 -0
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+
3
+ import { Root } from '@radix-ui/react-separator';
4
+ import { ComponentPropsWithoutRef, ElementRef, forwardRef } from 'react';
5
+
6
+ import { cn } from '../../lib/utils';
7
+
8
+ /**
9
+ * A separator component for visually dividing content
10
+ *
11
+ * @param props - The props for the Separator component
12
+ * @param props.className - Additional CSS classes to apply to the separator
13
+ * @param props.orientation - The orientation of the separator ('horizontal' | 'vertical')
14
+ * @param props.decorative - Whether the separator is decorative or semantic
15
+ * @param ref - The forwarded ref for the separator element
16
+ * @returns A styled separator element
17
+ */
18
+ const Separator = forwardRef<ElementRef<typeof Root>, ComponentPropsWithoutRef<typeof Root>>(
19
+ ({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (
20
+ <Root
21
+ ref={ref}
22
+ decorative={decorative}
23
+ orientation={orientation}
24
+ className={cn(
25
+ 'shrink-0 bg-border',
26
+ orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
27
+ className,
28
+ )}
29
+ {...props}
30
+ />
31
+ ),
32
+ );
33
+ Separator.displayName = Root.displayName;
34
+
35
+ export { Separator };
@@ -0,0 +1,28 @@
1
+ 'use client';
2
+
3
+ import { Range, Root, Thumb, Track } from '@radix-ui/react-slider';
4
+ import { ComponentPropsWithoutRef, ElementRef, forwardRef } from 'react';
5
+
6
+ import { cn } from '../../lib/utils';
7
+
8
+ /**
9
+ * A slider component for selecting a numeric value within a range
10
+ *
11
+ * @param props - The props for the Slider component
12
+ * @param props.className - Additional CSS classes to apply to the slider
13
+ * @param ref - The forwarded ref for the slider element
14
+ * @returns A slider input element with track and thumb
15
+ */
16
+ const Slider = forwardRef<ElementRef<typeof Root>, ComponentPropsWithoutRef<typeof Root>>(
17
+ ({ className, ...props }, ref) => (
18
+ <Root ref={ref} className={cn('relative flex w-full touch-none select-none items-center', className)} {...props}>
19
+ <Track className='relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20'>
20
+ <Range className='absolute h-full bg-primary' />
21
+ </Track>
22
+ <Thumb className='block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50' />
23
+ </Root>
24
+ ),
25
+ );
26
+ Slider.displayName = Root.displayName;
27
+
28
+ export { Slider };
@@ -0,0 +1,33 @@
1
+ import { TextareaHTMLAttributes, forwardRef } from 'react';
2
+
3
+ import { cn } from '../../lib/utils';
4
+
5
+ /**
6
+ * Props for the Textarea component
7
+ * @extends TextareaHTMLAttributes<HTMLTextAreaElement> - HTML textarea element attributes
8
+ */
9
+ export type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
10
+
11
+ /**
12
+ * A textarea component with styling and focus states
13
+ *
14
+ * @param props - The props for the Textarea component
15
+ * @param props.className - Additional CSS classes to apply to the textarea
16
+ * @param ref - The forwarded ref for the textarea element
17
+ * @returns A styled textarea element
18
+ */
19
+ const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(({ className, ...props }, ref) => {
20
+ return (
21
+ <textarea
22
+ className={cn(
23
+ 'flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50',
24
+ className,
25
+ )}
26
+ ref={ref}
27
+ {...props}
28
+ />
29
+ );
30
+ });
31
+ Textarea.displayName = 'Textarea';
32
+
33
+ export { Textarea };
@@ -0,0 +1,71 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer base {
7
+ :root {
8
+ --background: 0 0% 100%;
9
+ --foreground: 222.2 84% 4.9%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 222.2 84% 4.9%;
12
+ --popover: 0 0% 100%;
13
+ --popover-foreground: 222.2 84% 4.9%;
14
+ --primary: 221.2 83.2% 53.3%;
15
+ --primary-foreground: 210 40% 98%;
16
+ --secondary: 210 40% 96.1%;
17
+ --secondary-foreground: 222.2 47.4% 11.2%;
18
+ --muted: 210 40% 96.1%;
19
+ --muted-foreground: 215.4 16.3% 46.9%;
20
+ --accent: 210 40% 96.1%;
21
+ --accent-foreground: 222.2 47.4% 11.2%;
22
+ --destructive: 0 84.2% 60.2%;
23
+ --destructive-foreground: 210 40% 98%;
24
+ --border: 214.3 31.8% 91.4%;
25
+ --input: 214.3 31.8% 91.4%;
26
+ --ring: 221.2 83.2% 53.3%;
27
+ --radius: 0.5rem;
28
+ --chart-1: 12 76% 61%;
29
+ --chart-2: 173 58% 39%;
30
+ --chart-3: 197 37% 24%;
31
+ --chart-4: 43 74% 66%;
32
+ --chart-5: 27 87% 67%;
33
+ }
34
+
35
+ .dark {
36
+ --background: 222.2 84% 4.9%;
37
+ --foreground: 210 40% 98%;
38
+ --card: 222.2 84% 4.9%;
39
+ --card-foreground: 210 40% 98%;
40
+ --popover: 222.2 84% 4.9%;
41
+ --popover-foreground: 210 40% 98%;
42
+ --primary: 217.2 91.2% 59.8%;
43
+ --primary-foreground: 222.2 47.4% 11.2%;
44
+ --secondary: 217.2 32.6% 17.5%;
45
+ --secondary-foreground: 210 40% 98%;
46
+ --muted: 217.2 32.6% 17.5%;
47
+ --muted-foreground: 215 20.2% 65.1%;
48
+ --accent: 217.2 32.6% 17.5%;
49
+ --accent-foreground: 210 40% 98%;
50
+ --destructive: 0 62.8% 30.6%;
51
+ --destructive-foreground: 210 40% 98%;
52
+ --border: 217.2 32.6% 17.5%;
53
+ --input: 217.2 32.6% 17.5%;
54
+ --ring: 224.3 76.3% 48%;
55
+ --chart-1: 220 70% 50%;
56
+ --chart-2: 160 60% 45%;
57
+ --chart-3: 30 80% 55%;
58
+ --chart-4: 280 65% 60%;
59
+ --chart-5: 340 75% 55%;
60
+ }
61
+ }
62
+
63
+
64
+ @layer base {
65
+ * {
66
+ @apply border-border;
67
+ }
68
+ body {
69
+ @apply font-sans antialiased bg-background text-foreground;
70
+ }
71
+ }
@@ -0,0 +1,59 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 222.2 47.4% 11.2%;
9
+ --muted: 210 40% 96.1%;
10
+ --muted-foreground: 215.4 16.3% 46.9%;
11
+ --popover: 0 0% 100%;
12
+ --popover-foreground: 222.2 47.4% 11.2%;
13
+ --border: 214.3 31.8% 91.4%;
14
+ --input: 214.3 31.8% 91.4%;
15
+ --card: 0 0% 100%;
16
+ --card-foreground: 222.2 47.4% 11.2%;
17
+ --primary: 222.2 47.4% 11.2%;
18
+ --primary-foreground: 210 40% 98%;
19
+ --secondary: 210 40% 96.1%;
20
+ --secondary-foreground: 222.2 47.4% 11.2%;
21
+ --accent: 210 40% 96.1%;
22
+ --accent-foreground: 222.2 47.4% 11.2%;
23
+ --destructive: 0 100% 50%;
24
+ --destructive-foreground: 210 40% 98%;
25
+ --ring: 215 20.2% 65.1%;
26
+ --radius: 0.5rem;
27
+ }
28
+
29
+ .dark {
30
+ --background: 224 71% 4%;
31
+ --foreground: 213 31% 91%;
32
+ --muted: 223 47% 11%;
33
+ --muted-foreground: 215.4 16.3% 56.9%;
34
+ --accent: 216 34% 17%;
35
+ --accent-foreground: 210 40% 98%;
36
+ --popover: 224 71% 4%;
37
+ --popover-foreground: 215 20.2% 65.1%;
38
+ --border: 216 34% 17%;
39
+ --input: 216 34% 17%;
40
+ --card: 224 71% 4%;
41
+ --card-foreground: 213 31% 91%;
42
+ --primary: 210 40% 98%;
43
+ --primary-foreground: 222.2 47.4% 1.2%;
44
+ --secondary: 222.2 47.4% 11.2%;
45
+ --secondary-foreground: 210 40% 98%;
46
+ --destructive: 0 63% 31%;
47
+ --destructive-foreground: 210 40% 98%;
48
+ --ring: 216 34% 17%;
49
+ }
50
+ }
51
+
52
+ @layer base {
53
+ * {
54
+ @apply border-border;
55
+ }
56
+ body {
57
+ @apply font-sans antialiased bg-background text-foreground;
58
+ }
59
+ }
@@ -0,0 +1,71 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer base {
7
+ :root {
8
+ --background: 0 0% 100%;
9
+ --foreground: 240 10% 3.9%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 240 10% 3.9%;
12
+ --popover: 0 0% 100%;
13
+ --popover-foreground: 240 10% 3.9%;
14
+ --primary: 142.1 76.2% 36.3%;
15
+ --primary-foreground: 355.7 100% 97.3%;
16
+ --secondary: 240 4.8% 95.9%;
17
+ --secondary-foreground: 240 5.9% 10%;
18
+ --muted: 240 4.8% 95.9%;
19
+ --muted-foreground: 240 3.8% 46.1%;
20
+ --accent: 240 4.8% 95.9%;
21
+ --accent-foreground: 240 5.9% 10%;
22
+ --destructive: 0 84.2% 60.2%;
23
+ --destructive-foreground: 0 0% 98%;
24
+ --border: 240 5.9% 90%;
25
+ --input: 240 5.9% 90%;
26
+ --ring: 142.1 76.2% 36.3%;
27
+ --radius: 0.5rem;
28
+ --chart-1: 12 76% 61%;
29
+ --chart-2: 173 58% 39%;
30
+ --chart-3: 197 37% 24%;
31
+ --chart-4: 43 74% 66%;
32
+ --chart-5: 27 87% 67%;
33
+ }
34
+
35
+ .dark {
36
+ --background: 20 14.3% 4.1%;
37
+ --foreground: 0 0% 95%;
38
+ --card: 24 9.8% 10%;
39
+ --card-foreground: 0 0% 95%;
40
+ --popover: 0 0% 9%;
41
+ --popover-foreground: 0 0% 95%;
42
+ --primary: 142.1 70.6% 45.3%;
43
+ --primary-foreground: 144.9 80.4% 10%;
44
+ --secondary: 240 3.7% 15.9%;
45
+ --secondary-foreground: 0 0% 98%;
46
+ --muted: 0 0% 15%;
47
+ --muted-foreground: 240 5% 64.9%;
48
+ --accent: 12 6.5% 15.1%;
49
+ --accent-foreground: 0 0% 98%;
50
+ --destructive: 0 62.8% 30.6%;
51
+ --destructive-foreground: 0 85.7% 97.3%;
52
+ --border: 240 3.7% 15.9%;
53
+ --input: 240 3.7% 15.9%;
54
+ --ring: 142.4 71.8% 29.2%;
55
+ --chart-1: 220 70% 50%;
56
+ --chart-2: 160 60% 45%;
57
+ --chart-3: 30 80% 55%;
58
+ --chart-4: 280 65% 60%;
59
+ --chart-5: 340 75% 55%;
60
+ }
61
+ }
62
+
63
+
64
+ @layer base {
65
+ * {
66
+ @apply border-border;
67
+ }
68
+ body {
69
+ @apply font-sans antialiased bg-background text-foreground;
70
+ }
71
+ }
@@ -0,0 +1,71 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer base {
7
+ :root {
8
+ --background: 0 0% 100%;
9
+ --foreground: 20 14.3% 4.1%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 20 14.3% 4.1%;
12
+ --popover: 0 0% 100%;
13
+ --popover-foreground: 20 14.3% 4.1%;
14
+ --primary: 24.6 95% 53.1%;
15
+ --primary-foreground: 60 9.1% 97.8%;
16
+ --secondary: 60 4.8% 95.9%;
17
+ --secondary-foreground: 24 9.8% 10%;
18
+ --muted: 60 4.8% 95.9%;
19
+ --muted-foreground: 25 5.3% 44.7%;
20
+ --accent: 60 4.8% 95.9%;
21
+ --accent-foreground: 24 9.8% 10%;
22
+ --destructive: 0 84.2% 60.2%;
23
+ --destructive-foreground: 60 9.1% 97.8%;
24
+ --border: 20 5.9% 90%;
25
+ --input: 20 5.9% 90%;
26
+ --ring: 24.6 95% 53.1%;
27
+ --radius: 0.5rem;
28
+ --chart-1: 12 76% 61%;
29
+ --chart-2: 173 58% 39%;
30
+ --chart-3: 197 37% 24%;
31
+ --chart-4: 43 74% 66%;
32
+ --chart-5: 27 87% 67%;
33
+ }
34
+
35
+ .dark {
36
+ --background: 20 14.3% 4.1%;
37
+ --foreground: 60 9.1% 97.8%;
38
+ --card: 20 14.3% 4.1%;
39
+ --card-foreground: 60 9.1% 97.8%;
40
+ --popover: 20 14.3% 4.1%;
41
+ --popover-foreground: 60 9.1% 97.8%;
42
+ --primary: 20.5 90.2% 48.2%;
43
+ --primary-foreground: 60 9.1% 97.8%;
44
+ --secondary: 12 6.5% 15.1%;
45
+ --secondary-foreground: 60 9.1% 97.8%;
46
+ --muted: 12 6.5% 15.1%;
47
+ --muted-foreground: 24 5.4% 63.9%;
48
+ --accent: 12 6.5% 15.1%;
49
+ --accent-foreground: 60 9.1% 97.8%;
50
+ --destructive: 0 72.2% 50.6%;
51
+ --destructive-foreground: 60 9.1% 97.8%;
52
+ --border: 12 6.5% 15.1%;
53
+ --input: 12 6.5% 15.1%;
54
+ --ring: 20.5 90.2% 48.2%;
55
+ --chart-1: 220 70% 50%;
56
+ --chart-2: 160 60% 45%;
57
+ --chart-3: 30 80% 55%;
58
+ --chart-4: 280 65% 60%;
59
+ --chart-5: 340 75% 55%;
60
+ }
61
+ }
62
+
63
+
64
+ @layer base {
65
+ * {
66
+ @apply border-border;
67
+ }
68
+ body {
69
+ @apply font-sans antialiased bg-background text-foreground;
70
+ }
71
+ }
@@ -0,0 +1,70 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer base {
7
+ :root {
8
+ --background: 0 0% 100%;
9
+ --foreground: 0 0% 3.9%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 0 0% 3.9%;
12
+ --popover: 0 0% 100%;
13
+ --popover-foreground: 0 0% 3.9%;
14
+ --primary: 0 72.2% 50.6%;
15
+ --primary-foreground: 0 85.7% 97.3%;
16
+ --secondary: 0 0% 96.1%;
17
+ --secondary-foreground: 0 0% 9%;
18
+ --muted: 0 0% 96.1%;
19
+ --muted-foreground: 0 0% 45.1%;
20
+ --accent: 0 0% 96.1%;
21
+ --accent-foreground: 0 0% 9%;
22
+ --destructive: 0 84.2% 60.2%;
23
+ --destructive-foreground: 0 0% 98%;
24
+ --border: 0 0% 89.8%;
25
+ --input: 0 0% 89.8%;
26
+ --ring: 0 72.2% 50.6%;
27
+ --radius: 0.5rem;
28
+ --chart-1: 12 76% 61%;
29
+ --chart-2: 173 58% 39%;
30
+ --chart-3: 197 37% 24%;
31
+ --chart-4: 43 74% 66%;
32
+ --chart-5: 27 87% 67%;
33
+ }
34
+
35
+ .dark {
36
+ --background: 0 0% 3.9%;
37
+ --foreground: 0 0% 98%;
38
+ --card: 0 0% 3.9%;
39
+ --card-foreground: 0 0% 98%;
40
+ --popover: 0 0% 3.9%;
41
+ --popover-foreground: 0 0% 98%;
42
+ --primary: 0 72.2% 50.6%;
43
+ --primary-foreground: 0 85.7% 97.3%;
44
+ --secondary: 0 0% 14.9%;
45
+ --secondary-foreground: 0 0% 98%;
46
+ --muted: 0 0% 14.9%;
47
+ --muted-foreground: 0 0% 63.9%;
48
+ --accent: 0 0% 14.9%;
49
+ --accent-foreground: 0 0% 98%;
50
+ --destructive: 0 62.8% 30.6%;
51
+ --destructive-foreground: 0 0% 98%;
52
+ --border: 0 0% 14.9%;
53
+ --input: 0 0% 14.9%;
54
+ --ring: 0 72.2% 50.6%;
55
+ --chart-1: 220 70% 50%;
56
+ --chart-2: 160 60% 45%;
57
+ --chart-3: 30 80% 55%;
58
+ --chart-4: 280 65% 60%;
59
+ --chart-5: 340 75% 55%;
60
+ }
61
+ }
62
+
63
+ @layer base {
64
+ * {
65
+ @apply border-border;
66
+ }
67
+ body {
68
+ @apply font-sans antialiased bg-background text-foreground;
69
+ }
70
+ }
@@ -0,0 +1,70 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer base {
7
+ :root {
8
+ --background: 0 0% 100%;
9
+ --foreground: 240 10% 3.9%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 240 10% 3.9%;
12
+ --popover: 0 0% 100%;
13
+ --popover-foreground: 240 10% 3.9%;
14
+ --primary: 346.8 77.2% 49.8%;
15
+ --primary-foreground: 355.7 100% 97.3%;
16
+ --secondary: 240 4.8% 95.9%;
17
+ --secondary-foreground: 240 5.9% 10%;
18
+ --muted: 240 4.8% 95.9%;
19
+ --muted-foreground: 240 3.8% 46.1%;
20
+ --accent: 240 4.8% 95.9%;
21
+ --accent-foreground: 240 5.9% 10%;
22
+ --destructive: 0 84.2% 60.2%;
23
+ --destructive-foreground: 0 0% 98%;
24
+ --border: 240 5.9% 90%;
25
+ --input: 240 5.9% 90%;
26
+ --ring: 346.8 77.2% 49.8%;
27
+ --radius: 0.5rem;
28
+ --chart-1: 12 76% 61%;
29
+ --chart-2: 173 58% 39%;
30
+ --chart-3: 197 37% 24%;
31
+ --chart-4: 43 74% 66%;
32
+ --chart-5: 27 87% 67%;
33
+ }
34
+
35
+ .dark {
36
+ --background: 20 14.3% 4.1%;
37
+ --foreground: 0 0% 95%;
38
+ --card: 24 9.8% 10%;
39
+ --card-foreground: 0 0% 95%;
40
+ --popover: 0 0% 9%;
41
+ --popover-foreground: 0 0% 95%;
42
+ --primary: 346.8 77.2% 49.8%;
43
+ --primary-foreground: 355.7 100% 97.3%;
44
+ --secondary: 240 3.7% 15.9%;
45
+ --secondary-foreground: 0 0% 98%;
46
+ --muted: 0 0% 15%;
47
+ --muted-foreground: 240 5% 64.9%;
48
+ --accent: 12 6.5% 15.1%;
49
+ --accent-foreground: 0 0% 98%;
50
+ --destructive: 0 62.8% 30.6%;
51
+ --destructive-foreground: 0 85.7% 97.3%;
52
+ --border: 240 3.7% 15.9%;
53
+ --input: 240 3.7% 15.9%;
54
+ --ring: 346.8 77.2% 49.8%;
55
+ --chart-1: 220 70% 50%;
56
+ --chart-2: 160 60% 45%;
57
+ --chart-3: 30 80% 55%;
58
+ --chart-4: 280 65% 60%;
59
+ --chart-5: 340 75% 55%;
60
+ }
61
+ }
62
+
63
+ @layer base {
64
+ * {
65
+ @apply border-border;
66
+ }
67
+ body {
68
+ @apply font-sans antialiased bg-background text-foreground;
69
+ }
70
+ }
@@ -0,0 +1,69 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 224 71.4% 4.1%;
9
+ --card: 0 0% 100%;
10
+ --card-foreground: 224 71.4% 4.1%;
11
+ --popover: 0 0% 100%;
12
+ --popover-foreground: 224 71.4% 4.1%;
13
+ --primary: 262.1 83.3% 57.8%;
14
+ --primary-foreground: 210 20% 98%;
15
+ --secondary: 220 14.3% 95.9%;
16
+ --secondary-foreground: 220.9 39.3% 11%;
17
+ --muted: 220 14.3% 95.9%;
18
+ --muted-foreground: 220 8.9% 46.1%;
19
+ --accent: 220 14.3% 95.9%;
20
+ --accent-foreground: 220.9 39.3% 11%;
21
+ --destructive: 0 84.2% 60.2%;
22
+ --destructive-foreground: 210 20% 98%;
23
+ --border: 220 13% 91%;
24
+ --input: 220 13% 91%;
25
+ --ring: 262.1 83.3% 57.8%;
26
+ --radius: 0.5rem;
27
+ --chart-1: 12 76% 61%;
28
+ --chart-2: 173 58% 39%;
29
+ --chart-3: 197 37% 24%;
30
+ --chart-4: 43 74% 66%;
31
+ --chart-5: 27 87% 67%;
32
+ }
33
+
34
+ .dark {
35
+ --background: 224 71.4% 4.1%;
36
+ --foreground: 210 20% 98%;
37
+ --card: 224 71.4% 4.1%;
38
+ --card-foreground: 210 20% 98%;
39
+ --popover: 224 71.4% 4.1%;
40
+ --popover-foreground: 210 20% 98%;
41
+ --primary: 263.4 70% 50.4%;
42
+ --primary-foreground: 210 20% 98%;
43
+ --secondary: 215 27.9% 16.9%;
44
+ --secondary-foreground: 210 20% 98%;
45
+ --muted: 215 27.9% 16.9%;
46
+ --muted-foreground: 217.9 10.6% 64.9%;
47
+ --accent: 215 27.9% 16.9%;
48
+ --accent-foreground: 210 20% 98%;
49
+ --destructive: 0 62.8% 30.6%;
50
+ --destructive-foreground: 210 20% 98%;
51
+ --border: 215 27.9% 16.9%;
52
+ --input: 215 27.9% 16.9%;
53
+ --ring: 263.4 70% 50.4%;
54
+ --chart-1: 220 70% 50%;
55
+ --chart-2: 160 60% 45%;
56
+ --chart-3: 30 80% 55%;
57
+ --chart-4: 280 65% 60%;
58
+ --chart-5: 340 75% 55%;
59
+ }
60
+ }
61
+
62
+ @layer base {
63
+ * {
64
+ @apply border-border;
65
+ }
66
+ body {
67
+ @apply font-sans antialiased bg-background text-foreground;
68
+ }
69
+ }
@@ -0,0 +1,69 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 20 14.3% 4.1%;
9
+ --card: 0 0% 100%;
10
+ --card-foreground: 20 14.3% 4.1%;
11
+ --popover: 0 0% 100%;
12
+ --popover-foreground: 20 14.3% 4.1%;
13
+ --primary: 47.9 95.8% 53.1%;
14
+ --primary-foreground: 26 83.3% 14.1%;
15
+ --secondary: 60 4.8% 95.9%;
16
+ --secondary-foreground: 24 9.8% 10%;
17
+ --muted: 60 4.8% 95.9%;
18
+ --muted-foreground: 25 5.3% 44.7%;
19
+ --accent: 60 4.8% 95.9%;
20
+ --accent-foreground: 24 9.8% 10%;
21
+ --destructive: 0 84.2% 60.2%;
22
+ --destructive-foreground: 60 9.1% 97.8%;
23
+ --border: 20 5.9% 90%;
24
+ --input: 20 5.9% 90%;
25
+ --ring: 20 14.3% 4.1%;
26
+ --radius: 0.5rem;
27
+ --chart-1: 12 76% 61%;
28
+ --chart-2: 173 58% 39%;
29
+ --chart-3: 197 37% 24%;
30
+ --chart-4: 43 74% 66%;
31
+ --chart-5: 27 87% 67%;
32
+ }
33
+
34
+ .dark {
35
+ --background: 20 14.3% 4.1%;
36
+ --foreground: 60 9.1% 97.8%;
37
+ --card: 20 14.3% 4.1%;
38
+ --card-foreground: 60 9.1% 97.8%;
39
+ --popover: 20 14.3% 4.1%;
40
+ --popover-foreground: 60 9.1% 97.8%;
41
+ --primary: 47.9 95.8% 53.1%;
42
+ --primary-foreground: 26 83.3% 14.1%;
43
+ --secondary: 12 6.5% 15.1%;
44
+ --secondary-foreground: 60 9.1% 97.8%;
45
+ --muted: 12 6.5% 15.1%;
46
+ --muted-foreground: 24 5.4% 63.9%;
47
+ --accent: 12 6.5% 15.1%;
48
+ --accent-foreground: 60 9.1% 97.8%;
49
+ --destructive: 0 62.8% 30.6%;
50
+ --destructive-foreground: 60 9.1% 97.8%;
51
+ --border: 12 6.5% 15.1%;
52
+ --input: 12 6.5% 15.1%;
53
+ --ring: 35.5 91.7% 32.9%;
54
+ --chart-1: 220 70% 50%;
55
+ --chart-2: 160 60% 45%;
56
+ --chart-3: 30 80% 55%;
57
+ --chart-4: 280 65% 60%;
58
+ --chart-5: 340 75% 55%;
59
+ }
60
+ }
61
+
62
+ @layer base {
63
+ * {
64
+ @apply border-border;
65
+ }
66
+ body {
67
+ @apply font-sans antialiased bg-background text-foreground;
68
+ }
69
+ }