Skip to content

Commit 9c5abce

Browse files
authored
Merge pull request #156 from jackdomleo7/v2.2.0
2 parents 5b8b126 + 2cb768f commit 9c5abce

28 files changed

Lines changed: 801 additions & 2903 deletions

.stylelintrc

Lines changed: 5 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,9 @@
11
{
2-
"defaultSeverity": "warning",
3-
"plugins": [
4-
"stylelint-scss"
5-
],
2+
"extends": "stylelint-config-standard-scss",
63
"rules": {
7-
"color-no-invalid-hex": true,
8-
"font-family-no-duplicate-names": true,
9-
"function-calc-no-invalid": true,
10-
"function-calc-no-unspaced-operator": true,
11-
"function-linear-gradient-no-nonstandard-direction": true,
12-
"string-no-newline": true,
13-
"unit-no-unknown": true,
14-
"property-no-unknown": true,
15-
"declaration-block-no-duplicate-properties": true,
16-
"declaration-block-no-shorthand-property-overrides": true,
17-
"block-no-empty": true,
18-
"selector-pseudo-class-no-unknown": true,
19-
"selector-pseudo-element-no-unknown": true,
20-
"selector-type-no-unknown": true,
21-
"media-feature-name-no-unknown": true,
22-
"comment-no-empty": true,
23-
"no-duplicate-at-import-rules": true,
24-
"no-duplicate-selectors": true,
25-
"no-empty-source": true,
26-
"no-extra-semicolons": true,
27-
"no-invalid-double-slash-comments": true,
28-
"color-named": "never",
29-
"function-url-no-scheme-relative": true,
30-
"unit-disallowed-list": ["pt", "pc", "cm", "mm", "in", "ex", "ch", "rad"],
31-
"shorthand-property-no-redundant-values": true,
32-
"declaration-block-single-line-max-declarations": 1,
33-
"selector-max-empty-lines": 0,
34-
"selector-max-id": 0,
35-
"no-unknown-animations": true,
36-
"color-hex-case": "lower",
37-
"color-hex-length": "short",
38-
"font-family-name-quotes": "always-where-recommended",
39-
"font-weight-notation": "numeric",
40-
"function-comma-newline-after": "never-multi-line",
41-
"function-comma-newline-before": "never-multi-line",
42-
"function-comma-space-after": "always",
43-
"function-comma-space-before": "never",
44-
"function-max-empty-lines": 0,
45-
"function-name-case": "lower",
46-
"function-parentheses-newline-inside": "never-multi-line",
47-
"function-parentheses-space-inside": "never",
48-
"function-url-quotes": "always",
49-
"function-whitespace-after": "always",
50-
"number-leading-zero": "always",
51-
"number-no-trailing-zeros": true,
52-
"length-zero-no-unit": true,
53-
"string-quotes": "double",
54-
"unit-case": "lower",
55-
"value-keyword-case": "lower",
56-
"property-case": "lower",
57-
"value-list-comma-newline-after": "never-multi-line",
58-
"value-list-comma-newline-before": "never-multi-line",
59-
"value-list-comma-space-after": "always",
60-
"value-list-comma-space-before": "never",
61-
"value-list-max-empty-lines": 0,
62-
"declaration-bang-space-after": "never",
63-
"declaration-bang-space-before": "always",
64-
"declaration-colon-space-after": "always",
65-
"declaration-colon-space-before": "never",
66-
"declaration-empty-line-before": "never",
67-
"declaration-block-semicolon-newline-after": "always",
68-
"declaration-block-semicolon-newline-before": "never-multi-line",
69-
"declaration-block-semicolon-space-before": "never",
70-
"declaration-block-trailing-semicolon": "always",
71-
"block-closing-brace-empty-line-before": "never",
72-
"block-closing-brace-newline-after": "always",
73-
"block-closing-brace-newline-before": "always",
74-
"block-opening-brace-newline-after": "always",
75-
"block-opening-brace-newline-before": "never-single-line",
76-
"block-opening-brace-space-before": "always",
77-
"selector-attribute-brackets-space-inside": "never",
78-
"selector-attribute-operator-space-after": "always",
79-
"selector-attribute-operator-space-before": "always",
80-
"selector-attribute-quotes": "always",
81-
"selector-combinator-space-after": "always",
82-
"selector-combinator-space-before": "always",
83-
"selector-descendant-combinator-no-non-space": true,
84-
"selector-pseudo-class-case": "lower",
85-
"selector-pseudo-class-parentheses-space-inside": "always",
86-
"selector-pseudo-element-case": "lower",
87-
"selector-pseudo-element-colon-notation": "double",
88-
"selector-type-case": "lower",
89-
"selector-list-comma-newline-after": "always",
90-
"selector-list-comma-newline-before": "never-multi-line",
91-
"selector-list-comma-space-before": "never",
92-
"rule-empty-line-before": [ "always-multi-line", {
93-
"except": ["first-nested", "after-single-line-comment"],
94-
"ignore": ["after-comment", "first-nested"]
95-
}],
96-
"media-feature-colon-space-after": "always",
97-
"media-feature-colon-space-before": "never",
98-
"media-feature-name-case": "lower",
99-
"media-feature-parentheses-space-inside": "never",
100-
"media-feature-range-operator-space-after": "always",
101-
"media-feature-range-operator-space-before": "always",
102-
"media-query-list-comma-newline-after": "always",
103-
"media-query-list-comma-newline-before": "never-multi-line",
104-
"media-query-list-comma-space-after": "always",
105-
"media-query-list-comma-space-before": "never",
106-
"at-rule-empty-line-before": ["always", {
107-
"except": ["after-same-name", "inside-block", "first-nested"],
108-
"ignore": ["after-comment", "first-nested", "inside-block"],
109-
"ignoreAtRules": ["mixin"]
110-
}],
111-
"at-rule-name-case": "lower",
112-
"at-rule-name-space-after": "always",
113-
"at-rule-semicolon-newline-after": "always",
114-
"at-rule-semicolon-space-before": "never",
115-
"comment-whitespace-inside": "always",
116-
"indentation": 2,
117-
"max-empty-lines": 2,
118-
"no-eol-whitespace": true,
119-
"no-missing-end-of-source-newline": true,
120-
"no-empty-first-line": true,
121-
"scss/at-import-no-partial-leading-underscore": true,
122-
"scss/at-rule-no-unknown": true,
123-
"scss/dollar-variable-colon-space-after": "always",
124-
"scss/dollar-variable-colon-space-before": "never",
125-
"scss/declaration-nested-properties": "never",
126-
"scss/selector-no-redundant-nesting-selector": true,
127-
"scss/no-duplicate-dollar-variables": true
4+
"max-line-length": 500,
5+
"scss/at-mixin-pattern": "(^[a-z]|[A-Z0-9])[a-z]*",
6+
"scss/dollar-variable-pattern": "(^[a-z]|[A-Z0-9])[a-z]*",
7+
"scss/percent-placeholder-pattern": "(^[a-z]|[A-Z0-9])[a-z]*"
1288
}
1299
}

