fix(themes): use correct default app-direction

This commit is contained in:
Ionitron
2017-07-05 15:08:07 -04:00
parent 5503cd0794
commit 2df495b6e2
4 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
// Global app direction // Global app direction
$app-direction: null !default; $app-direction: ltr !default;
// Global font path // Global font path

View File

@ -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} {

View File

@ -12,7 +12,7 @@
// Global app direction // Global app direction
$app-direction: null !default; $app-direction: ltr !default;
// Global font path // Global font path

View File

@ -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} {