Skip to content

Commit 8e9d4b1

Browse files
fix(ui): ensure complementary text colors in modals for light and dark modes
1 parent 60c5c9d commit 8e9d4b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎frontend/css/style.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,7 @@ main {
10221022
overflow-y: auto;
10231023
animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
10241024
max-height: 90vh;
1025+
color: var(--text-main);
10251026
}
10261027

10271028
[data-theme="night"] .modal-content {
@@ -1124,7 +1125,7 @@ main {
11241125
#modal-ai-note {
11251126
font-family: "Georgia", serif;
11261127
font-style: italic;
1127-
color: #4a3f35 !important; /* Dark brown for high contrast */
1128+
color: var(--text-main) !important;
11281129
line-height: 1.6;
11291130
font-size: 1.05rem;
11301131
display: block;
@@ -2008,6 +2009,7 @@ display: grid;
20082009
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
20092010
display: flex;
20102011
flex-direction: column;
2012+
color: var(--text-main);
20112013
}
20122014

20132015
.genre-modal-header {

0 commit comments

Comments
 (0)