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

Add alpha data-vis colors #820

Merged
merged 14 commits into from
Mar 7, 2024
Merged

Add alpha data-vis colors #820

merged 14 commits into from
Mar 7, 2024

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Mar 4, 2024

Adds the first iteration of data-vis colors for internal testing

Copy link

changeset-bot bot commented Mar 4, 2024

🦋 Changeset detected

Latest commit: c24e40f

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

Copy link
Contributor

github-actions bot commented Mar 4, 2024

Variables changed
No variables changed

Copy link
Contributor

github-actions bot commented Mar 4, 2024

Design Token Diff

/css/functional/themes/dark-colorblind.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/dark-colorblind.css	2024-03-07 17:07:51.226326140 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #8b949e;
 --headerSearch-bgColor: #0d1117;
 --headerSearch-borderColor: #30363d;
+  --data-blue-color: #0576ff;
+  --data-auburn-color: #a86f6b;
+  --data-orange-color: #984b10;
+  --data-yellow-color: #895906;
+  --data-green-color: #2f6f37;
+  --data-teal-color: #106c70;
+  --data-purple-color: #975bf1;
+  --data-pink-color: #d34591;
+  --data-red-color: #eb3342;
+  --data-gray-color: #576270;
 --avatar-bgColor: #ffffff1a;
 --avatar-borderColor: #30363db3;
 --avatar-shadow: 0px 0px 0px 2px #0d1117;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #8b949e;
   --headerSearch-bgColor: #0d1117;
   --headerSearch-borderColor: #30363d;
+    --data-blue-color: #0576ff;
+    --data-auburn-color: #a86f6b;
+    --data-orange-color: #984b10;
+    --data-yellow-color: #895906;
+    --data-green-color: #2f6f37;
+    --data-teal-color: #106c70;
+    --data-purple-color: #975bf1;
+    --data-pink-color: #d34591;
+    --data-red-color: #eb3342;
+    --data-gray-color: #576270;
   --avatar-bgColor: #ffffff1a;
   --avatar-borderColor: #30363db3;
   --avatar-shadow: 0px 0px 0px 2px #0d1117;

/css/functional/themes/dark-dimmed.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/dark-dimmed.css	2024-03-07 17:07:50.482322433 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #768390;
 --headerSearch-bgColor: #22272e;
 --headerSearch-borderColor: #444c56;
+  --data-blue-color: #0576ff;
+  --data-auburn-color: #a86f6b;
+  --data-orange-color: #984b10;
+  --data-yellow-color: #895906;
+  --data-green-color: #2f6f37;
+  --data-teal-color: #106c70;
+  --data-purple-color: #975bf1;
+  --data-pink-color: #d34591;
+  --data-red-color: #eb3342;
+  --data-gray-color: #576270;
 --avatar-bgColor: #cdd9e51a;
 --avatar-borderColor: #444c56b3;
 --avatar-shadow: 0px 0px 0px 2px #22272e;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #768390;
   --headerSearch-bgColor: #22272e;
   --headerSearch-borderColor: #444c56;
+    --data-blue-color: #0576ff;
+    --data-auburn-color: #a86f6b;
+    --data-orange-color: #984b10;
+    --data-yellow-color: #895906;
+    --data-green-color: #2f6f37;
+    --data-teal-color: #106c70;
+    --data-purple-color: #975bf1;
+    --data-pink-color: #d34591;
+    --data-red-color: #eb3342;
+    --data-gray-color: #576270;
   --avatar-bgColor: #cdd9e51a;
   --avatar-borderColor: #444c56b3;
   --avatar-shadow: 0px 0px 0px 2px #22272e;

/css/functional/themes/dark-high-contrast.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/dark-high-contrast.css	2024-03-07 17:07:51.610328053 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #bdc4cc;
 --headerSearch-bgColor: #0a0c10;
 --headerSearch-borderColor: #525964;
