Skip to content

Commit

Permalink
Re-add overwrite of Primer accent-color with ours to ensure, that e.g…
Browse files Browse the repository at this point in the history
…. links have the correct color
  • Loading branch information
HDinger committed Mar 8, 2024
1 parent 82a4e2e commit e61d114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/views/custom_styles/_primer_color_mapping.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
configured design outside of high contrast mode */
[data-color-mode]:not([data-light-theme=light_high_contrast]) {
--color-accent-fg: var(--accent-color) !important;
--button-primary-bgColor-rest: var(--button--primary-background-color); !important;
--control-checked-bgColor-rest: var(--control-checked-color) !important;
--button-primary-bgColor-rest: var(--button--primary-background-color) !important;
--button-primary-bgColor-hover: var(--button--primary-background-hover-color) !important;
}
[data-light-theme=light_high_contrast]{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
:root {
--primary-button-color: var(--button-primary-bgColor-rest, var(--color-btn-primary-bg));
--primary-button-color--major1: #197032;
// TODO: Really?

--control-checked-color: var(--accent-color--major1);
//--control-checked-color: var(--control-checked-bgColor-rest, var(--color-accent-fg));
--control-checked-color--major1: var(--accent-color--major2);
--control-checked-color--minor1: var(--accent-color--minor1);

Expand Down

0 comments on commit e61d114

Please sign in to comment.