Skip to content

Commit

Permalink
style: adjusting dark theme in sidebar and triple toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
larissa-kamily-brisa committed Jan 9, 2025
1 parent 460b5b2 commit af1b36e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/ion/src/lib/triple-toggle/_triple-toggle.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ $default: (
border-color: transparent,
text-color: ion-theme(primary-6),
disabled-color: ion-theme(neutral-1),
disabled-text-color: ion-theme(neutral-5),
disabled-bg-color: ion-theme(neutral-5),
disabled-border-color: ion-theme(neutral-3),
),
secondary: (
border: ion-theme(neutral-4),
Expand All @@ -24,6 +25,7 @@ $dark: (
text-color: ion-theme(neutral-1),
disabled-color: ion-theme(neutral-3),
disabled-bg-color: ion-theme(neutral-6),
disabled-border-color: ion-theme(neutral-3),
),
secondary: (
border: ion-theme(primary-3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@
ion-button ::ng-deep {
.ion-btn-primary {
border: 1px solid ion-theme(triple-toggle-primary-border-color);

&:disabled {
background-color: ion-theme(
triple-toggle-primary-disabled-bg-color
) !important;

border: 1px solid ion-theme(triple-toggle-primary-disabled-border-color);

color: ion-theme(triple-toggle-primary-disabled-color) !important;
}
}
Expand Down

0 comments on commit af1b36e

Please sign in to comment.