Skip to content

Commit

Permalink
feat: increase priority of css variables
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Jan 8, 2025
1 parent 5ea34f3 commit 00b4090
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/core/src/global/global.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* We need to use `body` instead of `:root` because some components of Ionic are injected by demand, so we need to use it to override the variables of the components that are loaded later */

:root {
--ion-background-color: white;
--ion-font-family: var(--font-family);
Expand Down Expand Up @@ -108,7 +110,3 @@ Issue: https://github.com/ionic-team/ionic-framework/issues/27500
}
}
}

html.backdrop-no-scroll {
overflow: hidden;
}

0 comments on commit 00b4090

Please sign in to comment.