33 lines
973 B
TypeScript
33 lines
973 B
TypeScript
import { defineConfig, presetUno, presetTypography, transformerDirectives } from 'unocss';
|
|
|
|
// UnoCSS конфиг нейросети.рус — те же дизайн-токены, что были в BaseLayout CSS
|
|
export default defineConfig({
|
|
presets: [
|
|
presetUno(),
|
|
presetTypography(),
|
|
],
|
|
transformers: [
|
|
transformerDirectives(),
|
|
],
|
|
theme: {
|
|
colors: {
|
|
bg: '#0d0f1a',
|
|
text: '#e6e8f0',
|
|
muted: '#9aa0b5',
|
|
accent: '#6d5efc',
|
|
accent2: '#38d9a9',
|
|
card: '#161a2a',
|
|
card2: '#1e2235',
|
|
border: '#2a2f45',
|
|
},
|
|
borderRadius: {
|
|
DEFAULT: '12px',
|
|
},
|
|
},
|
|
shortcuts: {
|
|
container: 'max-w-960px mx-auto px-20px',
|
|
'card': 'bg-card2 border border-border rounded-10px p-18px transition-(transform border-color) duration-150 hover:translate-y--2px hover:border-accent',
|
|
'badge': 'inline-block text-11px font-700 uppercase tracking-0.5px px-8px py-3px rounded-full text-white',
|
|
},
|
|
});
|