Skip to content

Commit

Permalink
change(colors): added backgroundColorSupplementary color variable
Browse files Browse the repository at this point in the history
- as defined in docusaurus our main bg color is white but we
  also have a supplementary bg color which is now set to F9F9F9
  as such we need to define this color as well
- use pure white for text color of themed content boxes
  • Loading branch information
ichim-david committed Oct 4, 2022
1 parent b7e6831 commit 1f5262a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions theme/themes/eea/extras/contentBox.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
--bg-color: transparent;
--border-color-secondary: #FFF;
--text-color: #FFF;
--text-color-primary: @grey-1;
--text-color-secondary: @grey-1;
--text-color-tertiary: @grey-1;
--text-color-hover: @grey-1;
--text-color-primary: #FFF;
--text-color-secondary: #FFF;
--text-color-tertiary: #FFF;
--text-color-hover: @backgroundColorSupplementary;
}
// inherit link
.content-box[class*="ary"] a:not(.ui, .item) {
Expand Down
4 changes: 3 additions & 1 deletion theme/themes/eea/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@
@borderColorSecondaryCSSVar: var(--border-color-secondary, @secondaryColor);
@borderColorTertiaryCSSVar: var(--border-color-tertiary, @tertiaryColor);
@contentAreaColor : @tertiaryColor;
@backgroundColor: @grey-1;
@backgroundColor: @grey-0;
@backgroundColorCSSVar: var(--bg-color, @backgroundColor);
@backgroundColorSupplementary: @grey-1;
@backgroundColorSupplementaryCSSVar: var(--bg-color-supplementary, @backgroundColorSupplementary);

/*-------------------
Paragraph
Expand Down

0 comments on commit 1f5262a

Please sign in to comment.