Skip to content

Commit

Permalink
chore: make a tags work in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
provos committed Oct 25, 2024
1 parent 2154095 commit 78bd17a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/planai/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
--removing-color: #ffe6e6;
--notification-color: #ffff99;
--notification-hover-color: #ffff66;
--link-color: #0066cc;
--link-hover-color: #004499;
--link-visited-color: #551a8b;
}

[data-theme="dark"] {
Expand All @@ -22,6 +25,9 @@
--removing-color: #4d1a1a;
--notification-color: #4d4d00;
--notification-hover-color: #666600;
--link-color: #61dafb;
--link-hover-color: #2bb7da;
--link-visited-color: #a25dbb;
}


Expand All @@ -41,6 +47,21 @@ h2 {
color: var(--header-color);
}

a {
color: var(--link-color);
text-decoration: none;
transition: color 0.3s ease;
}

a:hover {
color: var(--link-hover-color);
text-decoration: underline;
}

a:visited {
color: var(--link-visited-color);
}

.task-list {
background-color: var(--task-list-bg);
border: 1px solid var(--border-color);
Expand Down

0 comments on commit 78bd17a

Please sign in to comment.