Skip to content

Update typography to use semantic variables and add dark mode tests.#6698

Open
dbatiste wants to merge 2 commits intomainfrom
dbatiste/dark-mode-typography
Open

Update typography to use semantic variables and add dark mode tests.#6698
dbatiste wants to merge 2 commits intomainfrom
dbatiste/dark-mode-typography

Conversation

@dbatiste
Copy link
Contributor

@dbatiste dbatiste commented Mar 20, 2026

GAUD-9451

This PR:

  • updates typography (not including Sass) styles to use the semantic palette
  • creates corresponding dark mode tests
  • updates focus-ring styles to use semantic palette too (since typography needs those)

@dbatiste dbatiste requested a review from a team as a code owner March 20, 2026 19:18
@github-actions
Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-6698/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

it(`heading-${level}`, async() => {
const elem = await fixture(createTypographyWrapper(html`<h1 class="d2l-heading-${level}">${`Heading ${level}`}</h1>`), { viewport });
const elem = await fixture(createTypographyWrapper(html`<h1 class="d2l-heading-${level}">${`Heading ${level}`}</h1>`), { colorMode, viewport });
Copy link
Contributor

Choose a reason for hiding this comment

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

I may just be out of the loop, but was it decided to go this way, or is this temporary until we get the @GZolla testing stuff in (which I'm just realizing got lost in Inspiration, at least in terms of my radar)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe this is not temporary, and is from GZ's testing PR. There was another method that GZ demo'd which seemed a bit more experimental. I'm not sure if there was separate conversation about the approaches.

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.

2 participants