Skip to content

Commit 92f3a28

Browse files
author
AMJones
committed
Updated variable with !default.
1 parent 6326455 commit 92f3a28

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"css"
1313
],
1414
"homepage": "https://www.github.com/deviscoding/buttons",
15-
"version": "1.1.2",
15+
"version": "1.1.3",
1616
"authors": [
1717
{
1818
"name": "Aaron M Jones",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/deviscoding-buttons.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* DevIsCoding Buttons v1.1.2 (http://github.com/deviscoding/buttons)
2+
* DevIsCoding Buttons v1.1.3 (http://github.com/deviscoding/buttons)
33
* Inspiration from (https://getbootstrap.com) and (https://material.io/components/web/catalog/buttons)
44
* Licensed under MIT (https://github.com/strapless/buttons/blob/master/LICENSE)
55
*/
@@ -482,7 +482,7 @@
482482
}
483483

484484
.btn-default {
485-
background-color: white;
485+
background-color: #fff;
486486
color: #000;
487487
}
488488

dist/css/deviscoding-buttons.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/_buttons-variables.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ $btn-lg-padding-y: (space-y(lg) * 1rem) !default;
2323
$btn-lg-height: (($btn-lg-padding-y * 2) + $line-height-lg) !default;
2424

2525
// Colors
26-
$btn-dark-color: #000;
27-
$btn-light-color: #fff;
28-
$btn-default-color: gray(600);
29-
$btn-default-bg: color(white);
26+
$btn-dark-color: #000 !default;
27+
$btn-light-color: #fff !default;
28+
$btn-default-color: gray(600) !default;
29+
$btn-default-bg: #fff !default;
3030

3131
// Borders
3232
$btn-border-width: 0 !default;
33-
$btn-focus-width: 1px;
34-
$btn-border-radius: $border-radius-sm;
33+
$btn-focus-width: 1px !default;
34+
$btn-border-radius: $border-radius-sm !default;
3535

3636
// Other
3737
$btn-font-weight: if(variable-exists(font-weight-medium), $font-weight-medium, $font-weight-bold) !default;
3838
$btn-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
39-
$btn-raised-transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
39+
$btn-raised-transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1) !default;
4040
$btn-cursor: pointer !default;

0 commit comments

Comments
 (0)