-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
56 lines (53 loc) · 1.13 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss'
import { addDynamicIconSelectors } from '@iconify/tailwind'
import colors from 'tailwindcss/colors'
export const notePalette = {
red: '#ffadad',
yellow: '#fdffb6',
green: '#c2e0d9',
blue: '#c3e3f4',
violet: '#dedaf4',
}
const theme = {
primary: {
light: '#FFB4A2',
DEFAULT: '#E5989B',
dark: '#B5838D',
},
block: {
DEFAULT: '#FFD4BD',
dark: '#6D6875',
},
bg: {
DEFAULT: '#FFDFCE',
dark: '#5D5864',
},
text: {
DEFAULT: '#27252A',
dark: '#FFEDE4',
},
comments: {
DEFAULT: '#5D514F',
dark: '#DBCCC8',
},
notes: notePalette,
success: colors.green[600],
warn: colors.amber[600],
danger: colors.red[600],
info: colors.sky[600],
}
const config: Config = {
content: [
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: ['class'],
theme: {
colors: theme,
},
plugins: [
// Iconify plugin
addDynamicIconSelectors(),
],
}
export default config