scania-digital-design-system

6 mods across 1 repository, 2 stars between them.

tegel-colors

01

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Use Tegel brand-themed color tokens when working in a project that has adopted Tegel colors. Apply when the user asks to style components, theme the app, switch between Scania/Traton brands or light/dark mode, or pick a color. Two brands (scania, traton) and two modes (light, dark) toggled via root classes. Always…

2 2mo ago A 105 tokens

tegel-lite-setup

02

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Install, integrate, and avoid the gotchas of @scania/tegel-lite. Use when adopting tegel-lite in a new project, debugging "why does this look broken?" symptoms, or porting Tegel-Lite conventions. Covers the -tag CSS loading pattern (bundlers like Lightning CSS / Turbopack reject the package's CSS), the copy-tegel.mjs…

2 2mo ago A 116 tokens

tegel-motion

03

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Reference for Tegel design system motion tokens — durations, easings, keyframes, and pre-composed transition/animation CSS variables. Use when adding, tweaking, or reviewing animations and transitions in any Tegel-based UI so the result stays on-brand instead of hardcoding ms/cubic-bezier values.

2 2mo ago A 65 tokens

tegel-skill-fix

04

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Use when the user says the Tegel UI an agent generated is wrong, off-brand, or drifted from the design system — especially after the user manually corrected the code. Captures the lesson as an edit to the responsible Tegel skill and opens a PR upstream against scania-digital-design-system/tegel-ui-skills. Invoke…

2 2mo ago A 133 tokens

tegel-spacing

05

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Reference for Tegel design system spacing tokens — the layout scale (macro, between sections), the element scale (micro, inside components), the intent-named --space- aliases, and the --unit- primitives. Use when adding, tweaking, or reviewing padding, margin, or gap in any Tegel-based UI so token names stay on-brand…

2 2mo ago A 84 tokens

tegel

06

scania-digital-design-system/tegel-ui-skills

Skill Claude CodeCodex

Use a Tegel Lite design system component. Invoke when the user asks to build UI with Tegel, references a Tegel component (Button, Card, Header, Table, etc.), or asks what classes/props a component accepts. Tegel Lite is a CSS-first design system (no JS runtime) — components are BEM-named classes…

2 2mo ago A 124 tokens