Flycro-Me/windi.config.ts

77 lines
2.0 KiB
TypeScript

import { defineConfig } from 'windicss/helpers'
import typography from 'windicss/plugin/typography'
export default defineConfig({
darkMode: 'class',
// https://windicss.org/posts/v30.html#attributify-mode
attributify: true,
plugins: [
typography(),
require('windicss/plugin/forms'),
],
theme: {
extend: {
fontFamily: {
sans: ['Titillium Web', 'sans-serif'],
mono: ['Titillium Web', 'monospace'],
},
colors: {
fly: {
DEFAULT: '#00F9FF',
50: '#B8FDFF',
100: '#A3FDFF',
200: '#7AFCFF',
300: '#52FBFF',
400: '#29FAFF',
500: '#00F9FF',
600: '#00C2C7',
700: '#008B8F',
800: '#005557',
900: '#001E1F',
},
octogrey: {
DEFAULT: '#1E293B',
50: '#8098BE',
100: '#6F8AB6',
200: '#526FA0',
300: '#40587F',
400: '#2F405D',
500: '#1E293B',
600: '#0D1219',
700: '#000000',
800: '#000000',
900: '#000000',
},
},
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'inherit',
a: {
'color': 'inherit',
'opacity': 0.75,
'fontWeight': '500',
'textDecoration': 'underline',
'&:hover': {
opacity: 1,
color: '#00C2C7',
},
},
b: { color: 'inherit' },
strong: { color: 'inherit' },
em: { color: 'inherit' },
h1: { color: 'inherit', fontWeight: 'bold' },
h2: { color: 'inherit', fontWeight: 'bold' },
h3: { color: 'inherit', fontWeight: 'bold' },
h4: { color: 'inherit', fontWeight: 'bold' },
blockquote: { color: 'inherit', borderLeft: '4px solid #00F9FF' },
code: { color: 'inherit' },
},
},
},
},
},
})