Back to list
onmax

unocss-onmax

by onmax

0🍴 0📅 Jan 23, 2026

SKILL.md


name: unocss-onmax description: Use when writing UnoCSS with presetOnmax workflow - covers attribute mode patterns, fluid spacing (f- prefix), scale-to-pixel (1px base), custom variants (hocus, reka-, data-state), nimiq-css design system (nq- utilities), and Reka UI integration. Apply when editing .vue files with UnoCSS attributes or configuring uno.config.ts.

UnoCSS with presetOnmax Workflow

Custom UnoCSS workflow using unocss-preset-onmax with fluid sizing, 1px-base spacing, and attributify mode.

Core Concepts

ConceptPatternExample
Attribute modeattr="~ value"flex="~ col gap-8"
Fluid spacingf-{util}-{size}f-px-md, f-pt-2xl
Scale-to-px1rem = 4pxp-16 = 16px
hocushover + focusbg="neutral hocus:blue"
size-Xwidth + heightsize-40 = 40×40px

When to Load Sub-Files

Load based on task:

TaskFile
Configuring uno.config.tspreset-onmax.md
Writing component stylesattributify.md
Responsive typography/spacingfluid-sizing.md
State selectors, dark modevariants.md
nimiq-css utilities (nq-*)nimiq-css.md

DO NOT load all files. Each ~400-800 tokens. Load only what's needed.

Quick Reference

Attribute Mode Syntax

<div flex="~ col items-center gap-16">
<div text="f-xl neutral-800">
<button bg="neutral-0 hocus:neutral-50">
<div outline="~ 1.5 offset--1.5 neutral/10">

Fluid Sizing Scale

2xs=8/12  xs=12/16  sm=16/24  md=24/32  lg=32/48  xl=48/72  2xl=72/96

Common Patterns

size-40 rounded-full           <!-- Circle button -->
f-px-md f-pt-sm               <!-- Fluid padding -->
outline="1.5 offset--1.5"     <!-- Inset outline -->
hocus:bg-neutral-100          <!-- Hover+focus -->
stack                         <!-- Centered grid overlay -->

Token Budget

  • Base: ~250 tokens
  • Per sub-file: ~400-800 tokens

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon