Browse Source

new version

master
Björn 5 years ago
parent
commit
0cc1ebbffa
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      package.json
  2. +1
    -1
      src/scss/_config.scss
  3. +2
    -2
      src/scss/functions/_zIndex.scss

+ 1
- 1
package.json View File

@ -1,6 +1,6 @@
{ {
"name": "crispy-boilerplate", "name": "crispy-boilerplate",
"version": "1.2.2",
"version": "1.2.3",
"description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions", "description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions",
"repository": { "repository": {
"type": "git", "type": "git",


+ 1
- 1
src/scss/_config.scss View File

@ -13,7 +13,7 @@ $crispy__font-family: Arial, Helvetica, Neue Helvetica, sans-serif !default;
$crispy__direction: ltr !default; $crispy__direction: ltr !default;
// spacing // spacing
$crispy__spacing: toEm(10px) !default;
$crispy__spacing: 10px !default;
$crispy__spacing__steps: 5 !default; $crispy__spacing__steps: 5 !default;
// colors // colors


+ 2
- 2
src/scss/functions/_zIndex.scss View File

@ -1,14 +1,14 @@
/** /**
* function: z-index * function: z-index
* *
* uses map $crispy__z-index to get value by key
* uses map $crispy__z-index to get value by key
* *
* @author Björn Hase * @author Björn Hase
* *
*/ */
@function zIndex($name) { @function zIndex($name) {
@if has-key($crispy__z-index, $name) {
@if map-has-key($crispy__z-index, $name) {
@return map-get($crispy__z-index, $name); @return map-get($crispy__z-index, $name);
} @else { } @else {
@warn 'There is no item "#{$name}" in this list; choose one of: #{$crispy__z-index}'; @warn 'There is no item "#{$name}" in this list; choose one of: #{$crispy__z-index}';


Loading…
Cancel
Save