Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit ccc4bf9

Browse files
committed
Buttons: Fixing css linting breaking the build
1 parent 5c0a7ec commit ccc4bf9

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.csslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"box-sizing": false,
55
"compatible-vendor-prefixes": false,
66
"duplicate-background-images": false,
7+
"font-sizes": false,
78
"import": false,
89
"important": false,
910
"outline-none": false,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"maintainers": [
1111
{
1212
"name": "Sarah Frisk",
13-
"email": "sarah@sarahfrisk.net",
14-
"url": "http://sarahfrisk.net"
13+
"email": "sarah@sarahfrisk.com",
14+
"url": "http://sarahfrisk.com"
1515
},
1616
{
1717
"name": "Alexander Schmitz",

scss/atoms/buttons/_mixins.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@
3636
&:disabled {
3737
@include ui-button-state-disabled($color, $bgcolor);
3838
}
39-
&[aria-disabled="true"] {
40-
@include ui-button-state-disabled($color, $bgcolor);
41-
}
39+
/**
40+
* This triggers 'unqualified-attributes' in csslint
41+
* &[aria-disabled="true"] {
42+
* @include ui-button-state-disabled($color, $bgcolor);
43+
* }
44+
**/
4245
}
4346

4447
@mixin ui-button-state-default($color, $bgcolor) {

scss/style.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
@import
99
"atoms/icons/icons",
10-
"atoms/typography/typography";
10+
"atoms/typography/typography",
11+
"atoms/buttons/buttons";
1112

1213
@import
1314
"views/main";

0 commit comments

Comments
 (0)