+  --data-blue-color: #0576ff;
+  --data-auburn-color: #a86f6b;
+  --data-orange-color: #984b10;
+  --data-yellow-color: #895906;
+  --data-green-color: #2f6f37;
+  --data-teal-color: #106c70;
+  --data-purple-color: #975bf1;
+  --data-pink-color: #d34591;
+  --data-red-color: #eb3342;
+  --data-gray-color: #576270;
 --avatar-bgColor: #ffffff1a;
 --avatar-borderColor: #ffffffe6;
 --avatar-shadow: 0px 0px 0px 2px #0a0c10;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #bdc4cc;
   --headerSearch-bgColor: #0a0c10;
   --headerSearch-borderColor: #525964;
+    --data-blue-color: #0576ff;
+    --data-auburn-color: #a86f6b;
+    --data-orange-color: #984b10;
+    --data-yellow-color: #895906;
+    --data-green-color: #2f6f37;
+    --data-teal-color: #106c70;
+    --data-purple-color: #975bf1;
+    --data-pink-color: #d34591;
+    --data-red-color: #eb3342;
+    --data-gray-color: #576270;
   --avatar-bgColor: #ffffff1a;
   --avatar-borderColor: #ffffffe6;
   --avatar-shadow: 0px 0px 0px 2px #0a0c10;

/css/functional/themes/dark-tritanopia.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/dark-tritanopia.css	2024-03-07 17:07:50.854324286 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #8b949e;
 --headerSearch-bgColor: #0d1117;
 --headerSearch-borderColor: #30363d;
+  --data-blue-color: #0576ff;
+  --data-auburn-color: #a86f6b;
+  --data-orange-color: #984b10;
+  --data-yellow-color: #895906;
+  --data-green-color: #2f6f37;
+  --data-teal-color: #106c70;
+  --data-purple-color: #975bf1;
+  --data-pink-color: #d34591;
+  --data-red-color: #eb3342;
+  --data-gray-color: #576270;
 --avatar-bgColor: #ffffff1a;
 --avatar-borderColor: #30363db3;
 --avatar-shadow: 0px 0px 0px 2px #0d1117;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #8b949e;
   --headerSearch-bgColor: #0d1117;
   --headerSearch-borderColor: #30363d;
+    --data-blue-color: #0576ff;
+    --data-auburn-color: #a86f6b;
+    --data-orange-color: #984b10;
+    --data-yellow-color: #895906;
+    --data-green-color: #2f6f37;
+    --data-teal-color: #106c70;
+    --data-purple-color: #975bf1;
+    --data-pink-color: #d34591;
+    --data-red-color: #eb3342;
+    --data-gray-color: #576270;
   --avatar-bgColor: #ffffff1a;
   --avatar-borderColor: #30363db3;
   --avatar-shadow: 0px 0px 0px 2px #0d1117;

/css/functional/themes/dark.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/dark.css	2024-03-07 17:07:50.102320539 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #8b949e;
 --headerSearch-bgColor: #0d1117;
 --headerSearch-borderColor: #30363d;
+  --data-blue-color: #0576ff;
+  --data-auburn-color: #a86f6b;
+  --data-orange-color: #984b10;
+  --data-yellow-color: #895906;
+  --data-green-color: #2f6f37;
+  --data-teal-color: #106c70;
+  --data-purple-color: #975bf1;
+  --data-pink-color: #d34591;
+  --data-red-color: #eb3342;
+  --data-gray-color: #576270;
 --avatar-bgColor: #ffffff1a;
 --avatar-borderColor: #30363db3;
 --avatar-shadow: 0px 0px 0px 2px #0d1117;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #8b949e;
   --headerSearch-bgColor: #0d1117;
   --headerSearch-borderColor: #30363d;
