Skip to content

Commit a9b36ec

Browse files
- We added .theme04 and .theme05 buttons.
- Changed the class .full-width to .btn-full so it matches buttons - Changed background to background-color in .btn
1 parent 4b001e1 commit a9b36ec

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "castlecss-buttons",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Button files for CastleCSS",
55
"main": "index.js",
66
"scripts": {

sass/components/buttons.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
text-align: center;
1010
text-decoration: none;
1111
cursor: pointer;
12-
background: $theme01; color: $color01;
12+
background-color: $theme01; color: $color01;
1313
border: none; /* necessary for type button */
1414
transition: all .2s ease-out;
1515
border-radius: $radius;
@@ -34,7 +34,17 @@
3434
background-color: $theme03;
3535
color: $color01;
3636
}
37-
.full-width {
37+
.btn-theme04 {
38+
@extend .btn;
39+
background-color: $theme04;
40+
color: $color01;
41+
}
42+
.btn-theme05 {
43+
@extend .btn;
44+
background-color: $theme05;
45+
color: $color02;
46+
}
47+
.btn-full {
3848
clear: both;
3949
width: 100%;
4050
}

0 commit comments

Comments
 (0)