Next, I will buildunocss-preset-antdbased on this preset Installation npm i -D unocss-preset-theme Usages Usually you just need to set yourlight themetounocssand yourdark themetopresetTheme. This preset will transform your provide theme into css variables, then you just need to set thedark...
npm i -D unocss-preset-theme Usages Usually you just need to set your light theme to unocss and your dark theme to presetTheme. This preset will transform your provide theme into css variables, then you just need to set the dark class or compact class (Depends on your theme name) in...
The dynamic theme presets for UnoCSS. Contribute to unocss-community/unocss-preset-theme development by creating an account on GitHub.
Next, I will buildunocss-preset-antdbased on this preset Installation npm i -D @minmin614/unocss-preset-theme Usages Usually you just need to set yourlight themetounocssand yourdark themetopresetTheme. This preset will transform your provide theme into css variables, then you just need to...
theme design for unocss Usage install pnpm i -D unocss-preset-design unocss config import{defineConfig}from"@unocss/vite";importtype{Theme}from"@unocss/preset-mini";importpresetUnofrom"@unocss/preset-mini";importpresetDesignfrom"unocss-preset-design";exportdefaultdefineConfig<Theme>({content:{...
Fixing #75 Keeps theme color opacity values in a special custom css property <color-variable-name>--alpha. Provides opacity values as css properties instead of as concrete numbers generated at buil...
npm i -D @wtto00/unocss-preset-theme Usages Usually you just need to set yourlight themetounocssand yourdark themetopresetTheme. This preset will transform your provide theme into css variables, then you just need to set thedarkclass orcompactclass (Depends on your theme name) in your ...
🏭 Generate custom utility types in UnoCSS using a tokenized design system powered by Untheme.. Latest version: 1.1.0, last published: 3 months ago. Start using unocss-preset-untheme in your project by running `npm i unocss-preset-untheme`. There is 1
UnoCSS preset for supporting Prime UI theme colors and icons. Install # npm npm i -D unocss-preset-prime # yarn yarn add -D unocss-preset-prime # pnpm pnpm i -D unocss-preset-prime ⚠️ Using PrimeIcons requires installing the @iconify-json/prime package and configuring presetIcons ...
const v = theme.textShadow?.[s || 'DEFAULT'] || h.bracket.cssvar(s) if (v != null) return { 'text-shadow': v } }], ] export const fonts = [ fontsFamilies, fontSizes, 1 change: 0 additions & 1 deletion 1 packages/preset-uno/src/rules/variables.ts Original file line numb...