-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwind.config.ts
32 lines (31 loc) · 1.03 KB
/
twind.config.ts
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
import { Options } from "$fresh/plugins/twind.ts";
import { Configuration } from "twind";
export default {
...({
theme: {
extend: {
fontFamily: {
sans: ['"Noto Sans"', 'sans-serif'],
serif: ['Domine', 'serif'],
},
},
},
preflight: {
body: {
fontFamily: '"Noto Sans", sans-serif',
fontOpticalSizing: 'auto',
fontVariationSettings: '"wdth" 100',
},
},
plugins: {
'projects-image': 'w-full h-[600px] object-cover rounded mt-4 transition-all duration-300 ease-in-out hover:opacity-95',
'page-name': 'pb-2',
'menu-item': 'text-gray-800 transition-colors duration-300 ease-in-out hover:underline',
'projects-card': 'overflow-hidden transition-shadow duration-300 ease-in-out mb-16',
'avatar': 'max-w-full h-auto rounded',
'link': 'text-gray-400 underline hover:text-gray-800',
'index-image': 'h-[80vh] w-full object-cover rounded mb-2',
},
} as Configuration),
selfURL: import.meta.url,
} as Options;