-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
50 lines (49 loc) · 1.07 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
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: {
"primary": '#007bff',
},
screens: {
sms: '432px',
mds: '800px',
},
lineHeight: {
'full': '100%',
},
aspectRatio: {
'oblong': '2 / 1',
},
zIndex: {
'highest': '9999',
}
},
},
plugins: [
require('@tailwindcss/typography'),
plugin(({ addUtilities, addComponents, e, prefix, config }) => {
addComponents({
".link": {
"text-decoration-line": "underline",
'&:hover': {
"text-decoration-line": "none",
},
}
});
addUtilities({
".horizontal-tb": {
writingMode: "horizontal-tb",
},
".vertical-rl": {
writingMode: "vertical-rl",
},
".vertical-lr": {
writingMode: "vertical-lr",
},
});
})
],
};