Skip to content

Commit

Permalink
change(colors): added backgroundColor color variable
Browse files Browse the repository at this point in the history
- use css variant of background color within the table
  hover color so that we can remove it on content boxes
- set bg color also for tertiary color within content box
  with a theme
  • Loading branch information
ichim-david committed Oct 4, 2022
1 parent 6590baf commit b7e6831
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theme/themes/eea/collections/table.variables
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*******************************
Table
*******************************/
@tableHoverBackgroundColor: #F9F9F9;
@tableHoverBackgroundColor: @backgroundColorCSSVar;

/*-------------------
Element
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/contentBox.less
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
--text-color: #FFF;
--text-color-primary: @grey-1;
--text-color-secondary: @grey-1;
--text-color-tertiary: @grey-1;
--text-color-hover: @grey-1;
}
// inherit link
Expand Down
2 changes: 2 additions & 0 deletions theme/themes/eea/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@
@borderColorSecondaryCSSVar: var(--border-color-secondary, @secondaryColor);
@borderColorTertiaryCSSVar: var(--border-color-tertiary, @tertiaryColor);
@contentAreaColor : @tertiaryColor;
@backgroundColor: @grey-1;
@backgroundColorCSSVar: var(--bg-color, @backgroundColor);

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

0 comments on commit b7e6831

Please sign in to comment.