chore: replace custom css resets with advanced-css-reset

This commit is contained in:
abhijithvijayan 2020-04-04 10:57:29 +05:30
parent 514ec23e39
commit 5067355d90
3 changed files with 9 additions and 24 deletions

View File

@ -24,6 +24,7 @@
},
"dependencies": {
"@babel/runtime": "^7.9.2",
"advanced-css-reset": "^1.1.0",
"webext-base-css": "^1.0.0",
"webextension-polyfill": "^0.6.0"
},

View File

@ -1,31 +1,10 @@
// Manually forked from Normalize.css, Reboot.css, Sanitize.css, and Untouched.css
@import '~advanced-css-reset/dist/reset.css';
*,
*:before,
*:after {
box-sizing: border-box;
}
*:focus {
outline: 0;
}
ol,
ul {
list-style-type: none;
}
// Add your custom reset rules here
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
}
body {
overflow-x: hidden;
}
a:link {
text-decoration: none;
}
}

View File

@ -1129,6 +1129,11 @@ adjust-sourcemap-loader@2.0.0:
object-path "0.11.4"
regex-parser "2.2.10"
advanced-css-reset@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/advanced-css-reset/-/advanced-css-reset-1.1.0.tgz#47fb1e9a75f19197bc1eab2076fc00b43f8f2a8c"
integrity sha512-n28VUgOovvi/qZqqPgA+H/rHvncITgCxFRCwfCxHcvNDZvrc6fWqTKcIYUP8qTNgEDAfsE020CALR2uCpBcp3g==
aggregate-error@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0"