Some more cleanup to prepare for 2.1.0 release (#395)

* Make syntax highlighting green match the brand color

* Fix version filter control wrapping and not obeying snapshot filter

* Fix checkbox hover state Closes #390

* Update components/ui/VersionFilterControl.vue

Co-authored-by: Emma Pointer-Null <emmaffle@modrinth.com>

* Fix missing hover and active states for various buttons

Co-authored-by: Emma Pointer-Null <emmaffle@modrinth.com>
This commit is contained in:
Prospector
2022-03-06 14:37:07 -08:00
committed by GitHub
parent 8b5db12e1d
commit a50e109043
8 changed files with 93 additions and 26 deletions

View File

@@ -533,12 +533,14 @@ export default {
box-shadow: inset 0px -1px 1px rgba(17, 24, 39, 0.1);
&:hover,
&:active {
&:focus-visible {
background-color: var(--color-button-bg-hover);
color: var(--color-button-text-hover);
}
svg {
color: var(--color-button-text-hover);
}
&:active {
background-color: var(--color-button-bg-active);
color: var(--color-button-text-active);
}
svg {
@@ -697,6 +699,10 @@ export default {
&:focus {
background-color: var(--color-brand-hover);
}
&:active {
background-color: var(--color-brand-active);
}
}
}
}