Ionic Theming with CSS Custom Properties: Keep Your Brand Consistent
Use Ionic's CSS custom properties instead of fragile CSS overrides to keep brand colors consistent across web, iOS and Android without coupling to component internals.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Ionic's CSS custom properties instead of fragile CSS overrides to keep brand colors consistent across web, iOS and Android without coupling to component internals.
Since Dart Sass 1.23, the @use rule loads stylesheets as namespaced modules, and Sass variables like $primary can be referenced through an alias such as t.$primary . The documented behavior for CSS custom properties is different: declarations like --primary are plain CSS rather than Sass variables, so they are not exposed through a module namespace and are n