diff options
Diffstat (limited to 'simplex')
-rw-r--r-- | simplex/_bootswatch.scss | 7 | ||||
-rw-r--r-- | simplex/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/simplex/_bootswatch.scss b/simplex/_bootswatch.scss index c79b9caf..7bc6e44a 100644 --- a/simplex/_bootswatch.scss +++ b/simplex/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700"); +$web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400,700" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); @mixin btn-shadow($color){ @include gradient-vertical-three-colors(lighten($color, 3%), $color, 6%, darken($color, 3%)); diff --git a/simplex/bootswatch.less b/simplex/bootswatch.less index 92114915..38dab1ba 100644 --- a/simplex/bootswatch.less +++ b/simplex/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700"); +@web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400,700"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); .btn-shadow(@color) { #gradient > .vertical-three-colors(lighten(@color, 3%), @color, 6%, darken(@color, 3%)); |