-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
82 lines (79 loc) · 1.97 KB
/
tailwind.config.cjs
File metadata and controls
82 lines (79 loc) · 1.97 KB
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
'./src/**/*.{astro,html,js,jsx,svelte,ts,ts*,tsx,vue,mdx,md}',
'./node_modules/flowbite/**/*.js'
],
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
},
textColor: {
default: "var(--color-text)",
offset: "var(--color-text-offset)",
},
backgroundColor: {
default: "var(--color-background)",
offset: "var(--color-background-offset)",
},
borderColor: {
default: "var(--color-border)",
},
animation: {
'spin-slow': 'spin 5s linear infinite',
'pulse-short': 'pulse 5s ease-in-out',
},
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)',
xl: '0 32px 64px var(--tw-shadow-color)',
},
boxShadow: {
'overdrive': '0 10px 420px 150px rgb(0 0 0 / 0.25)',
},
zIndex: {
'100': '100',
},
scale: {
flip: '-1',
},
keyframes: {
},
},
},
corePlugins: {
fontSize: false,
aspectRatio: false,
},
variants: {
extend: {
// ...
backgroundOpacity: ['active'],
}
},
plugins: [
require('flowbite/plugin'),
//require("tailwindcss-fluid-type"),
//require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
//require('@tailwindcss/aspect-ratio'),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
)
}),
],
};