From c5edb32972709aa9d0139a8519d812e337e87874 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 15 Sep 2024 13:36:19 -0700 Subject: [PATCH] chore: better var names --- package-lock.json | 4 ++-- package.json | 2 +- src/assets/styles/components/modal.css | 2 +- src/assets/styles/components/progress-bar.css | 2 +- src/assets/styles/defaults/vars.css | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 20475c4a..091b0c14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "24.9.0", + "version": "24.9.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "24.9.0", + "version": "24.9.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index a55d9aa5..4e35ef9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "24.9.0", + "version": "24.9.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/components/modal.css b/src/assets/styles/components/modal.css index 221c0899..33a35bc6 100644 --- a/src/assets/styles/components/modal.css +++ b/src/assets/styles/components/modal.css @@ -2,7 +2,7 @@ width: 100%; height: 100%; inset: 0; - background: var(--gray-overlay); + background: var(--gray-dark-transparent); position: fixed; z-index: 3; diff --git a/src/assets/styles/components/progress-bar.css b/src/assets/styles/components/progress-bar.css index 682c33d2..e11eb807 100644 --- a/src/assets/styles/components/progress-bar.css +++ b/src/assets/styles/components/progress-bar.css @@ -2,7 +2,7 @@ display: flex; height: var(--sizing-lg); width: 100%; - background-color: var(--gray-background-transparent); + background-color: var(--gray-light-transparent); border-radius: var(--border-radius-full); & .progress-bar { diff --git a/src/assets/styles/defaults/vars.css b/src/assets/styles/defaults/vars.css index 556e1078..742989a6 100644 --- a/src/assets/styles/defaults/vars.css +++ b/src/assets/styles/defaults/vars.css @@ -31,8 +31,8 @@ --gray-dark: var(--gray-950); /* semi-transparent overlay color */ - --gray-overlay: #000000b3; - --gray-background-transparent: #d9dee499; + --gray-dark-transparent: #000000b3; + --gray-light-transparent: #d9dee499; /* base theme */ --color-lightest: var(--gray-50);