Skip to content

Commit

Permalink
1.3.4
Browse files Browse the repository at this point in the history
- _total-reset.scss updates for svg. Added @namespace
  • Loading branch information
andreymatin committed May 2, 2023
1 parent ed59f71 commit 9c16d0a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# [1.3.4]

- _total-reset.scss updates for svg. Added @namespace

# [1.3.3]

- _total-reset.scss updates for svg and table
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ or
HTML snippet for Web Component integration

```html
<style>@import url("data:text/css;base64,OndoZXJlKDpub3QodGFibGUsdGhlYWQsdGJvZHksdHIsdGgsdGQsc3ZnKSl7YWxsOnVuc2V0O2JveC1zaXppbmc6Ym9yZGVyLWJveH06d2hlcmUoOm5vdCh0YWJsZSx0aGVhZCx0Ym9keSx0cix0aCx0ZCxzdmcpKTphZnRlciw6d2hlcmUoOm5vdCh0YWJsZSx0aGVhZCx0Ym9keSx0cix0aCx0ZCxzdmcpKTpiZWZvcmV7YWxsOnVuc2V0O2JveC1zaXppbmc6Ym9yZGVyLWJveH1hLGFiYnIsYWNyb255bSxhZGRyZXNzLGFydGljbGUsYXNpZGUsYXVkaW8sYixiaWcsYmxvY2txdW90ZSxidXR0b24sY2FudmFzLGNhcHRpb24sY2VudGVyLGNpdGUsY29kZSxkZCxkZWwsZGV0YWlscyxkZm4sZGl2LGRsLGR0LGVtLGVtYmVkLGZpZWxkc2V0LGZpZ2NhcHRpb24sZmlndXJlLGZvb3Rlcixmb3JtLGgxLGgyLGgzLGg0LGg1LGg2LGhlYWRlcixoZ3JvdXAsaSxpZnJhbWUsaW1nLGlucyxrYmQsbGFiZWwsbGVnZW5kLGxpLG1haW4sbWFyayxtZW51LG5hdixvbCxvdXRwdXQscCxwcmUscSxydWJ5LHMsc2FtcCxzZWN0aW9uLHNtYWxsLH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5Om5vbmV9YVtocmVmXSxidXR0b24sbGFiZWxbZm9yXSxzZWxlY3R7Y3Vyc29yOnBvaW50ZXJ9dGFibGV7Ym9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlO2JvcmRlci1zcGFjaW5nOjA7dGV4dC1pbmRlbnQ6MH10YWJsZSx0Ym9keSx0ZCx0aCx0aGVhZCx0cntmb250LXNpemU6MTAwJTtmb250OmluaGVyaXQ7bWFyZ2luOjA7cGFkZGluZzowO2JvcmRlcjowO3ZlcnRpY2FsLWFsaWduOmJhc2VsaW5lfQ==");</style>
```


Expand Down
21 changes: 18 additions & 3 deletions _total-reset.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*:where(:not(table, thead, tbody, tr, th, td, svg)) {
@namespace svg "http://www.w3.org/2000/svg";

*:where(:not(table, thead, tbody, tr, th, td, svg|*)) {
all: unset;
box-sizing: border-box;

Expand Down Expand Up @@ -132,12 +134,20 @@ svg {
display: none;
}

head,
link,
meta,
script,
title,
template,
style {
display: none;
}

a[href], label[for], select, button {
a[href],
label[for],
select,
button {
cursor: pointer;
}

Expand All @@ -150,7 +160,12 @@ table {
text-indent: 0;
}

table, thead, tbody, tr, th, td {
table,
thead,
tbody,
tr,
th,
td {
font-size: 100%;
font: inherit;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scss-reset",
"version": "1.3.3",
"version": "1.3.4",
"description": "SCSS Reset",
"main": "gulpfile.js",
"repository": {
Expand Down
21 changes: 18 additions & 3 deletions src/scss/_total-reset.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*:where(:not(table, thead, tbody, tr, th, td, svg)) {
@namespace svg "http://www.w3.org/2000/svg";

*:where(:not(table, thead, tbody, tr, th, td, svg|*)) {
all: unset;
box-sizing: border-box;

Expand Down Expand Up @@ -132,12 +134,20 @@ svg {
display: none;
}

head,
link,
meta,
script,
title,
template,
style {
display: none;
}

a[href], label[for], select, button {
a[href],
label[for],
select,
button {
cursor: pointer;
}

Expand All @@ -150,7 +160,12 @@ table {
text-indent: 0;
}

table, thead, tbody, tr, th, td {
table,
thead,
tbody,
tr,
th,
td {
font-size: 100%;
font: inherit;
margin: 0;
Expand Down

0 comments on commit 9c16d0a

Please sign in to comment.