-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
80 lines (77 loc) · 2.01 KB
/
tailwind.config.cjs
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
/*
* Copyright (c) 2023 Kiyozz~WK~WushuLate.
*
* All rights reserved.
*
*/
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./index.html',
'./src/**/*.{ts,tsx}'
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f2f6fc',
100: '#e2ebf7',
200: '#cbdcf2',
300: '#a7c6e9',
400: '#81aade',
500: '#5e89d3',
600: '#4a70c6',
700: '#405eb5',
800: '#394e94',
900: '#324476',
950: '#232b48',
bg: '#faf0f9',
content: '#ffffff',
},
secondary: { '0': '#f8f6f4',
100: '#efece5',
200: '#ddd6cb',
300: '#beaf9b',
400: '#b09b87',
500: '#a0866f',
600: '#937663',
700: '#7b6153',
800: '#655147',
900: '#53423b',
950: '#2c221e',
bg: '#f8f6f4',
content: '#7b6153',
},
},
fontFamily: {
sans: ['Inter var',...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
},
boxShadow: {
b: '0 1px 0 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
},
minHeight: {
'app': 'calc(100vh - 64px)',
},
transitionTimingFunction: {
sharp: 'cubic-bezier(0.4, 0, 0.6, 1)',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@headlessui/tailwindcss', { prefix: 'ui' }),
plugin(function ({
addVariant,
}) {
addVariant('aria-not-disabled', ['&:not([aria-disabled="true"])'])
addVariant('aria-invalid', ['&[aria-invalid="true"]'])
addVariant('group-aria-invalid', ':merge(.group)[aria-invalid="true"] &')
addVariant('group-aria-not-disabled', ':merge(.group):not([aria-disabled="true"]) &')
})
],
}