lib/generators/css_zero/add/templates/app/assets/stylesheets/menu.css in css-zero-0.0.46 vs lib/generators/css_zero/add/templates/app/assets/stylesheets/menu.css in css-zero-0.0.47
- old
+ new
@@ -21,14 +21,19 @@
}
.menu__item {
--btn-border-color: transparent;
--btn-font-weight: var(--font-normal);
+ --btn-hover-lightness: l;
--btn-justify-content: start;
--btn-outline-size: 0;
--btn-padding: var(--size-1_5) var(--size-2);
- &:focus {
+ &:hover {
+ --btn-background: var(--color-secondary);
+ }
+
+ &:focus-visible {
--btn-background: var(--color-secondary);
}
}
.menu__item-key {