+    --data-blue-color: #0576ff;
+    --data-auburn-color: #a86f6b;
+    --data-orange-color: #984b10;
+    --data-yellow-color: #895906;
+    --data-green-color: #2f6f37;
+    --data-teal-color: #106c70;
+    --data-purple-color: #975bf1;
+    --data-pink-color: #d34591;
+    --data-red-color: #eb3342;
+    --data-gray-color: #576270;
   --avatar-bgColor: #ffffff1a;
   --avatar-borderColor: #30363db3;
   --avatar-shadow: 0px 0px 0px 2px #0d1117;

/css/functional/themes/light-colorblind.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/light-colorblind.css	2024-03-07 17:07:49.290316493 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #57606a;
 --headerSearch-bgColor: #24292f;
 --headerSearch-borderColor: #57606a;
+  --data-blue-color: #006edb;
+  --data-auburn-color: #9d615c;
+  --data-orange-color: #eb670f;
+  --data-yellow-color: #b88700;
+  --data-green-color: #30a147;
+  --data-teal-color: #179b9b;
+  --data-purple-color: #894ceb;
+  --data-pink-color: #ce2c85;
+  --data-red-color: #df0c24;
+  --data-gray-color: #808fa3;
 --avatar-bgColor: #ffffff;
 --avatar-borderColor: #d0d7de;
 --avatar-shadow: 0px 0px 0px 2px #ffffffcc;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #57606a;
   --headerSearch-bgColor: #24292f;
   --headerSearch-borderColor: #57606a;
+    --data-blue-color: #006edb;
+    --data-auburn-color: #9d615c;
+    --data-orange-color: #eb670f;
+    --data-yellow-color: #b88700;
+    --data-green-color: #30a147;
+    --data-teal-color: #179b9b;
+    --data-purple-color: #894ceb;
+    --data-pink-color: #ce2c85;
+    --data-red-color: #df0c24;
+    --data-gray-color: #808fa3;
   --avatar-bgColor: #ffffff;
   --avatar-borderColor: #d0d7de;
   --avatar-shadow: 0px 0px 0px 2px #ffffffcc;

/css/functional/themes/light-high-contrast.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/light-high-contrast.css	2024-03-07 17:07:49.718318626 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #acb6c0;
 --headerSearch-bgColor: #0e1116;
 --headerSearch-borderColor: #4b535d;
+  --data-blue-color: #006edb;
+  --data-auburn-color: #9d615c;
+  --data-orange-color: #eb670f;
+  --data-yellow-color: #b88700;
+  --data-green-color: #30a147;
+  --data-teal-color: #179b9b;
+  --data-purple-color: #894ceb;
+  --data-pink-color: #ce2c85;
+  --data-red-color: #df0c24;
+  --data-gray-color: #808fa3;
 --avatar-bgColor: #ffffff;
 --avatar-borderColor: #20252c;
 --avatar-shadow: 0px 0px 0px 2px #ffffffcc;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #acb6c0;
   --headerSearch-bgColor: #0e1116;
   --headerSearch-borderColor: #4b535d;
+    --data-blue-color: #006edb;
+    --data-auburn-color: #9d615c;
+    --data-orange-color: #eb670f;
+    --data-yellow-color: #b88700;
+    --data-green-color: #30a147;
+    --data-teal-color: #179b9b;
+    --data-purple-color: #894ceb;
+    --data-pink-color: #ce2c85;
+    --data-red-color: #df0c24;
+    --data-gray-color: #808fa3;
   --avatar-bgColor: #ffffff;
   --avatar-borderColor: #20252c;
   --avatar-shadow: 0px 0px 0px 2px #ffffffcc;

/css/functional/themes/light-tritanopia.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/light-tritanopia.css	2024-03-07 17:07:48.874314420 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #57606a;
 --headerSearch-bgColor: #24292f;
 --headerSearch-borderColor: #57606a;
