Skip to content

Commit

Permalink
NavBar: Fix Transparent background in list items (#3094)
Browse files Browse the repository at this point in the history
* set modus list bg

* update lint
  • Loading branch information
ElishaSamPeterPrabhu authored Jan 16, 2025
1 parent 1b0b0c0 commit 4129442
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stencil-workspace/src/components/modus-list/modus-list.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import './modus-list.vars';

ul {
background-color: $modus-list-bg;
border-radius: $rem-4px;
display: flex;
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$modus-list-bg: var(--modus-list-bg, #fff) !default;
6 changes: 6 additions & 0 deletions stencil-workspace/src/global/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
--modus-file-upload-dropzone-disabled-color: var(--modus-gray-6);
--modus-file-upload-dropzone-disabled-svg-color: var(--modus-gray-2);

// Modus-list
--modus-list-bg: var(--modus-white);

// Message
// Type - Info
--modus-message-info-bg: var(--modus-blue-pale);
Expand Down Expand Up @@ -643,6 +646,9 @@
--modus-file-upload-dropzone-error-border-color: var(--modus-red);
--modus-file-upload-dropzone-error-color: var(--modus-file-upload-dropzone-color);

// Modus-list
--modus-list-bg: var(--modus-gray-9);

// Message
// Type - Info
--modus-message-info-bg: #019aeb33;
Expand Down

0 comments on commit 4129442

Please sign in to comment.