tahamajs/IE / Projects /front /tailwind.config.js
tahamajs's picture
download
raw
4.06 kB
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#4F46E5',
50: '#EEF2FF',
100: '#E0E7FF',
200: '#C7D2FE',
300: '#A5B4FC',
400: '#818CF8',
500: '#6366F1',
600: '#4F46E5',
700: '#4338CA',
800: '#3730A3',
900: '#312E81',
},
secondary: {
DEFAULT: '#EC4899',
50: '#FDF2F8',
100: '#FCE7F3',
200: '#FBCFE8',
300: '#F9A8D4',
400: '#F472B6',
500: '#EC4899',
600: '#DB2777',
700: '#BE185D',
800: '#9D174D',
900: '#831843',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
mono: ['JetBrains Mono', 'Fira Code', 'monospace'],
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'fade-out': 'fadeOut 0.5s ease-in-out',
'slide-up': 'slideUp 0.3s ease-out',
'slide-down': 'slideDown 0.3s ease-out',
'slide-left': 'slideLeft 0.3s ease-out',
'slide-right': 'slideRight 0.3s ease-out',
'scale-in': 'scaleIn 0.2s ease-out',
'scale-out': 'scaleOut 0.2s ease-out',
'spin-slow': 'spin 3s linear infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce-slow': 'bounce 2s ease-in-out infinite',
'gradient': 'gradient 6s ease infinite',
'shimmer': 'shimmer 2s linear infinite',
'ripple': 'ripple 1s ease-out',
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideDown: {
'0%': { transform: 'translateY(-20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideLeft: {
'0%': { transform: 'translateX(20px)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
slideRight: {
'0%': { transform: 'translateX(-20px)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
scaleIn: {
'0%': { transform: 'scale(0.95)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
scaleOut: {
'0%': { transform: 'scale(1)', opacity: '1' },
'100%': { transform: 'scale(0.95)', opacity: '0' },
},
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
ripple: {
'0%': { transform: 'scale(0)', opacity: '1' },
'100%': { transform: 'scale(4)', opacity: '0' },
},
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
},
backgroundSize: {
'300%': '300%',
},
boxShadow: {
'glow': '0 0 20px rgba(79, 70, 229, 0.3)',
'glow-lg': '0 0 30px rgba(79, 70, 229, 0.4)',
'inner-glow': 'inset 0 0 10px rgba(79, 70, 229, 0.2)',
},
backdropBlur: {
xs: '2px',
},
},
},
plugins: [require('tailwindcss-animate')],
}

Xet Storage Details

Size:
4.06 kB
·
Xet hash:
689ec9d0e65feadfc53ad1e4e3316238bdd1832584a4700ee74d2285a4455f42

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.