Skip to content

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

ui: minor icon fixes

thecodrr65840cd4ead9
diff --git a/apps/web/src/components/button/index.js b/apps/web/src/components/button/index.js
index bba4e40d3..aa882e5de 100644
--- a/apps/web/src/components/button/index.js
+++ b/apps/web/src/components/button/index.js
@@ -29,7 +29,7 @@ const Button = props => {
}}
onClick={props.onClick}
>
- {props.Icon && <props.Icon />}
+ {props.Icon && <props.Icon color="static" />}
<Text as="span" mx={1} fontSize={"body"} flex="1 1 auto">
{props.content}
</Text>
diff --git a/apps/web/src/components/icons/index.js b/apps/web/src/components/icons/index.js
index 4e8fd7df4..23e33f5d2 100644
--- a/apps/web/src/components/icons/index.js
+++ b/apps/web/src/components/icons/index.js
@@ -20,6 +20,7 @@ const createIcon = name => {
return props => (
<Animated.Box
sx={props.sx}
+ height={(props.size || 24) + "px"}
whileHover={{ scale: 1.1 }}
transition={{ duration: 0.3, ease: "easeOut" }}
>