mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-19 15:10:20 +00:00
feat: add support for dark mode
This commit is contained in:
@@ -60,7 +60,14 @@
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.settings,
|
||||
.social {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.settings a,
|
||||
.social a {
|
||||
cursor: pointer;
|
||||
font-size: 2em;
|
||||
display: inline-flex;
|
||||
padding: 0.25em;
|
||||
@@ -68,14 +75,20 @@
|
||||
transition: color 250ms ease-out;
|
||||
}
|
||||
|
||||
.settings a:last-of-type,
|
||||
.social a:last-of-type {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.settings a:hover,
|
||||
.social a:hover {
|
||||
transition: color 50ms ease-out;
|
||||
}
|
||||
|
||||
.toggleDarkMode:hover {
|
||||
color: #2795e9;
|
||||
}
|
||||
|
||||
.twitter:hover {
|
||||
color: #2795e9;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user