Skip to content

Commit

Permalink
feat(colors): βœ¨πŸŒˆπŸ¦„ COMPLETE THE RAINBOW πŸ¦„πŸŒˆβœ¨
Browse files Browse the repository at this point in the history
  • Loading branch information
hduprat committed Jan 25, 2024
1 parent 308cfb4 commit 38a633e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/core/web-reporter-ui/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@
--bright-green: #00ff75;
--bright-magenta: #ff36af;
--bright-cyan: #00ffff;
--bright-orange: #ff9a00;
--bright-blue: #00b4ff;
--bright-red: #ff0000;
--bright-purple: #b400ff;

--bright-yellow-rgb: 255, 245, 0;
--bright-green-rgb: 0, 255, 117;
--bright-magenta-rgb: 255, 54, 175;
--bright-cyan-rgb: 0, 255, 255;
--bright-orange-rgb: 255, 154, 0;
--bright-blue-rgb: 0, 180, 255;
--bright-red-rgb: 255, 0, 0;
--bright-purple-rgb: 180, 0, 255;
}

[data-theme="bright-yellow"] {
Expand All @@ -34,6 +42,26 @@
--theme-color: #00ffff;
--theme-color-100: rgba(0, 255, 255, 0.13);
}

[data-theme="bright-orange"] {
--theme-color: #ff9a00;
--theme-color-100: rgba(255, 154, 0, 0.13);
}

[data-theme="bright-blue"] {
--theme-color: #00b4ff;
--theme-color-100: rgba(0, 180, 255, 0.13);
}

[data-theme="bright-red"] {
--theme-color: #ff0000;
--theme-color-100: rgba(255, 0, 0, 0.13);
}

[data-theme="bright-purple"] {
--theme-color: #b400ff;
--theme-color-100: rgba(180, 0, 255, 0.13);
}
}

@layer utilities {
Expand Down
4 changes: 4 additions & 0 deletions packages/core/web-reporter-ui/src/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ export const themeColors = [
"bright-green",
"bright-magenta",
"bright-cyan",
"bright-orange",
"bright-blue",
"bright-red",
"bright-purple",
] as const;
type ThemeColor = (typeof themeColors)[number];

Expand Down

0 comments on commit 38a633e

Please sign in to comment.