Skip to content

Commit

Permalink
fix radio groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Leozard committed Jan 27, 2023
1 parent 6633854 commit 3e1f349
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
12 changes: 3 additions & 9 deletions lib/selectors/selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3785,21 +3785,15 @@ pre {
.replying-eZ7p5z {
@extend %replyingToIndicator !optional;
}
.item-2idW98 {
.item-1TA5qI {
@extend %radioItem !optional;
}
.radioBar-3w9XY- {
.radioBar-1XgZqD {
@extend %radioBar !optional;
}
.radioIconForeground-2BMavi {
.radioIconForeground-3wH3aU {
@extend %radioIconChecked !optional;
}
.radioText-3Mv1MY {
@extend %radioText !optional;
}
.info-2FZci4 {
@extend %radioInfo !optional;
}
.userSettingsVoice-1fEtsL {
@extend %userSettingsVoice !optional;
}
Expand Down
9 changes: 3 additions & 6 deletions src/general/radioGroup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,20 @@
%radioIconChecked {
color: #fff;
}
%radioText {
color: #fff;
}
}

// RADIO ACCENTS
%radioBar {
&[style*='--radio-bar-accent-color:hsl(139, calc(var(--saturation-factor, 1) * 47.3%)'] {
&[style*='--radio-bar-accent-color:var(--status-green-600)'] {
--radio-bar-accent-color: #43b581 !important;
}
&[style*='--radio-bar-accent-color:hsl(38, calc(var(--saturation-factor, 1) * 95.7%), 54.1%)'] {
&[style*='--radio-bar-accent-color:var(--status-yellow-560)'] {
--radio-bar-accent-color: #faa61a !important;
}
&[style*='--radio-bar-accent-color:hsl(21, calc(var(--saturation-factor, 1) * 90.7%), 57.6%)'] {
--radio-bar-accent-color: #e67727 !important;
}
&[style*='--radio-bar-accent-color:hsl(359, calc(var(--saturation-factor, 1) * 82.6%), 59.4%)'] {
&[style*='--radio-bar-accent-color:var(--status-red-500)'] {
--radio-bar-accent-color: #982929 !important;
}
}

0 comments on commit 3e1f349

Please sign in to comment.