-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuno.config.ts
More file actions
56 lines (55 loc) · 1.77 KB
/
uno.config.ts
File metadata and controls
56 lines (55 loc) · 1.77 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
import {
defineConfig,
presetIcons,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetIcons({
scale: 1.2,
extraProperties: {
'display': 'inline-block',
'vertical-align': 'middle',
},
}),
presetWebFonts({
fonts: {
sans: 'IBM Plex Sans:400,500,600,700',
display: 'Instrument Sans:400,500,600,700',
mono: 'IBM Plex Mono:400,500',
},
}),
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
theme: {
colors: {
fedify: {
sky: '#bae6fd',
blue: '#0ea5e9',
deep: '#0284c7',
navy: '#0c4a6e',
violet: '#a855f7',
pink: '#ec4899',
rose: '#d0188f',
purple: '#a730b8',
},
},
},
shortcuts: {
'btn': 'px-6 py-3 rounded-xl font-semibold transition-all duration-300 cursor-pointer',
'btn-primary': 'btn bg-gradient-to-r from-fedify-blue to-fedify-deep text-white hover:shadow-lg hover:shadow-fedify-blue/30 hover:-translate-y-0.5',
'section-container': 'max-w-6xl mx-auto px-6 py-20 md:py-28',
'section-title': 'text-3xl md:text-4xl lg:text-5xl font-display font-bold tracking-tight leading-snug',
'section-subtitle': 'text-lg md:text-xl text-slate-600 dark:text-slate-400 mt-4 max-w-2xl',
'card': 'bg-white dark:bg-slate-800/50 rounded-2xl border border-slate-200 dark:border-slate-700/50 p-6 transition-all duration-300',
'card-hover': 'hover:shadow-xl hover:shadow-fedify-blue/10 hover:-translate-y-1 hover:border-fedify-blue/30',
'gradient-text': 'bg-gradient-to-r from-fedify-blue via-fedify-violet to-fedify-pink bg-clip-text text-transparent pb-1',
},
})