flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
1 lines • 2.25 kB
Source Map (JSON)
{"version":3,"file":"theme.cjs","sources":["../../../src/components/FileInput/theme.ts"],"sourcesContent":["import { createTheme } from \"../../helpers/create-theme\";\nimport type { FileInputTheme } from \"./FileInput\";\n\nexport const fileInputTheme = createTheme<FileInputTheme>({\n base: \"block w-full cursor-pointer rounded-lg border file:-ms-4 file:me-4 file:cursor-pointer file:border-none file:bg-gray-800 file:py-2.5 file:pe-4 file:ps-8 file:text-sm file:font-medium file:leading-[inherit] file:text-white hover:file:bg-gray-700 focus:outline-none focus:ring-1 dark:file:bg-gray-600 dark:hover:file:bg-gray-500\",\n sizes: {\n sm: \"text-xs\",\n md: \"text-sm\",\n lg: \"text-lg\",\n },\n colors: {\n gray: \"border-gray-300 bg-gray-50 text-gray-900 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500\",\n info: \"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500\",\n failure:\n \"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500\",\n warning:\n \"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500\",\n success:\n \"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500\",\n },\n});\n"],"names":["createTheme"],"mappings":";;;;AAEY,MAAC,cAAc,GAAGA,uBAAW,CAAC;AAC1C,EAAE,IAAI,EAAE,wUAAwU;AAChV,EAAE,KAAK,EAAE;AACT,IAAI,EAAE,EAAE,SAAS;AACjB,IAAI,EAAE,EAAE,SAAS;AACjB,IAAI,EAAE,EAAE;AACR,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,uOAAuO;AACjP,IAAI,IAAI,EAAE,mMAAmM;AAC7M,IAAI,OAAO,EAAE,yLAAyL;AACtM,IAAI,OAAO,EAAE,uNAAuN;AACpO,IAAI,OAAO,EAAE;AACb;AACA,CAAC;;;;"}