Skip to content

Commit 4916e86

Browse files
committed
fix(frontend): add missing color variables to modal components
Add CSS color variables to Modal header, WhatsNewModal card body, feature card, and sponsors copy for consistent dark theme rendering.
1 parent 337d7cc commit 4916e86

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

frontend/src/components/layout/Modal.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ function onBackdropClick(event: MouseEvent) {
148148
line-height: 1.5rem;
149149
font-weight: 500;
150150
margin-bottom: 0.5rem;
151+
color: var(--item-title-color);
151152
}
152153
153154
.modal-footer {

frontend/src/components/modal/WhatsNewModal.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ defineEmits<{ close: [] }>();
138138
border: 1px solid var(--panel-border-color);
139139
border-radius: 0.75rem;
140140
background: var(--item-background);
141+
color: var(--text-color);
141142
}
142143
143144
.icon {
@@ -153,6 +154,7 @@ defineEmits<{ close: [] }>();
153154
border-radius: 0.75rem;
154155
background: color-mix(in srgb, var(--primary-color) 8%, var(--panel-background));
155156
border: 1px solid color-mix(in srgb, var(--primary-color) 18%, var(--panel-border-color));
157+
color: var(--text-color);
156158
157159
p {
158160
margin: 0;
@@ -171,5 +173,6 @@ defineEmits<{ close: [] }>();
171173
172174
.whats-new-sponsors-copy {
173175
margin: 0 0 1rem;
176+
color: var(--text-color);
174177
}
175178
</style>

0 commit comments

Comments
 (0)