-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathtailwind.config.cjs
122 lines (122 loc) · 3.79 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
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', './public/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
background: '#F1F5F9',
login: '#E2E8F0',
old: '#eeeeee',
faGray: {
light: '#e6e7e8',
dark: '#3e4e50'
},
fuchsia: colors.fuchsia,
gray: colors.slate,
green: colors.teal,
indigo: colors.indigo,
blue: colors.blue,
sky: colors.sky,
orange: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#f58320',
600: '#ea580c',
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
},
red: colors.rose,
rose: colors.pink,
yellow: colors.yellow,
slate: colors.slate,
white: colors.white
},
extend: {
backgroundImage: {
'hero': 'url("/img/heroes/dots-code.svg")',
'articles': 'radial-gradient(circle 768px at top right, rgb(199,210,254,0.95) 0%, rgba(255,255,255,0.95) 80%, rgba(255,255,255,1.0) 100%), url("/img/texture/grid.svg")',
'articles-dark': 'radial-gradient(circle 768px at top right, rgba(55,48,163,0.75) 0%, rgba(15,23,42,0.75) 80%, rgba(15,23,42,1.0) 100%), url("/img/texture/grid.svg")'
// 'articles': 'linear-gradient(90deg, rgba(15,23,42,1) 0%, rgba(15,23,42,1) 50%, rgba(99,102,241,0.50) 80%, rgba(15,23,42,0.75) 100%), linear-gradient(180deg, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.8) 50%, rgba(15,23,42,1.0) 80%, rgba(15,23,42,1.0) 100%), url("/img/texture/grid.svg")'
},
backgroundPosition: {
'pos-hero': 'right 0 bottom 150px'
},
borderWidth: {
'10': '10px'
},
boxShadow: {
'aside': '0 2px 4px 0 rgba(0,0,13,0.14), 0 0 0 1px rgba(63,63,68,0.05), 0 1px 3px 0 rgba(63,63,68,0.15)',
'dropdown': '0 9px 12px 1px rgba(0,0,0,0.14), 0 3px 16px 2px rgba(0,0,0,0.12), 0 5px 6px -3px rgba(0,0,0,0.20)',
// 'dropdown': '0px 1px 1px 0px rgba(0, 28, 36, 0.3), 1px 1px 1px 0px rgba(0, 28, 36, 0.15), -1px 1px 1px 0px rgba(0, 28, 36, 0.15)',
'panel': '0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20)'
},
fontFamily: {
'awesome': '"Font Awesome 6 Pro"'
},
keyframes: {
logout: {
'from': {
width: '0'
},
'to': {
width: '100%'
},
}
},
maxWidth: {
'8xl': '90rem'
},
transformOrigin: {
'0': '0%'
},
typography: {
DEFAULT: {
css: {
'blockquote p:first-of-type::before': {
content: 'none'
},
'blockquote p:first-of-type::after': {
content: 'none'
},
'pre code': {
backgroundColor: 'transparent !important',
borderWidth: '0 !important',
paddingLeft: '0 !important',
paddingRight: '0 !important'
},
'code::after': {
content: ''
},
'code::before': {
content: ''
},
'h5': {
fontWeight: '500'
}
},
},
},
},
fontFamily: {
sans: [
'Inter, -apple-system, system-ui, BlinkMacSystemFont, Arial, sans-serif',
{
fontFeatureSettings: '"case", "zero"'
}
]
}
},
plugins: [
require('@tailwindcss/typography')
],
variants: {
borderColor: ['focus', 'focus-within', 'hover', 'responsive'],
}
}