Skip to content

Commit

Permalink
Fix: Theme channels & roles (#314)
Browse files Browse the repository at this point in the history
* Fix: Theme channels & roles

* theme channels and roles

* theme channels & roles bg

* fix variable
  • Loading branch information
DokterKaj authored Sep 13, 2024
1 parent 80c0fcb commit e14e442
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 30 deletions.
62 changes: 32 additions & 30 deletions src/components/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -549,43 +549,45 @@ div[class*="giftCodeContainer"] [class*="tile"] {

// channels & roles
div[class*="chat_"] {
// header
section[class*="header_"] {
background-color: $mantle;
}

div[class*="content_"][class*="container_"] {
background-color: $mantle;

div[class*="container"] {
background-color: $mantle;
}

div[class*="search_"] {
background-color: $base !important;

input::placeholder {
color: $overlay0;
// customise
div[class^="profileCard_"] {
background-color: $surface0;
div[class^="role_"] {
background-color: $mantle;
}
}

div[class*="browser"] {
div[class*="content"] div[class^="container"] {
background-color: $base;
div[class^="prompt_"] {
background-color: $surface0;
div[class^="optionButtonWrapper_"][class*="selected_"] {
background-color: $mantle;
border-color: $mantle;
}
}

div[class*="scrollerContainer_"] {
background-color: $mantle;

div[class*="checkIcon_"][style*="opacity: 1;"] > svg > path {
fill: $crust;
div[class^="select_"] {
div[class$="control"] {
background-color: $mantle;
border-color: $mantle;
div[class^="selectValuePill_"] {
background-color: $surface0;
}
}
div[class$="menu"] {
background-color: $base;
border-color: $mantle;
}
}
}

div[role="tablist"] {
background-color: $mantle;
border-bottom: 2px solid $surface0;

// channels
div[class*="search_"] input::placeholder {
color: $overlay1;
}
div[class^="channelRow_"] {
background-color: $surface0;
&:hover:not([class*="disabled_"]) {
background-color: $base;
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/components/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ html {
--bg-base-secondary: #{$mantle};
--bg-surface-raised: #{$base};

--home-background: #{$base};
--chat-background: #{$base};
--chat-border: #{$crust};
--chat-input-container-background: #{$base};
Expand Down

0 comments on commit e14e442

Please sign in to comment.