Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
153 lines (151 loc) · 4.45 KB
/
Copy pathtailwind.config.js
File metadata and controls
153 lines (151 loc) · 4.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import { fontFamily } from 'tailwindcss/defaultTheme';
import colors from 'tailwindcss/colors';
import { custom_colors } from './colors';
/** @type {import('tailwindcss').Config} */
const config = {
darkMode: ['class'],
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: ['dark'],
// plugins: [require('daisyui')],
// daisyui: {
// themes:false,
// base:false,
// prefix:"daisy-",
// styled:false,
// },
theme: {
screens: {
xs: '360px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px',
'4xl': '2300px'
},
container: {
center: true,
padding: '2rem'
},
extend: {
colors: {
...custom_colors,
border: 'hsl(var(--border) / <alpha-value>)',
input: 'hsl(var(--input) / <alpha-value>)',
ring: 'hsl(var(--ring) / <alpha-value>)',
background: 'hsl(var(--background) / <alpha-value>)',
foreground: 'hsl(var(--foreground) / <alpha-value>)',
primary: {
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)'
},
secondary: {
DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)'
},
destructive: {
DEFAULT: 'hsl(var(--destructive) / <alpha-value>)',
foreground: 'hsl(var(--destructive-foreground) / <alpha-value>)'
},
muted: {
DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
foreground: 'hsl(var(--muted-foreground) / <alpha-value>)'
},
accent: {
DEFAULT: 'hsl(var(--accent) / <alpha-value>)',
foreground: 'hsl(var(--accent-foreground) / <alpha-value>)',
dark: 'hsl(var(--accent-dark) / <alpha-value>)'
},
popover: {
DEFAULT: 'hsl(var(--popover) / <alpha-value>)',
foreground: 'hsl(var(--popover-foreground) / <alpha-value>)'
},
card: {
DEFAULT: 'hsl(var(--card) / <alpha-value>)',
foreground: 'hsl(var(--card-foreground) / <alpha-value>)'
},
black: colors.black,
white: colors.white,
red: colors.red,
cyan: colors.cyan,
blue: colors.blue,
fuchsia: colors.fuchsia,
violet: colors.violet,
orange: colors.orange,
gray: colors.gray,
slate: colors.slate,
green: colors.emerald,
purple: colors.purple,
yellow: colors.amber,
pink: colors.pink,
indigo: colors.indigo,
transparent: 'transparent',
current: 'currentColor',
scbg: '#232323',
scbgl1: '#2c2c2c',
scbgl2: '#343434',
scbgl3: '#383838',
scblue: 'hsl(213, 99%, 71%)',
scblued1: 'hsl(213, 49%, 12%)',
scblued2: 'hsl(213, 50%, 16%)',
scblued3: 'hsl(213, 43%, 22%)',
scbluek1: 'hsl(213, 44%, 5%)',
scbluek2: 'hsl(213, 57%, 11%)',
scbluel0: 'hsl(213, 92%, 73%)',
scbluel1: 'hsl(213, 92%, 86%)',
scbluel2: 'hsl(213, 92%, 93%)',
scpurple: 'hsl(225, 100%, 61.18%)',
scpurpled1: 'hsl(225, 49.21%, 12.35%)',
scpurpled2: 'hsl(225, 43.86%, 22.35%)',
scpurpled3: 'hsl(225, 43.86%, 22.35%)',
scpurpled4: 'hsl(225, 48.39%, 30.39%)',
scpurpled0: 'hsl(225, 71.72%, 61.18%)',
scpurplel0: 'hsl(225, 92.59%, 73.53%)',
scpurplel1: 'hsl(225, 100%, 85.69%)',
scpurplel2: 'hsl(225, 100%, 96.27%)',
scpurplek1: 'hsl(225, 44.83%, 7%)',
scpurplek2: 'hsl(225, 57.14%, 12%)',
scorange: 'hsl(23, 93%, 66.67%)',
scoranged1: 'hsl(23, 47.15%, 9.80%)',
scoranged2: 'hsl(23, 44.59%, 14.12%)',
scoranged3: 'hsl(23, 43.51%, 22.35%)',
scoranged0: 'hsl(23, 92.02%, 74.51%)',
scorangel0: 'hsl(23, 92.59%, 86.27%)',
scorangel1: 'hsl(23, 93.33%, 81.18%)',
scorangel2: 'hsl(23, 92.02%, 93.45%)',
sccyan: '#93CFC0',
sccyanl1: '#B3FFE0',
sccyand1: '#182322',
scred: '#C53333',
scredd1: '#171313',
scredl1: 'hsl(5, 60%, 88%)'
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
},
fontFamily: {
sans: [...fontFamily.sans],
figtree: ['figtree', 'sans-serif']
},
keyframes: {
'accordion-down': {
from: { height: '0', opacity: '0' },
to: { height: 'var(--bits-accordion-content-height)', opacity: '1' }
},
'accordion-up': {
from: { height: 'var(--bits-accordion-content-height)', opacity: '1' },
to: { height: '0', opacity: '0' }
}
},
animation: {
'accordion-down': 'accordion-down 0.25s cubic-bezier(0.22, 1, 0.36, 1)',
'accordion-up': 'accordion-up 0.2s cubic-bezier(0.22, 1, 0.36, 1)'
}
},
plugins: []
}
};
export default config;