From c5a380a881fe3d1298b5eaa75c98f7c37ec817aa Mon Sep 17 00:00:00 2001 From: Wouter Janssens Date: Thu, 29 Apr 2021 12:11:14 +0200 Subject: [PATCH] feat: use normalize.css to reset css (#66) * build: added normalize.css for css resets * fix: fixed import path Co-authored-by: Stijn Taelemans --- packages/nde-erfgoed-theme/lib/theme.css | 9 +++++++-- packages/nde-erfgoed-theme/package-lock.json | 6 ++++++ packages/nde-erfgoed-theme/package.json | 1 + 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/nde-erfgoed-theme/lib/theme.css b/packages/nde-erfgoed-theme/lib/theme.css index da1759e4..afb8a708 100644 --- a/packages/nde-erfgoed-theme/lib/theme.css +++ b/packages/nde-erfgoed-theme/lib/theme.css @@ -1,12 +1,17 @@ /** - Common styles + * External libraries +*/ +@import '../node_modules/normalize.css/normalize.css'; + +/** + * Common styles */ @import './common/colors.css'; @import './common/measures.css'; @import './common/typography.css'; /** -Element styles + * Element styles */ @import './elements/buttons.css'; @import './elements/forms.css'; diff --git a/packages/nde-erfgoed-theme/package-lock.json b/packages/nde-erfgoed-theme/package-lock.json index 61ec67d1..29af3b89 100644 --- a/packages/nde-erfgoed-theme/package-lock.json +++ b/packages/nde-erfgoed-theme/package-lock.json @@ -1499,6 +1499,12 @@ "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", "dev": true }, + "normalize.css": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz", + "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==", + "dev": true + }, "num2fraction": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", diff --git a/packages/nde-erfgoed-theme/package.json b/packages/nde-erfgoed-theme/package.json index 2c62fbb5..7fa193f1 100644 --- a/packages/nde-erfgoed-theme/package.json +++ b/packages/nde-erfgoed-theme/package.json @@ -23,6 +23,7 @@ }, "devDependencies": { "esbuild": "^0.11.6", + "normalize.css": "8.0.1", "stylelint": "^13.12.0", "stylelint-config-standard": "^21.0.0", "typescript": "^4.1.3",