+  --data-blue-color: #006edb;
+  --data-auburn-color: #9d615c;
+  --data-orange-color: #eb670f;
+  --data-yellow-color: #b88700;
+  --data-green-color: #30a147;
+  --data-teal-color: #179b9b;
+  --data-purple-color: #894ceb;
+  --data-pink-color: #ce2c85;
+  --data-red-color: #df0c24;
+  --data-gray-color: #808fa3;
 --avatar-bgColor: #ffffff;
 --avatar-borderColor: #d0d7de;
 --avatar-shadow: 0px 0px 0px 2px #ffffffcc;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #57606a;
   --headerSearch-bgColor: #24292f;
   --headerSearch-borderColor: #57606a;
+    --data-blue-color: #006edb;
+    --data-auburn-color: #9d615c;
+    --data-orange-color: #eb670f;
+    --data-yellow-color: #b88700;
+    --data-green-color: #30a147;
+    --data-teal-color: #179b9b;
+    --data-purple-color: #894ceb;
+    --data-pink-color: #ce2c85;
+    --data-red-color: #df0c24;
+    --data-gray-color: #808fa3;
   --avatar-bgColor: #ffffff;
   --avatar-borderColor: #d0d7de;
   --avatar-shadow: 0px 0px 0px 2px #ffffffcc;

/css/functional/themes/light.css

+++ /home/runner/work/primitives/primitives/tokens-next-private/css/functional/themes/light.css	2024-03-07 17:07:48.374311927 +0000
@@ -42,6 +42,16 @@
 --header-borderColor-divider: #57606a;
 --headerSearch-bgColor: #24292f;
 --headerSearch-borderColor: #57606a;
+  --data-blue-color: #006edb;
+  --data-auburn-color: #9d615c;
+  --data-orange-color: #eb670f;
+  --data-yellow-color: #b88700;
+  --data-green-color: #30a147;
+  --data-teal-color: #179b9b;
+  --data-purple-color: #894ceb;
+  --data-pink-color: #ce2c85;
+  --data-red-color: #df0c24;
+  --data-gray-color: #808fa3;
 --avatar-bgColor: #ffffff;
 --avatar-borderColor: #d0d7de;
 --avatar-shadow: 0px 0px 0px 2px #ffffffcc;
@@ -453,6 +463,16 @@
   --header-borderColor-divider: #57606a;
   --headerSearch-bgColor: #24292f;
   --headerSearch-borderColor: #57606a;
+    --data-blue-color: #006edb;
+    --data-auburn-color: #9d615c;
+    --data-orange-color: #eb670f;
+    --data-yellow-color: #b88700;
+    --data-green-color: #30a147;
+    --data-teal-color: #179b9b;
+    --data-purple-color: #894ceb;
+    --data-pink-color: #ce2c85;
+    --data-red-color: #df0c24;
+    --data-gray-color: #808fa3;
   --avatar-bgColor: #ffffff;
   --avatar-borderColor: #d0d7de;
   --avatar-shadow: 0px 0px 0px 2px #ffffffcc;

@lukasoppermann
Copy link
Contributor

Hey @langermank,

there were actually a few things that needed fixing:

Once we remove the old tokens and everything is more clean, we can look into improving this so that we only define those themes once.

@github-actions github-actions bot temporarily deployed to storybook-preview March 6, 2024 01:56 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview March 6, 2024 01:57 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview March 6, 2024 01:58 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview March 7, 2024 00:55 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview March 7, 2024 01:14 Inactive
@langermank langermank added the update snapshots Update visual regression test snapshots label Mar 7, 2024
@github-actions github-actions bot removed the update snapshots Update visual regression test snapshots label Mar 7, 2024
@primer primer bot temporarily deployed to github-pages March 7, 2024 01:51 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview March 7, 2024 01:52 Inactive
@langermank langermank marked this pull request as ready for review March 7, 2024 17:06
@langermank langermank requested review from a team as code owners March 7, 2024 17:06
@github-actions github-actions bot temporarily deployed to storybook-preview March 7, 2024 17:09 Inactive
@langermank langermank merged commit f959cc7 into main Mar 7, 2024
26 checks passed
@langermank langermank deleted the data-vis-colors branch March 7, 2024 17:15
@primer primer bot mentioned this pull request Mar 7, 2024
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