checka11y-errors.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ a[href]:not([aria-label]):not([aria-labelledby]):empty::after {
512512
background-color: var(--checka11y-bg-error);
513513
}
514514

515-
ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(template)::after {
515+
dl > *:not(dt):not(dd)::after {
516516
display: block;
517517
font-size: 1rem;
518518
font-family: verdana, geneva, tahoma, sans-serif;
@@ -524,13 +524,13 @@ ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(
524524
text-decoration: none;
525525
text-transform: initial;
526526
text-shadow: none;
527-
content: "ERROR (E0011): List markup invalid. Ensure <li>, <script> or <template> are the only direct children of <ul> or <ol>." !important;
527+
content: "ERROR (E0012): List markup invalid. Ensure that the only direct children of <dl> are <dt> and <dd>." !important;
528528
color: var(--checka11y-text-error);
529529
border: 0.4rem solid var(--checka11y-border-error);
530530
background-color: var(--checka11y-bg-error);
531531
}
532532

533-
dl > *:not(dt):not(dd)::after {
533+
ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(template)::after {
534534
display: block;
535535
font-size: 1rem;
536536
font-family: verdana, geneva, tahoma, sans-serif;
@@ -542,7 +542,7 @@ dl > *:not(dt):not(dd)::after {
542542
text-decoration: none;
543543
text-transform: initial;
544544
text-shadow: none;
545-
content: "ERROR (E0012): List markup invalid. Ensure that the only direct children of <dl> are <dt> and <dd>." !important;
545+
content: "ERROR (E0011): List markup invalid. Ensure <li>, <script> or <template> are the only direct children of <ul> or <ol>." !important;
546546
color: var(--checka11y-text-error);
547547
border: 0.4rem solid var(--checka11y-border-error);
548548
background-color: var(--checka11y-bg-error);

checka11y-errors.min.css

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

checka11y.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ a[href]:not([aria-label]):not([aria-labelledby]):empty::after {
797797
background-color: var(--checka11y-bg-error);
798798
}
799799

800-
ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(template)::after {
800+
dl > *:not(dt):not(dd)::after {
801801
display: block;
802802
font-size: 1rem;
803803
font-family: verdana, geneva, tahoma, sans-serif;
@@ -809,13 +809,13 @@ ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(
809809
text-decoration: none;
810810
text-transform: initial;
811811
text-shadow: none;
812-
content: "ERROR (E0011): List markup invalid. Ensure <li>, <script> or <template> are the only direct children of <ul> or <ol>." !important;
812+
content: "ERROR (E0012): List markup invalid. Ensure that the only direct children of <dl> are <dt> and <dd>." !important;
813813
color: var(--checka11y-text-error);
814814
border: 0.4rem solid var(--checka11y-border-error);
815815
background-color: var(--checka11y-bg-error);
816816
}
817817

818-
dl > *:not(dt):not(dd)::after {
818+
ol > *:not(li):not(script):not(template)::after, ul > *:not(li):not(script):not(template)::after {
819819
display: block;
820820
font-size: 1rem;
821821
font-family: verdana, geneva, tahoma, sans-serif;
@@ -827,7 +827,7 @@ dl > *:not(dt):not(dd)::after {
827827
text-decoration: none;
828828
text-transform: initial;
829829
text-shadow: none;
830-
content: "ERROR (E0012): List markup invalid. Ensure that the only direct children of <dl> are <dt> and <dd>." !important;
830+
content: "ERROR (E0011): List markup invalid. Ensure <li>, <script> or <template> are the only direct children of <ul> or <ol>." !important;
831831
color: var(--checka11y-text-error);
832832
border: 0.4rem solid var(--checka11y-border-error);
833833
background-color: var(--checka11y-bg-error);

checka11y.min.css

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

0 commit comments

Comments
 (0)