Add dark-light transition

pull/4615/head
Cagatay Civici 2023-10-15 06:47:25 +03:00
parent 08ed650081
commit 18904be4ad
4 changed files with 5 additions and 0 deletions

View File

@ -147,6 +147,7 @@ pre[class*="language-"] {
pre[class*="language-"] {
code {
background: var(--demo-code-bg) !important;
transition: background-color .5s, border-color .5s;
}
}

View File

@ -12,6 +12,7 @@
.card {
background: var(--surface-card);
border: var(--card-border);
transition: background-color .5s, border-color .5s;
padding: 2rem;
border-radius: 10px;
margin-bottom: 1rem;

View File

@ -12,6 +12,7 @@ body {
color: var(--text-color);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: background-color .5s;
}
a {

View File

@ -1,5 +1,6 @@
.landing {
background-color: var(--home-bg);
transition: background-color .5s;
scroll-behavior: smooth;
padding-top: 4rem;
@ -7,6 +8,7 @@
border: 1px solid var(--home-border-color);
border-radius: 10px;
background-color: var(--home-box-bg);
transition: background-color .5s, border-color .5s;
}
.linkbox {