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

update(react-card): dark mode colors #992

Merged
merged 5 commits into from Aug 11, 2023
Merged

update(react-card): dark mode colors #992

merged 5 commits into from Aug 11, 2023

Conversation

pbortnick
Copy link
Contributor

@pbortnick pbortnick commented Aug 4, 2023

🎟️ Discussion
πŸ” Preview Link


Description

(EDIT By @EnMod:) This PR updates the colors of dark appearance <Card /> components to match our new spec, using new tokens. Prompted by a Vercel thread on using new colors for cards on an upcoming project (discussion thread linked above). Design has approved of the look/feel.

PR Checklist πŸš€

Items in this checklist may not may not apply to your PR, but please consider each item carefully.

  • Add Asana and Preview links above.
  • Conduct thorough self-review.
  • Add or update tests as appropriate.
  • Conduct reasonable cross browser testing for both compatibility and responsive behavior (We have a Sauce Labs account for this, if you don't have access, just ask!).
  • Conduct reasonable accessibility review (use the WAS as a guide or an axe browser plugin until we establish more formal checks).
  • Identify (in the description above) and document (add Asana tasks on this board) any technical debt that you're aware of, but are not addressing as part of this PR.

@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2023

πŸ¦‹ Changeset detected

Latest commit: b4b36c9

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

This PR includes changesets to release 2 packages
Name Type
@hashicorp/react-card Minor
@hashicorp/react-related-content 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

@vercel
Copy link

vercel bot commented Aug 4, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
react-components βœ… Ready (Inspect) Visit Preview πŸ’¬ 1 unresolved Aug 11, 2023 9:31pm

@pbortnick pbortnick added the release:canary Triggers a canary release for commits to this pull request label Aug 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

πŸ“¦ Canary Packages Published

Latest commit: b4b36c9

Published 2 packages

@hashicorp/react-card@0.13.0-canary-20230811213229

npm install @hashicorp/react-card@canary

@hashicorp/react-related-content@0.3.6-canary-20230811213229

npm install @hashicorp/react-related-content@canary

@EnMod EnMod marked this pull request as ready for review August 11, 2023 13:59
@EnMod EnMod requested review from a team and dstaley and removed request for a team August 11, 2023 14:08
Moving away from a 'expected token as variable, value as fallback' approach,
in favor of a 'value used directly, design token in comment' approach.

Ref:
https://hashicorp.slack.com/archives/C031LA4KS4S/p1691774993436509?thread_ts=1691762754.792629&cid=C031LA4KS4S
Copy link
Contributor

@dstaley dstaley left a comment

Choose a reason for hiding this comment

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

LGTM provided we adjust the changelog!

.changeset/dull-bottles-lay.md Outdated Show resolved Hide resolved
Co-authored-by: Dylan Staley <88163+dstaley@users.noreply.github.com>
@EnMod EnMod removed the release:canary Triggers a canary release for commits to this pull request label Aug 11, 2023
@EnMod EnMod merged commit 3959f8f into main Aug 11, 2023
6 of 7 checks passed
@EnMod EnMod deleted the pb.card/dark-mode-update branch August 11, 2023 21:39
@hashibot-web hashibot-web mentioned this pull request Aug 11, 2023
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.

None yet

3 participants