Files
stimvisor/frontend/tailwind.config.js
2024-10-23 00:26:34 +03:00

117 lines
2.9 KiB
JavaScript

/* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-require-imports */
/** @type {import('tailwindcss').Config} */
let colors = {
'great-blue': {
DEFAULT: '#2A669F',
50: '#E4F7F8',
100: '#CCEEF2',
200: '#9CD7E5',
300: '#6CB9D8',
400: '#3B94CB',
500: '#2A669F',
600: '#234B83',
700: '#1B3366',
800: '#14204A',
900: '#0C102E',
},
}
colors.bg = colors['great-blue']
colors.bg.DEFAULT = '#0C102E'
export default {
darkMode: ['class'],
content: ['index.html', 'src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
...colors,
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
chart: {
1: 'hsl(var(--chart-1))',
2: 'hsl(var(--chart-2))',
3: 'hsl(var(--chart-3))',
4: 'hsl(var(--chart-4))',
5: 'hsl(var(--chart-5))',
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
keyframes: {
'accordion-down': {
from: {
height: '0',
},
to: {
height: 'var(--radix-accordion-content-height)',
},
},
'accordion-up': {
from: {
height: 'var(--radix-accordion-content-height)',
},
to: {
height: '0',
},
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
fontFamily: {
nunito: [
'Nunito Variable',
'-apple-system',
'BlinkMacSystemFont',
'Helvetica Neue',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'sans-serif',
],
},
},
plugins: [require('tailwindcss-animate')],
}