mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(sass): change map-get to use color function in default themes
references #5445
This commit is contained in:
@ -17,7 +17,7 @@ $colors: (
|
||||
|
||||
$text-color: #fff !default;
|
||||
$paragraph-color: $text-color !default;
|
||||
$link-color: map-get($colors, primary) !default;
|
||||
$link-color: color($colors, primary) !default;
|
||||
$background-color: #191919 !default;
|
||||
$subdued-text-color: #666 !default;
|
||||
|
||||
@ -28,7 +28,7 @@ $content-padding: 16px !default;
|
||||
$content-margin: 16px !default;
|
||||
|
||||
$toolbar-background: #151515 !default;
|
||||
$toolbar-border-color: map-get($colors, dark) !default;
|
||||
$toolbar-border-color: color($colors, dark) !default;
|
||||
$toolbar-text-color: $text-color !default;
|
||||
$toolbar-active-color: $link-color !default;
|
||||
$toolbar-inactive-color: #8c8c8c !default;
|
||||
|
@ -17,7 +17,7 @@ $colors: (
|
||||
|
||||
$text-color: #000 !default;
|
||||
$paragraph-color: $text-color !default;
|
||||
$link-color: map-get($colors, primary) !default;
|
||||
$link-color: color($colors, primary) !default;
|
||||
$background-color: #fff !default;
|
||||
$subdued-text-color: #666 !default;
|
||||
|
||||
|
Reference in New Issue
Block a user