-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtailwind.config.js
30 lines (29 loc) · 1.1 KB
/
tailwind.config.js
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
import plugin from 'tailwindcss/plugin'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './example/src/**/*.{js,ts,jsx,tsx,scala}'],
theme: {
extend: {
colors: {
muted: 'hsl(var(--muted))',
'muted-foreground': 'hsl(var(--muted-foreground))',
background: 'hsl(var(--background))',
glacier: 'var(--glacier)',
'glacier-dark': 'var(--glacier-dark)',
},
boxShadow: {
left: '-5px 0 5px -5px rgb(0 0 0 / 0.1)',
right: '5px 0 5px -5px rgb(0 0 0 / 0.1)',
bottom: '0 5px 5px -5px rgb(0 0 0 / 0.1)',
top: '0 -5px 5px -5px rgb(0 0 0 / 0.1)',
lr: '-5px 0 5px -5px rgb(0 0 0 / 0.1), 5px 0 5px -5px rgb(0 0 0 / 0.1)',
lrb: '-5px 0 5px -5px rgb(0 0 0 / 0.1), 5px 0 5px -5px rgb(0 0 0 / 0.1), 0 5px 5px -5px rgb(0 0 0 / 0.1)',
},
},
},
plugins: [
plugin(function ({addVariant}) {
addVariant('icon', ['& svg'])
}),
],
}