lasthourcloud/apps/ui/tailwind.config.cjs

68 lines
1.6 KiB
JavaScript
Raw Normal View History

const defaultTheme = require('tailwindcss/defaultTheme');
2022-08-09 15:28:26 +00:00
module.exports = {
2022-09-01 09:20:22 +00:00
content: ['./**/*.html', './src/**/*.{js,jsx,ts,tsx,svelte}', "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",],
important: true,
2022-08-09 15:28:26 +00:00
daisyui: {
themes: [
{
coollabs: {
2022-09-01 09:20:22 +00:00
"base-100": "#323232",
"base-200": "#242424",
"base-300": "#181818",
2022-08-09 15:28:26 +00:00
"primary": "#6d28d9",
"primary-content": "#fff",
"secondary": "#343232",
"accent": "#343232",
"neutral": "#272626",
"info": "#0284c7",
"success": "#16A34A",
"warning": "#FFFF00",
"error": "#DC2626",
"--rounded-btn": "0.3rem",
"--btn-text-case": "normal"
},
}
],
},
theme: {
extend: {
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' }
}
},
animation: {
wiggle: 'wiggle 0.5s ease-in-out infinite'
},
fontFamily: {
2022-02-10 14:47:44 +00:00
sans: ['Poppins', ...defaultTheme.fontFamily.sans]
},
colors: {
2022-09-01 09:20:22 +00:00
"applications": "#16A34A",
"databases": "#9333EA",
"destinations": "#0284C7",
"sources": "#EA580C",
"services": "#DB2777",
"settings": "#FEE440",
"iam": "#C026D3",
2022-02-10 14:47:44 +00:00
coollabs: '#6B16ED',
'coollabs-100': '#7317FF',
coolblack: '#141414',
'coolgray-100': '#181818',
'coolgray-200': '#202020',
2022-02-10 14:47:44 +00:00
'coolgray-300': '#242424',
'coolgray-400': '#282828',
'coolgray-500': '#323232'
}
}
},
variants: {
scrollbar: ['dark'],
2022-02-10 14:47:44 +00:00
extend: {}
},
2022-09-01 09:20:22 +00:00
darkMode: 'class',
plugins: [require('tailwindcss-scrollbar'), require('daisyui'), require("@tailwindcss/typography")]
};