mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(sass): change order of Sass imports to use global vars
This allows us to use the variables in ionic.theme.default without having to import it. This new order is consistent with how the mode specific globals already work.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
@import "../../themes/ionic.theme.default";
|
@import "../../themes/ionic.globals";
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../themes/ionic.theme.default";
|
@import "../../themes/ionic.globals";
|
||||||
|
|
||||||
// Item Sliding
|
// Item Sliding
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
@import "../../themes/ionic.globals";
|
@import "../../themes/ionic.globals";
|
||||||
@import "../../themes/ionic.theme.default";
|
|
||||||
|
|
||||||
|
|
||||||
// List
|
// List
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
// Global Mixins
|
// Global Mixins
|
||||||
@import "./ionic.mixins";
|
@import "./ionic.mixins";
|
||||||
|
|
||||||
|
// Default Theme
|
||||||
|
@import "./ionic.theme.default";
|
||||||
|
|
||||||
// Global app direction
|
// Global app direction
|
||||||
$app-direction: ltr !default;
|
$app-direction: ltr !default;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
@import "./ionic.theme.default";
|
|
||||||
|
|
||||||
|
|
||||||
// iOS General Colors
|
// iOS General Colors
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
@import "./ionic.theme.default";
|
|
||||||
|
|
||||||
// Material Design Default Theme
|
// Material Design Default Theme
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
|
|
||||||
// Material Design General
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Material Design General Colors
|
// Material Design General Colors
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
$backdrop-md-color: $backdrop-color !default;
|
$backdrop-md-color: $backdrop-color !default;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
@import "./ionic.globals";
|
|
||||||
|
|
||||||
// Default Foreground and Background Colors values
|
// Default Foreground and Background Colors values
|
||||||
// Allows users to override an foreground / background colors
|
// Allows users to override an foreground / background colors
|
||||||
// TODO: @color-mod: remove all this
|
// TODO: @color-mod: remove all this
|
||||||
|
Reference in New Issue
Block a user