diff --git a/package.json b/package.json index e29f782..ae2ff67 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,12 @@ "build:firefox": "cross-env NODE_ENV=production cross-env TARGET_BROWSER=firefox webpack", "build:opera": "cross-env NODE_ENV=production cross-env TARGET_BROWSER=opera webpack", "build": "yarn run build:chrome && yarn run build:firefox && yarn run build:opera", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix" + "lint": "eslint . --ext .ts,.tsx", + "lint:fix": "eslint . --ext .ts,.tsx --fix" }, "dependencies": { "@babel/runtime": "^7.9.2", + "advanced-css-reset": "^1.1.0", "react": "^16.13.1", "react-dom": "^16.13.1", "webext-base-css": "^1.0.0", diff --git a/src/styles/_reset.scss b/src/styles/_reset.scss index d8d29db..a495ca1 100644 --- a/src/styles/_reset.scss +++ b/src/styles/_reset.scss @@ -1,31 +1,10 @@ -// 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; -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 2c0d6e2..cf7aece 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1327,6 +1327,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"