Skip to content

Commit

Permalink
style: expose checkbox-background-color variable to themes, default w…
Browse files Browse the repository at this point in the history
…hite
  • Loading branch information
jfmcquade committed Feb 20, 2024
1 parent 6f0dfd4 commit d830f61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@
@import "~nouislider/dist/nouislider.min.css";
@import "~swiper/swiper.min.css";

/* Ionic overrides */
/* Overrides for inoic components */
// Remove default underline from focused ion-input
ion-input {
--highlight-color-focused: none !important;
}
ion-checkbox {
--checkbox-background: var(--checkbox-background-color, white);
}

a {
word-break: break-word;
Expand Down
1 change: 1 addition & 0 deletions src/theme/themes/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
// radio-button-font-color: var(--ion-color-primary),
ion-item-background: var(--ion-color-gray-light),
// task-progress-bar-color: var(--ion-color-primary),
// checkbox-background-color: white,
);
@include utils.generateTheme($color-primary, $color-secondary, $page-background);
@each $name, $value in $variable-overrides {
Expand Down
1 change: 1 addition & 0 deletions src/theme/themes/pfr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
// radio-button-font-color: var(--ion-color-primary),
ion-item-background: var(--ion-color-gray-light),
// task-progress-bar-color: var(--ion-color-primary),
// checkbox-background-color: white,
);
@include utils.generateTheme($color-primary, $color-secondary, $page-background, $g: $green);
@each $name, $value in $variable-overrides {
Expand Down
1 change: 1 addition & 0 deletions src/theme/themes/professional.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
// radio-button-font-color: var(--ion-color-primary),
ion-item-background: var(--ion-color-gray-light),
task-progress-bar-color: var(--ion-color-green),
// checkbox-background-color: white
);
@include utils.generateTheme($color-primary, $color-secondary, $page-background);
@each $name, $value in $variable-overrides {
Expand Down

0 comments on commit d830f61

Please sign in to comment.