Skip to content

Commit

Permalink
fix(theme-default): add missing color transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jan 15, 2022
1 parent 1a5f4fb commit 0955c9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Expand Up @@ -171,3 +171,7 @@
height: 1.25rem;
}
}

.DocSearch {
transition: background-color var(--t-color);
}
Expand Up @@ -49,7 +49,7 @@ code {
background-color: var(--c-bg-light);
border-radius: 3px;
overflow-wrap: break-word;
transition: background-color var(--t-color), color var(--t-color);
transition: background-color var(--t-color);
}

blockquote {
Expand Down Expand Up @@ -151,18 +151,22 @@ table {
margin: 1rem 0;
display: block;
overflow-x: auto;
transition: border-color var(--t-color);
}

tr {
border-top: 1px solid var(--c-border-dark);
transition: border-color var(--t-color);

&:nth-child(2n) {
background-color: var(--c-bg-light);
transition: background-color var(--t-color);
}
}

th,
td {
border: 1px solid var(--c-border-dark);
padding: 0.6em 1em;
border: 1px solid var(--c-border-dark);
transition: border-color var(--t-color);
}

0 comments on commit 0955c9f

Please sign in to comment.