diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-04 18:50:49 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-07-19 08:16:59 +0200 |
commit | 14bc9ffda4cdf42b047725b581d6a1129eb70a5b (patch) | |
tree | db66da19c289ccfcdb3d057403ec0ce3cec6a57a /core | |
parent | 59db5250f9b31aced92b88dcfe1024b8a6303d50 (diff) | |
download | nextcloud-server-14bc9ffda4cdf42b047725b581d6a1129eb70a5b.tar.gz nextcloud-server-14bc9ffda4cdf42b047725b581d6a1129eb70a5b.zip |
Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/functions.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/css/functions.scss b/core/css/functions.scss index 19792456edd..6cfad2c7ebb 100644 --- a/core/css/functions.scss +++ b/core/css/functions.scss @@ -32,9 +32,10 @@ */ @mixin icon-color($icon, $dir, $color, $core: false) { // remove # from color - $index: str-index($color, '#'); + // inspect cast int to string + $index: str-index(inspect($color), '#'); @if $index { - $color: str-slice($color, 2); + $color: str-slice(inspect($color), 2); } $varName: "--icon-#{$icon}-#{$color}"; @if $core { |