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

Improve diff-blob-expander icon (follow-up) #281

Merged
merged 4 commits into from
Dec 2, 2021
Merged

Improve diff-blob-expander icon (follow-up) #281

merged 4 commits into from
Dec 2, 2021

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Dec 1, 2021

Follow-up to #280.

For LHC, we actually want to change the background and not the icon color, see https://github.com/github/design-infrastructure/discussions/1439#discussioncomment-1721488. So this PR:

  • Reverts changing the icon color a65bb0f
  • But use fg.default for the icon in DHC 7512227 because we will be using --color-diff-blob-hunk-num-bg on dotcom which is quite dark.

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2021

🦋 Changeset detected

Latest commit: 6a0885e

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

This PR includes changesets to release 1 package
Name Type
@primer/primitives 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 Dec 1, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primitives/7eDuzaZ9Ara3ffmrWsKNxkekfx7B
✅ Preview: https://primitives-git-diff-expander-primer.vercel.app

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2021

Variables changed
--- base/dist/scss/colors/_dark_high_contrast.scss	2021-12-01 08:02:35.004037363 +0000
+++ dist/scss/colors/_dark_high_contrast.scss	2021-12-01 08:02:21.628048901 +0000
@@ -16,3 +16,3 @@
     --color-diff-blob-hunk-num-bg: rgba(64,158,255,0.4);
-    --color-diff-blob-expander-icon: #0a0c10;
+    --color-diff-blob-expander-icon: #f0f3f6;
     --color-diff-blob-selected-line-highlight-mix-blend-mode: screen;
--- base/dist/scss/colors/_light_high_contrast.scss	2021-12-01 08:02:34.976037387 +0000
+++ dist/scss/colors/_light_high_contrast.scss	2021-12-01 08:02:21.596048929 +0000
@@ -16,3 +16,3 @@
     --color-diff-blob-hunk-num-bg: #9cd7ff;
-    --color-diff-blob-expander-icon: #ffffff;
+    --color-diff-blob-expander-icon: #0E1116;
     --color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;

@simurai simurai marked this pull request as ready for review December 1, 2021 08:00
@simurai simurai requested a review from a team as a code owner December 1, 2021 08:00
@simurai simurai requested review from a team, jonrohan and siddharthkp December 1, 2021 08:00
@simurai simurai changed the title Improve diff-blob-expander Improve diff-blob-expander icon (follow-up) Dec 1, 2021
Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Makes a lot of sense!

@simurai simurai merged commit 8da4db2 into main Dec 2, 2021
@simurai simurai deleted the diff-expander branch December 2, 2021 06:32
@primer-css primer-css mentioned this pull request Dec 2, 2021
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