Skip to content

Commit 528a5ca

Browse files
committed
Adjust color variables for consistency (description text, panel-event-website-btn, and activity tags)
1 parent e8ac87c commit 528a5ca

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

pcd-website/src/components/NodePanel.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ function getReportIssueHref(node: Node): string {
711711
border-radius: 4px;
712712
border: 1px solid var(--color-border);
713713
background: var(--color-bg-panel);
714-
color: var(--color-text);
714+
color: var(--color-text-subtle);
715715
text-transform: capitalize;
716716
}
717717
@@ -784,7 +784,7 @@ function getReportIssueHref(node: Node): string {
784784
width: 100%;
785785
margin-bottom: 1.5rem;
786786
padding: 0.625rem 1rem;
787-
background: var(--color-link);
787+
background: var(--color-primary);
788788
color: #fff;
789789
text-align: center;
790790
text-decoration: none;
@@ -795,7 +795,7 @@ function getReportIssueHref(node: Node): string {
795795
}
796796
797797
.panel-event-website-btn:hover {
798-
background: var(--color-link-hover);
798+
opacity: 0.85;
799799
}
800800
801801
/* ─── Info Card ─── */

pcd-website/src/styles/global.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
--color-focus: #005fcc;
1111
--color-text: #1a1a1a;
1212
--color-text-muted: #555;
13+
--color-text-subtle: #888;
1314
--color-bg: #ffffff;
1415
--color-bg-panel: #ffffff;
1516
--color-bg-popup: #ffffff;
@@ -304,7 +305,7 @@ html.theme-transition *::after {
304305
border-radius: 3px;
305306
border: 1px solid var(--color-border);
306307
background: var(--color-panel-bg);
307-
color: var(--color-text);
308+
color: var(--color-text-subtle);
308309
text-transform: capitalize;
309310
}
310311

@@ -372,7 +373,7 @@ html.theme-transition *::after {
372373
.popup-content .popup-description {
373374
margin: 0 0 var(--spacing-xs);
374375
font-size: 0.875rem;
375-
color: var(--color-text-muted);
376+
color: var(--color-text);
376377
}
377378

378379
.leaflet-popup-content button.read-more {
@@ -429,6 +430,7 @@ html.theme-transition *::after {
429430
--color-link-hover: #e0aae8;
430431
--color-text: #e8e8e8;
431432
--color-text-muted: #999;
433+
--color-text-subtle: #999;
432434
--color-bg: #1a1a1a;
433435
--color-bg-panel: #242424;
434436
--color-bg-popup: #303030;

0 commit comments

Comments
 (0)