FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Blue_300 & Purple_300 are too similar reordering for more contrast by AllenBW · Pull Request #2544 · patternfly/patternfly-react · GitHub

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .ts  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
      • multi-color-theme.ts
      • multi-color-theme.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ import { ColorTheme } from '../color-theme';
// The color order below improves the color contrast in unordered charts
// See https://github.com/patternfly/patternfly-next/issues/1551
const COLOR_SCALE = [
chart_color_blue_300.value,
chart_color_blue_100.value,
chart_color_gold_300.value,
chart_color_green_300.value,
chart_color_purple_300.value,
chart_color_orange_300.value,
chart_color_cyan_300.value,
chart_color_black_300.value,
chart_color_blue_100.value,
chart_color_blue_300.value,
chart_color_gold_500.value,
chart_color_green_100.value,
chart_color_purple_500.value,
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ import { ColorTheme } from '../color-theme';
// The color order below improves the color contrast in unordered charts
// See https://github.com/patternfly/patternfly-next/issues/1551
const COLOR_SCALE = [
chart_color_blue_300.value,
chart_color_blue_100.value,
chart_color_gold_300.value,
chart_color_green_300.value,
chart_color_purple_300.value,
chart_color_orange_300.value,
chart_color_cyan_300.value,
chart_color_black_300.value,
chart_color_blue_100.value,
chart_color_blue_300.value,
chart_color_gold_500.value,
chart_color_green_100.value,
chart_color_purple_500.value,
Expand Down

Back | FazBrowse Home | New Git URL