Skip to content

Commit

Permalink
UI/setting mainbar colors (ILIAS-eLearning#8001)
Browse files Browse the repository at this point in the history
  • Loading branch information
catenglaender authored Aug 29, 2024
1 parent faceabc commit ea80fa7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
5 changes: 3 additions & 2 deletions templates/default/010-settings/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
@forward "./settings_typography";
@forward "./settings_borders";
@forward "./settings_button";
@forward "./settings_footer";
@forward "./settings_footer";
@forward "./settings_header";
@forward "./settings_layout";
@forward "./settings_mainbar";
@forward "./settings_media";
@forward "./settings_shadows";
@forward "./settings_shadows";
14 changes: 14 additions & 0 deletions templates/default/010-settings/_settings_mainbar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@use "./settings_color-palette" as s;

$il-mainbar-btn-color: s.$il-main-bg !default;
$il-mainbar-btn-bg-color: s.$il-neutral-color !default;

$il-mainbar-btn-color-hover: s.$il-neutral-color !default;
$il-mainbar-btn-bg-color-hover: s.$il-main-bg !default;

$il-mainbar-btn-color-engaged: s.$il-neutral-color !default;
$il-mainbar-btn-bg-color-engaged: s.$il-main-bg !default;

$il-mainbar-btn-icon-filter: brightness(0) invert(1) !default;
$il-mainbar-btn-hover-icon-filter: invert(50%) !default;
$il-mainbar-btn-engaged-icon-filter: invert(50%) !default;
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,7 @@
$il-mainbar-btn-padding: 0;
$il-mainbar-btn-label-icon-gap: $il-padding-xs-vertical;

$il-mainbar-btn-color: white;
$il-mainbar-btn-bg-color: $il-neutral-color;
$il-mainbar-btn-border-radius: null;

$il-mainbar-btn-color-hover: $il-neutral-color;
$il-mainbar-btn-bg-color-hover: $il-main-bg;

$il-mainbar-btn-color-engaged: $il-neutral-color;
$il-mainbar-btn-bg-color-engaged: $il-main-bg;

$il-mainbar-btn-icon-filter: brightness(0) invert(1);
$il-mainbar-btn-hover-icon-filter: invert(50%);
$il-mainbar-btn-engaged-icon-filter: invert(50%);
$il-mainbar-btn-border-radius: $il-border-radius-base;

$il-mainbar-btn-border: 1px solid $il-standard-page-border-light-color;
$il-mainbar-btn-label-size: $il-font-size-xsmall;
Expand Down
1 change: 1 addition & 0 deletions templates/default/delos.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea80fa7

Please sign in to comment.