-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
59 lines (57 loc) · 1.44 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
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
primaryColor: "rgb(99, 102, 241)",
secondaryColor: "rgb(161, 163, 247)",
primaryText: "rgb(255,255,255)",
secondaryText: "rgb(174, 178, 183)",
bgDarker1: "rgb(21, 22, 25)",
bgDark1: "rgb(31, 32, 35)",
bgDark2: "rgb(38, 39, 43)",
bgDark3: "rgb(48, 49, 54)",
bgDark3Hover: "rgb(55, 56, 62)",
bgDarkTransparent: "rgb(31, 32, 35, 0.7)",
bgDarkTransparentDarker: "rgb(0,0,0,0.5)",
bgDarkTransparentLighter: "rgb(48, 49, 54, 0.7)",
mainBorder: "rgb(255,255,255,0.15)",
mainBorderDarker: "rgb(255,255,255,0.07)",
quoteIconColor: "rgb(178, 184, 205)"
},
fontFamily: {
Inter: "Inter",
Manjari: "Manjari",
Bungee: "Bungee Hairline",
Urbanist: "Urbanist Variable",
},
screens: {
xs: "530px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
textShadow: {
sm: '0 1px 2px var(--tw-shadow-color)',
DEFAULT: '0 2px 4px var(--tw-shadow-color)',
lg: '0 8px 16px var(--tw-shadow-color)',
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
);
}),
]
};