Skip to content

Commit 8a35f11

Browse files
committed
8.0.0
1 parent 849e4ad commit 8a35f11

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changes to sanitize.css
22

3+
### 8.0.0 (October 8, 2018)
4+
5+
- Changed: Apply `aria-disabled` disabled styles when `[aria-disabled="true"]`
6+
- Changed: Apply `svg { fill: currentColor }` when `svg:not([fill])`
7+
- Fixed: Apply appropriate system font fallbacks for KDE Plasma
8+
39
### 7.0.3 (September 4, 2018)
410

511
- Fix disabled cursor

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ html {
102102
/* Android 4+ */ Roboto,
103103
/* Ubuntu 10.10+ */ Ubuntu,
104104
/* Gnome 3+ */ Cantarell,
105-
/* KDE Plasma 4+ */ Oxygen,
105+
/* KDE Plasma 5+ */ Noto Sans,
106106
/* fallback */ sans-serif,
107107
/* macOS emoji */ "Apple Color Emoji",
108108
/* Windows emoji */ "Segoe UI Emoji",
@@ -180,7 +180,7 @@ audio, canvas, iframe, img, svg, video {
180180
##### SVGs fallback to the current text color
181181

182182
```css
183-
svg {
183+
svg:not([fill]) {
184184
fill: currentColor;
185185
}
186186
```
@@ -231,7 +231,7 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
231231
cursor: pointer;
232232
}
233233

234-
[aria-disabled], [disabled] {
234+
[aria-disabled="true"], [disabled] {
235235
cursor: default;
236236
}
237237
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sanitize.css",
3-
"version": "7.0.3",
3+
"version": "8.0.0",
44
"description": "A best-practices CSS foundation",
55
"author": "Jonathan Neal <[email protected]>",
66
"contributors": [
@@ -21,7 +21,7 @@
2121
"test": "stylelint sanitize.css"
2222
},
2323
"devDependencies": {
24-
"stylelint": "^9.5.0",
24+
"stylelint": "^9.6.0",
2525
"stylelint-config-standard": "^18.2.0"
2626
},
2727
"stylelint": {

0 commit comments

Comments
 (0)