Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: description-list caption class #1299

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

Borai
Copy link
Contributor

@Borai Borai commented Aug 10, 2023

Fixed incorrect classname

Closes #1296

@Borai Borai linked an issue Aug 10, 2023 that may be closed by this pull request
2 tasks
@vercel
Copy link

vercel bot commented Aug 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
denhaag ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2023 10:15am

Copy link
Member

@Yolijn Yolijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this closes the issue about adding a design token this PR is not yet complete. For the description-list there's a caption and a title. The caption is the optional heading above the description-list. The title is the dt which occurs for every row in the list.
According to the Figma design the title should have a different color than the detail. However neither has a color property.

This issue was about adding the color property to the title in this file https://github.com/nl-design-system/denhaag/blob/main/components/DescriptionList/src/index.scss with a reference to a new design token in this file https://github.com/nl-design-system/denhaag/blob/main/proprietary/Components/src/denhaag/description-list.tokens.json

@Borai
Copy link
Contributor Author

Borai commented Aug 10, 2023

@Yolijn Sorry I was confused about the naming in the ticket. I commit some new code.

Copy link
Member

@Yolijn Yolijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, this is adding the right color 😊

@Yolijn Yolijn merged commit abb0153 into main Aug 10, 2023
4 checks passed
@Yolijn Yolijn deleted the 1296-design-token-voor-de-data-list-title branch August 10, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design-token voor de data-list title
2 participants