Skip to content
New issue

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

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

Already on GitHub? # to your account

Heading does no apply the css correctly #610

Closed
capJuan opened this issue Mar 26, 2024 · 1 comment
Closed

Heading does no apply the css correctly #610

capJuan opened this issue Mar 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working design-system
Milestone

Comments

@capJuan
Copy link
Contributor

capJuan commented Mar 26, 2024

Describe the bug
Having 2 headings , one level 1 and another level 4 , the colour css setting for level 1 is also apply to the heading level 4

To Reproduce
Steps to reproduce the behavior:

  1. create a page with 2 headings one level 1 and one level 4
  2. set css for both using tokens --dcx-color-text-heading-level_1 and --dcx-color-text-heading-level_4 different colours
  3. render the page ( level 1 colour is applied to both headdings ( ignoring the level 4 color csss)

Expected behavior
the heading should render using different colour as css

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]

  • Browser [e.g. chrome, safari]
    Screenshot 2024-03-22 at 12 19 59

  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@daniele-zurico daniele-zurico added design-system bug Something isn't working labels Mar 26, 2024
@daniele-zurico daniele-zurico added this to the 1.0.0 milestone Apr 12, 2024
@daniele-zurico
Copy link
Contributor

closed by #620

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working design-system
Projects
None yet
Development

No branches or pull requests

3 participants