2026-01-18 13:01:46 +03:30
|
|
|
import {
|
|
|
|
|
defineConfig, presetAttributify, presetIcons,
|
|
|
|
|
presetTypography, presetUno, presetWebFonts,
|
|
|
|
|
transformerDirectives, transformerVariantGroup
|
|
|
|
|
} from 'unocss'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
shortcuts: [
|
2026-06-14 10:08:46 +03:30
|
|
|
['wallet-dock-width', 'fixed inset-x-0 w-full max-w-[426px] left-0 right-0'],
|
|
|
|
|
['app-dock-add-bar', 'wallet-dock-width !fixed bottom-[var(--app-bottom-chrome-height)] z-[var(--app-z-wallet-add-bar)] h-[var(--app-add-card-height)] flex items-center justify-center gap-1 rounded-t-3xl bg-[#FBFBFC] shadow-[0_1px_26px_11px_rgba(0,0,0,0.1)] cursor-pointer box-border'],
|
2026-05-23 16:34:15 +03:30
|
|
|
['wallet-add-card-bar', 'app-dock-add-bar'],
|
2026-05-30 12:08:18 +03:30
|
|
|
['wallet-card-slider', 'wallet-dock-width !fixed bottom-[calc(var(--app-bottom-chrome-height)+var(--app-add-card-height)-var(--wallet-card-dock-overlap))] z-[var(--app-z-wallet-dock)] px-3 touch-none flex flex-col justify-end overflow-visible'],
|
2026-01-18 13:01:46 +03:30
|
|
|
],
|
|
|
|
|
theme: {
|
|
|
|
|
colors: {
|
2026-01-21 19:38:50 +03:30
|
|
|
"primary": 'var(--App-primary-color)',
|
2026-01-18 13:01:46 +03:30
|
|
|
"secondary": "#ffffff",
|
2026-01-21 19:38:50 +03:30
|
|
|
"tertiary": 'var(--App-secondary-color)'
|
2026-01-18 13:01:46 +03:30
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
presets: [
|
|
|
|
|
presetUno(),
|
|
|
|
|
presetAttributify(),
|
|
|
|
|
//presetIcons(),
|
|
|
|
|
//presetTypography(),
|
|
|
|
|
/*presetWebFonts({
|
|
|
|
|
fonts: {
|
|
|
|
|
// ...
|
|
|
|
|
},
|
|
|
|
|
}),*/
|
|
|
|
|
],
|
|
|
|
|
transformers: [
|
|
|
|
|
transformerDirectives(),
|
|
|
|
|
transformerVariantGroup(),
|
|
|
|
|
],
|
|
|
|
|
})
|