feat(tokens): transition en animation tokens toevoegen#88
Merged
jeffreylauwers merged 4 commits intomainfrom Mar 15, 2026
Merged
feat(tokens): transition en animation tokens toevoegen#88jeffreylauwers merged 4 commits intomainfrom
jeffreylauwers merged 4 commits intomainfrom
Conversation
- Voegt dsn.transition.duration.* tokens toe (instant/fast/normal/slow/slower) - Voegt dsn.transition.easing.* tokens toe (default/enter/exit/move/linear) - prefers-reduced-motion media query centraal in build.js — alle duration-tokens naar 0ms, geen component-level media queries nodig - Vervangt hardcoded 0.2s/ease waarden in button, link, text-input, text-area en details CSS door var(--dsn-transition-duration-normal) / var(--dsn-transition-easing-default) - Nieuwe Storybook pagina Foundations/Motion met geanimeerde previews - TokenTable ondersteunt previewType="transition-duration" (sweep-balk) en previewType="transition-easing" (bolletje op track) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- MotionTokens.mdx verwijderd; inhoud onderaan DesignTokens.mdx toegevoegd - Animatiekleur gewijzigd naar --dsn-color-accent-1-inverse-bg-default voor beter contrast in beide previews Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…TokenTable Spacing, border-radius, transition-duration en transition-easing previews gebruiken nu allemaal --dsn-color-accent-1-inverse-bg-default voor consistente kleurstelling met meer contrast. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- changelog: v5.8.0 entry toegevoegd (motion tokens, TOC navigatie, preview kleuren) - docs/02-design-tokens-reference.md: Motion sectie toegevoegd met duration & easing tabellen - docs/05-storybook-configuration.md: TokenTable previewType waarden gedocumenteerd, TocLink component gedocumenteerd Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #85
Summary
base.json: 5 duration (instant/fast/normal/slow/slower) en 5 easing (default/enter/exit/move/linear)prefers-reduced-motion: reducemedia query viabuild.jspost-processing — alle duration-tokens worden naar0msgezet, componenten hoeven zelf niets te implementeren0.2s easeinbutton.css,link.css,text-input.css,text-area.cssendetails.cssdoor token referencesTokenTableuitgebreid metpreviewType="transition-duration"(sweep-balk) enpreviewType="transition-easing"(bolletje op track)Test plan
pnpm test— 1008 tests groenpnpm --filter storybook exec tsc --noEmit— 0 TypeScript foutenpnpm lint— 0 lint foutenprefers-reduced-motion: reducestaan de previews stil🤖 Generated with Claude Code