-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (55 loc) · 1.57 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
const defaultTheme = require('tailwindcss/defaultTheme');
export default {
content: ['./src/**/*.{html,js,svelte,ts}', './index.html'],
plugins: [
require('daisyui'),
plugin(function ({ addUtilities, addComponents, e, prefix, config }) {
const newUtilities = {
'.horizontal-tb': {
writingMode: 'horizontal-tb',
},
'.vertical-rl': {
writingMode: 'vertical-rl'
},
'.vertical-lr': {
writingMode: 'vertical-lr'
},
".orientation-mixed": { "text-orientation": "mixed" },
".orientation-upright": { "text-orientation": "upright" },
".orientation-sideways-right": { "text-orientation": "sideways-right" },
".orientation-sideways": { "text-orientation": "sideways" },
".orientation-glyph": { "text-orientation": "use-glyph-orientation" },
}
addUtilities(newUtilities)
})
],
daisyui: {
darkTheme: "light",
themeRoot: ":root", // The element that receives theme color CSS variables
},
theme: {
extend: {
screens: {
"print": { "raw": "print" },
'3xl': '1920px',
'4xl': '2560px',
'5xl': '3840px'
},
fontFamily: {
'mono': ['Azeret Mono', ...defaultTheme.fontFamily.mono]
},
fontSize: {
'xs': '0.7rem',
},
backgroundImage: {
'avatar': "url('/rino.png')",
'mountains': "url('/mountains.jpg')",
}
},
variants: {
extend: {},
},
},
}