feat(Body): implementeer Body component met cascade basisstijlen#84
Merged
jeffreylauwers merged 1 commit intomainfrom Mar 13, 2026
Merged
feat(Body): implementeer Body component met cascade basisstijlen#84jeffreylauwers merged 1 commit intomainfrom
jeffreylauwers merged 1 commit intomainfrom
Conversation
Sluit issue #83. Voegt een Body component toe dat document-level CSS stijlen instelt (achtergrond, kleur, typografie) zodat alle child-elementen deze defaults erven via de CSS cascade. De Storybook global decorator past dsn-body toe op alle stories zodat component-previews altijd in de juiste omgeving worden getoond. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jeffreylauwers
pushed a commit
that referenced
this pull request
Mar 13, 2026
- README.md: Layout Components 4→5 (Body toegevoegd), 1002→1008 tests - docs/README.md: versie 5.6.0→5.7.0, 42→43 componenten, 1002→1008 tests - docs/03-components.md: Body sectie toegevoegd onder Layout Components - docs/05-storybook-configuration.md: decorator beschrijving bijgewerkt (dsn-body) - docs/changelog.md: v5.7.0 entry toegevoegd (PR #84) 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.
Sluit #83.
Summary
dsn-bodyinstelt zes document-level CSS properties via design tokens (achtergrond, kleur, font-family, font-size, line-height, font-weight)<Body>component rendert<div class="dsn-body">— zelfde patroon als alle andere componentendsn-bodytoe aandocument.body.classNamezodat alle stories automatisch de juiste omgevingsstijlen ervenFoundations/Bodymet docs en voorbeeldIntroduction.mdxbijgewerkt (43 componenten, Body toegevoegd aan Layout Components)Test plan
pnpm test)pnpm --filter storybook exec tsc --noEmit)pnpm lint)Bodyverschijnt onderFoundationsin de sidebar🤖 Generated with Claude Code