aura-design-tokens
Skill0 starsChanged 7 days agoMITView on GitHub
Synchronizes PrimeVue Aura, Quasar, and custom CSS through CSS custom properties. Use for themes, color, surfaces, radii, and dark mode. No Tailwind utility classes and no raw hex in components.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/heyeddi-always-on.mdcCursor rule
- .cursor/rules/skill-authoring.mdcCursor rule
- backend-type-bridgerSkill
- cli-interface-designSkill
- composable-patternsSkill
- dart-type-bridgerSkill
- design-handoff-flutterSkill
- design-system-generalizerSkill
- engineering-excellenceSkill
- fancy-ui-craftSkill
- flutter-engineeringSkill
- flutter-patternsSkill
- heyeddi-ci-configSkill
- heyeddi-ci-failsSkill
- heyeddi-ci-guideSkill
- heyeddi-ci-runnersSkill
- heyeddi-designSkill
- heyeddi-handoffSkill
- heyeddi-intakeSkill
- heyeddi-local-firstSkill
- heyeddi-orchestratorSkill
- heyeddi-productSkill
- heyeddi-pr-respondSkill
- heyeddi-pr-reviewSkill
- heyeddi-setupSkill
- heyeddiSkill
- layout-morphSkill
- motion-physicsSkill
- no-duplicate-uiSkill
- pre-merge-gateSkill
- primevue-auraSkill
- primevue-openprops-architectSkill
- project-engineeringSkill
- quasar-foundationSkill
- taste-penpotSkill
- ux-flow-auditorSkill
- verify-buildSkill
- visual-auditorSkill
- visual-verificationSkill
- vue-design-systemSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Add this to the primary stylesheet (src/assets/design-tokens.css) and import it after the PrimeVue setup in src/main.js.
- Very specific: line 74
Import design-tokens.css after Quasar and PrimeVue so --p-* exists before the bridge reads it.
- Very specific: line 76
Do not introduce Tailwind, OpenProps, or a parallel hex scale.
- Distinctive: line 82
When you have finished the user's request for this skill, suggest what to run next:
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Aura Design Tokens
Synchronizes color palettes, surface depths, and border radii across PrimeVue components, Quasar shells, and custom CSS. No Tailwind utility classes.
@taste-penpot may name a brand direction. Record the resulting roles here. Do not invent a second palette in a component.
When the agent activates this skill
- Adding or changing color, surface, border, radius, or dark mode.
- Bridging PrimeVue Aura tokens (
--p-*) to Quasar (--q-*) and app roles (--app-*). - Replacing raw hex or inline color in Vue or CSS.
Token bridge
Add this to the primary stylesheet (src/assets/design-tokens.css) and import it after the PrimeVue setup in src/main.js.
:root {
/* Surface hierarchy (Light mode default) */
--app-bg: var(--p-surface-50, #f8fafc);
--app-surface-card: var(--p-surface-0, #ffffff);
--app-border: var(--p-content-border-color, #e2e8f0);
--app-text-main: var(--p-text-color, #0f172a);
--app-text-muted: var(--p-text-muted-color, #64748b);
--app-spotlight: color-mix(in srgb, var(--p-primary-color, #0ea5e9) 14%, transparent);
--app-glass: color-mix(in srgb, var(--app-surface-card) 72%, transparent);
--app-glass-border: color-mix(in srgb, var(--app-text-main) 12%, transparent);
--app-glass-rim: color-mix(in srgb, white 70%, transparent);
/* Primary brand bridge (Synchronizes Quasar & PrimeVue) */
--q-primary: var(--p-primary-color, #0ea5e9);
--q-secondary: var(--p-surface-700, #334155);
}
.dark-mode {
/* Surface hierarchy (Dark mode) */
--app-bg: var(--p-surface-950, #090d16);
--app-surface-card: var(--p-surface-900, #111827);
--app-border: var(--p-surface-800, #1f2937);
--app-text-main: var(--p-surface-50, #f9fafb);
--app-text-muted: var(--p-surface-400, #9ca3af);
--app-spotlight: color-mix(in srgb, var(--p-primary-color, #38bdf8) 18%, transparent);
--app-glass: color-mix(in srgb, var(--app-surface-card) 55%, transparent);
--app-glass-border: color-mix(in srgb, white 16%, transparent);
--app-glass-rim: color-mix(in srgb, white 28%, transparent);
/* Quasar dark surface sync */
--q-dark: var(--app-bg);
--q-dark-page: var(--app-bg);
}
/* Base resets relying on variables */
body {
background-color: var(--app-bg);
color: var(--app-text-main);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
margin: 0;
-webkit-font-smoothing: antialiased;
}Fallbacks exist only inside this file, so a missing Aura variable still paints. Components reference var(--app-bg), var(--app-surface-card), var(--app-border), var(--app-text-main), var(--app-text-muted), and, for depth, var(--app-spotlight), var(--app-glass), var(--app-glass-border), and var(--app-glass-rim).
Instructions
- Import
design-tokens.cssafter Quasar and PrimeVue so--p-*exists before the bridge reads it. - Toggle dark mode by adding or removing
.dark-modeon an ancestor. That matches PrimeVuedarkModeSelector: '.dark-mode'. - Do not introduce Tailwind, OpenProps, or a parallel hex scale. If
open-propsis already a dependency, leave it; new surfaces still use--app-*. - Radius and shadow for custom CSS should reference Aura when present (
var(--p-border-radius-md),var(--p-content-border-radius)) rather than a new numeric scale in each component. - A taste-penpot display face may set
--app-font-displaywhen the brief names one. Body text stays on the stack above unless the brief pins a different UI family.
When the task is complete: suggest next skills
When you have finished the user's request for this skill, suggest what to run next:
Run:
python .agents/skills/heyeddi/scripts/suggest_next_skill.py --current-skill aura-design-tokens --project-root .- Include the script's
### Next stepblock in your final reply.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

