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

Fixed link style generating light and dark modes together #643

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

origami-z
Copy link
Contributor

@origami-z origami-z commented Sep 2, 2024

Only trying to fix link issue for #640, all other components / themes using both light / dark modes should be looked at later as well.

To confirm working, go to preview, e.g. configure page, inspect heading link, when in light mode, only light variables should be used. Same for dark mode.

[data-mode=light] ._651s9q3g, [data-mode=light] ._651s9q3h:hover, [data-mode=light] ._651s9q3h[data-dp-hover=true], [data-mode=light] ._651s9q3i:active, [data-mode=light] ._651s9q3j:disabled, [data-mode=light] ._651s9q3k:visited {
    color: var(--mosaic-color-light-navigable-headingLink-regular);
}

Copy link

vercel bot commented Sep 2, 2024

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

Name Status Preview Comments Updated (UTC)
mosaic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 2, 2024 9:52am

Copy link

changeset-bot bot commented Sep 2, 2024

🦋 Changeset detected

Latest commit: 018d326

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 28 packages
Name Type
@jpmorganchase/mosaic-content-editor-plugin Patch
@jpmorganchase/mosaic-site Patch
@jpmorganchase/mosaic-theme Patch
@jpmorganchase/mosaic-layouts Patch
@jpmorganchase/mosaic-site-preset-styles Patch
@jpmorganchase/mosaic-cli Patch
@jpmorganchase/mosaic-labs-components Patch
@jpmorganchase/mosaic-components Patch
@jpmorganchase/mosaic-core Patch
@jpmorganchase/mosaic-create-site Patch
@jpmorganchase/mosaic-from-http-request Patch
@jpmorganchase/mosaic-open-api-component Patch
@jpmorganchase/mosaic-plugins Patch
@jpmorganchase/mosaic-schemas Patch
@jpmorganchase/mosaic-serialisers Patch
@jpmorganchase/mosaic-site-components Patch
@jpmorganchase/mosaic-site-middleware Patch
@jpmorganchase/mosaic-sitemap-component Patch
@jpmorganchase/mosaic-source-figma Patch
@jpmorganchase/mosaic-source-git-repo Patch
@jpmorganchase/mosaic-source-http Patch
@jpmorganchase/mosaic-source-local-folder Patch
@jpmorganchase/mosaic-source-readme Patch
@jpmorganchase/mosaic-source-storybook Patch
@jpmorganchase/mosaic-standard-generator Patch
@jpmorganchase/mosaic-store Patch
@jpmorganchase/mosaic-types Patch
@jpmorganchase/mosaic-workflows Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@origami-z
Copy link
Contributor Author

/release-pr

Copy link
Contributor

github-actions bot commented Sep 2, 2024

🫰✨ Thanks @origami-z! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add @jpmorganchase/[email protected]
yarn add in 17.14s.

@origami-z origami-z marked this pull request as ready for review September 3, 2024 08:23
@origami-z origami-z requested a review from a team as a code owner September 3, 2024 08:23
@origami-z origami-z merged commit bb1189a into main Sep 3, 2024
8 checks passed
@origami-z origami-z deleted the fixed-link-light-dark-mode-css branch September 3, 2024 10:47
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