mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(themes): use correct default app-direction
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Global app direction
|
// Global app direction
|
||||||
$app-direction: null !default;
|
$app-direction: ltr !default;
|
||||||
|
|
||||||
|
|
||||||
// Global font path
|
// Global font path
|
||||||
|
@ -156,7 +156,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin multi-dir() {
|
@mixin multi-dir() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="ltr"], [dir="rtl"] {
|
@at-root [dir="ltr"], [dir="rtl"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
@ -169,7 +169,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin rtl() {
|
@mixin rtl() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="rtl"] {
|
@at-root [dir="rtl"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
@ -182,7 +182,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin ltr() {
|
@mixin ltr() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="ltr"] {
|
@at-root [dir="ltr"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Global app direction
|
// Global app direction
|
||||||
$app-direction: null !default;
|
$app-direction: ltr !default;
|
||||||
|
|
||||||
|
|
||||||
// Global font path
|
// Global font path
|
||||||
|
@ -156,7 +156,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin multi-dir() {
|
@mixin multi-dir() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="ltr"], [dir="rtl"] {
|
@at-root [dir="ltr"], [dir="rtl"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
@ -169,7 +169,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin rtl() {
|
@mixin rtl() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="rtl"] {
|
@at-root [dir="rtl"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
@ -182,7 +182,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin ltr() {
|
@mixin ltr() {
|
||||||
@if $app-direction == null {
|
@if $app-direction == multi {
|
||||||
$root: #{&};
|
$root: #{&};
|
||||||
@at-root [dir="ltr"] {
|
@at-root [dir="ltr"] {
|
||||||
#{$root} {
|
#{$root} {
|
||||||
|
Reference in New Issue
Block a user