Skip to content

Commit 4c49bf0

Browse files
committed
Replace normalize css library with button font resets
Avoid site-wide css resets via klaro-ui by removing modern-normalize css library and replace with minor klaro-ui-only font css resets for the buttons.
1 parent d654028 commit 4c49bf0

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

css/base.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import '../node_modules/modern-normalize/modern-normalize.css';
2-
31
:root {
42
--color-blue: oklch(from steelblue calc(l - 16%) c h);
53
--color-gold: oklch(from orange l c calc(h + 10));
@@ -68,8 +66,10 @@
6866
.cm-btn {
6967
flex-basis: 50%;
7068
max-inline-size: 15rem;
71-
padding: 0.8rem;
69+
padding: 0.7rem;
7270
border-radius: 4px;
71+
font-family: inherit;
72+
font-size: 100%;
7373

7474
&:focus,
7575
&:hover {

package-lock.json

+2-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klaro-ui",
3-
"version": "1.1.0",
3+
"version": "1.1.2",
44
"description": "The Klaro consent manager custom UI for the California Digital Library",
55
"scripts": {
66
"start": "run-p parcel:dev watch:styles watch:js --silent",
@@ -40,7 +40,6 @@
4040
"buffer": "^6.0.3",
4141
"del-cli": "^6.0.0",
4242
"http-server": "^14.1.1",
43-
"modern-normalize": "^3.0.1",
4443
"npm-run-all": "^4.1.5",
4544
"onchange": "^7.1.0",
4645
"parcel": "^2.13.2",

0 commit comments

Comments
 (0)