neurosite: добавить UnoCSS (unocss 66.10, uno.config.ts, макет на utility-классах)
This commit is contained in:
1 parent
cafef9b2a6
commit
08863fb819
7 files changed
+325
-42
No files matched your search
@@ -0,0 +1,32 @@
|
||||
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',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user