-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
52 lines (51 loc) · 1.88 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
boxShadow: {
'dark-sm': '0 8px 16px rgba(28,33,40,0.85)',
'dark-md': '0 16px 32px rgba(28,33,40,0.85)',
'dark-lg': '0 32px 64px rgba(28,33,40,0.85)',
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
colors: {
primary: {
DEFAULT: 'var(--color-primary)',
light: 'var(--color-primary-light)',
dark: 'var(--color-primary-dark)',
},
light: {
bg: 'var(--color-light-bg)',
'text-contrast-high': 'var(--color-light-text-contrast-high)',
'text-contrast-medium': 'var(--color-light-text-contrast-medium)',
'text-contrast-low': 'var(--color-light-text-contrast-low)',
'text-highlight': 'var(--color-light-text-highlight)',
border: 'var(--color-light-border)',
},
dark: {
bg: 'var(--color-dark-bg)',
'elevation-1': 'var(--color-dark-elevation-1)',
'elevation-2': 'var(--color-dark-elevation-2)',
'elevation-3': 'var(--color-dark-elevation-3)',
'elevation-4': 'var(--color-dark-elevation-4)',
'elevation-5': 'var(--color-dark-elevation-5)',
'elevation-6': 'var(--color-dark-elevation-6)',
'text-contrast-high': 'var(--color-dark-text-contrast-high)',
'text-contrast-medium': 'var(--color-dark-text-contrast-medium)',
'text-contrast-low': 'var(--color-dark-text-contrast-low)',
'text-highlight': 'var(--color-dark-text-highlight)',
border: 'var(--color-dark-border)',
},
gray: colors.blueGray,
},
},
},
variants: {},
plugins: [],
}