set theme swap to have a better color for light theme

This commit is contained in:
Julien Calixte
2025-05-31 14:00:24 +02:00
parent bef498dcd7
commit 7ebf14da29
3 changed files with 54 additions and 41 deletions

View File

@@ -12,6 +12,11 @@
--light-link: lighten(#445fb9, 45%);
--background-color: #ffffff;
--note-width: 620px;
--color-contrast-content: var(--color-success);
}
[data-theme="valentine"] {
--color-contrast-content: var(--color-success-content);
}
@plugin "@tailwindcss/typography";
@@ -33,7 +38,6 @@
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
@@ -55,7 +59,6 @@ body {
}
@media screen and (min-width: 769px) {
html,
body {
overflow-y: hidden;
@@ -120,7 +123,6 @@ a {
}
@media print {
html,
body {
overflow-y: auto;
@@ -154,10 +156,10 @@ pre {
}
.markdown-alert-title svg path {
fill: var(--color-base-content)
fill: var(--color-base-content);
}
iframe {
border-radius: 1rem;
height: 400px;
}
}