Skip to content

Commit

Permalink
Fix: another round of tnixc's bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicAven committed Oct 25, 2023
1 parent 23af2d3 commit eaabbc4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
11 changes: 9 additions & 2 deletions src/components/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@
// reactions
[id^="message-reactions"] {
div[class^="reaction"] {
background-color: $surface0;
&:hover {
background-color: var(--brand-experiment-20a);
border-color: var(--brand-experiment-30a);
}

div[class^="reactionInner"] {
border-radius: 0.4rem;
}
}
}
// Super reactions and beta badge
Expand Down Expand Up @@ -244,6 +247,10 @@ div[class^="chat"] > div[class^="content"] > div[class^="container"] {
background-color: $base;
}

// Help keys
div[class^="matchingPostsRow"] span[class^="key"] {
color: $crust !important;
}
// forum icons
div[class^="pinIcon"],
div[class^="stepStatus"] {
Expand Down Expand Up @@ -327,7 +334,7 @@ div[class^="chat"]
// Threads header icon
div[class^="messagesWrapper"]
ol[class^="scrollerInner"]
div[class^="container"]
div[class^="container"]:not([class*="cozy"])
div[class^="iconWrapper"] {
background-color: $brand;
svg[class^="icon"] {
Expand Down
27 changes: 27 additions & 0 deletions src/components/_popouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,11 @@ div[class*="cardWarning_"] div[class*="warning_"] {
}
}

// Reaction button for forum channels
button#reaction-picker-tab div[class^="contents"] {
color: $crust;
}

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

Expand Down Expand Up @@ -681,3 +686,25 @@ div[class^="keyboardShortcutsModal"] span[class^="key"] {
fill: $crust !important;
}
}

// Server tooltips
[class*="disabledPointerEvents"] {
--background-floating: #{$surface0};
--background-tertiary: #{lighten($base, 3%)};

svg[class^="activityIcon"] {
color: $subtext0;
}

[class*="tooltipBrand_"] {
[class*="tooltipText_"] {
color: $crust;
}
}

div[class^="flowerStarContainer"] {
div[class^="childContainer"] svg path {
fill: $crust !important;
}
}
}
17 changes: 1 addition & 16 deletions src/components/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ html {
// update discord icon
--status-green-560: #{$green};

--white-400: #{$text};
--white-500: #{$text};

--guild-boosting-pink: #{$pink};
Expand Down Expand Up @@ -283,22 +284,6 @@ html {
--interactive-muted: #{adjust-color($text, $alpha: -0.7)};
--interactive-hover: #{$text};
--interactive-active: #{$text};

// make tooltips that you can't hover surface0
[class*="disabledPointerEvents"] {
--background-floating: #{$surface0};
--background-tertiary: #{lighten($base, 3%)};

svg[class^="activityIcon"] {
color: $subtext0;
}

[class*="tooltipBrand_"] {
[class*="tooltipText_"] {
color: $crust;
}
}
}
}

::selection {
Expand Down

0 comments on commit eaabbc4

Please sign in to comment.