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

[Darkside] Quality assurance P7 #3530

Merged
merged 14 commits into from
Feb 4, 2025
Merged

[Darkside] Quality assurance P7 #3530

merged 14 commits into from
Feb 4, 2025

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Jan 29, 2025

Component Checklist 📝

  • JSDoc
  • Examples
  • Documentation / Decision Records
  • Storybook
  • Style mappings (@navikt/core/css/config/_mappings.js)
  • Component tokens (@navikt/core/css/tokens.json)
  • CSS class deprecations (@navikt/aksel-stylelint/src/deprecations.ts)
  • Exports (@navikt/core/react/src/index.ts and @navikt/core/react/package.json)
  • New component? CSS import (@navikt/core/css/index.css)
  • Breaking change? Update migration guide. Consider codemod.
  • Changeset (Format: <Component>: <gitmoji?> <Text>. E.g. "Button: ✨ Add feature xyz.")

Copy link

changeset-bot bot commented Jan 29, 2025

⚠️ No Changeset found

Latest commit: b625735

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented Jan 31, 2025

Storybook demo / Chromatic

effaa1857 | 91 components | 135 stories

larseirikhansen
larseirikhansen previously approved these changes Feb 4, 2025
Copy link
Contributor

@larseirikhansen larseirikhansen left a comment

Choose a reason for hiding this comment

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

Alt ser bra ut 🕺

@@ -173,10 +170,7 @@
}

&:active {
--__axc-button-border-color: transparent;

color: var(--ax-text-contrast);
Copy link
Contributor

Choose a reason for hiding this comment

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

it seems like so many changes, I'm guessing they are fine? (i don't seem to find any differences so far tabbing between this chromatic & a local one from main).

Here it seems active state is weaker on already weaker surfaces, and probably the intent right? 💭 (it makes sense to me to not have to jump to super high contrast for the active state if the current is very low contrast)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These changes are only affecting :active-state, so that we no longer "flip" the color, but rather keep it on moderate for active-state

Copy link
Contributor

Choose a reason for hiding this comment

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

was almost all of this unused / not needed? 🙈

Copy link
Contributor

Choose a reason for hiding this comment

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

Think the buttons grew a little bit in height? Also really like the blue hover state > gray for the action variant 🎉 .

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes since we just use our own "Button" now, we can remove most of this ⚰️

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Buttons are now 48px, 32px and 24px. So atleast matches what they should have been now 🤞

@KenAJoh KenAJoh merged commit 75d2f7a into main Feb 4, 2025
6 checks passed
@KenAJoh KenAJoh deleted the darkside-QA-7 branch February 4, 2025 18:01
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.

3 participants