Skip to content

Commit

Permalink
Merge pull request #282 from Nazin/master
Browse files Browse the repository at this point in the history
Added !default to variables to fully utilize scss
  • Loading branch information
yairEO committed Aug 5, 2019
2 parents 75c9bd2 + 164fc84 commit 70f5eba
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/tagify.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.tagify{
$self: &;
$tags-border-color : #DDD;
$tags-hover-border-color : #CCC;
$tags-focus-border-color : #85C8EA;

$tagMargin : 5px;
$tagPad : .3em .5em;
$tag-text-color : black;
$tag-bg : #E5E5E5;
$tag-hover : #D3E2E2;
$tag-remove : #D39494;
$invalid-input-color : $tag-remove;
$showX : true;
$tags-border-color : #DDD !default;
$tags-hover-border-color : #CCC !default;
$tags-focus-border-color : #85C8EA !default;

$tagMargin : 5px !default;
$tagPad : .3em .5em !default;
$tag-text-color : black !default;
$tag-bg : #E5E5E5 !default;
$tag-hover : #D3E2E2 !default;
$tag-remove : #D39494 !default;
$invalid-input-color : $tag-remove !default;
$showX : true !default;

// CSS variables
--tag-bg : #{$tag-bg};
Expand Down

0 comments on commit 70f5eba

Please sign in to comment.