add DarkMode with Button #51

Merged
jakob.scheid merged 7 commits from feature/dark-mode into main 2026-05-15 12:47:26 +02:00
Showing only changes of commit 2af6c74696 - Show all commits
+16
View File
@@ -59,4 +59,20 @@ const isDark = inject('isDark');
.global-nav .right-links a:hover{ .global-nav .right-links a:hover{
text-decoration: underline; text-decoration: underline;
} }
.dark-mode-toggle {
background: none;
border: 1.5px solid var(--light-d-3);
border-radius: 50%;
width: 36px;
height: 36px;
cursor: pointer;
font-size: 1rem;
display: flex;
align-items: center;
justify-content: center;
}
.dark-mode-toggle:hover {
background: var(--light-d-2);
}
</style> </style>