mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
chore: replace css resets with add advanced-css-reset
This commit is contained in:
parent
fadc746bc7
commit
95282892d8
@ -18,11 +18,12 @@
|
|||||||
"build:firefox": "cross-env NODE_ENV=production cross-env TARGET_BROWSER=firefox webpack",
|
"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: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",
|
"build": "yarn run build:chrome && yarn run build:firefox && yarn run build:opera",
|
||||||
"lint": "eslint . --ext .ts",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
"lint:fix": "eslint . --ext .ts --fix"
|
"lint:fix": "eslint . --ext .ts,.tsx --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.9.2",
|
"@babel/runtime": "^7.9.2",
|
||||||
|
"advanced-css-reset": "^1.1.0",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
"webext-base-css": "^1.0.0",
|
"webext-base-css": "^1.0.0",
|
||||||
|
|||||||
@ -1,31 +1,10 @@
|
|||||||
// Forked from Normalize.css, Reboot.css, Sanitize.css, and Untouched.css
|
@import '~advanced-css-reset/dist/reset.css';
|
||||||
|
|
||||||
*,
|
// Add your custom reset rules here
|
||||||
*:before,
|
|
||||||
*:after {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
*:focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol,
|
|
||||||
ul {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
@ -1327,6 +1327,11 @@ adjust-sourcemap-loader@2.0.0:
|
|||||||
object-path "0.11.4"
|
object-path "0.11.4"
|
||||||
regex-parser "2.2.10"
|
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:
|
aggregate-error@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0"
|
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user