Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: make primary button responsive

thecodrr16da6ba096ba
diff --git a/apps/web/src/theme/variants/button.js b/apps/web/src/theme/variants/button.js
index e7222f054..203a2cc42 100644
--- a/apps/web/src/theme/variants/button.js
+++ b/apps/web/src/theme/variants/button.js
@@ -34,7 +34,11 @@ class Primary {
return {
variant: "buttons.default",
color: "fontSecondary",
- bg: "primary"
+ bg: "primary",
+ transition: "opacity 300ms linear",
+ ":hover": {
+ opacity: 0.8
+ }
};
}
}