Skip to content

Commit

Permalink
ui💄: ajuster l'opacité et le style du widget (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve authored Feb 27, 2025
2 parents 24efa02 + bd76dfe commit 5f220ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Home/Widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Widget: React.FC<WidgetContainerProps> = ({ widget: DynamicWidget, navigat
<Reanimated.View
layout={LinearTransition}
style={{
opacity: loading ? 0.5 : 1,
opacity: hidden ? 0 : 1,
display: hidden ? "none" : "flex",
}}
entering={animPapillon(ZoomIn).withInitialValues({ transform: [{ scale: 0.7 }], opacity: 0 })}
Expand Down Expand Up @@ -77,7 +77,7 @@ const Widget: React.FC<WidgetContainerProps> = ({ widget: DynamicWidget, navigat
justifyContent: "center",
alignItems: "center",
gap: 10,
backgroundColor: colors.card,
backgroundColor: colors.card + "CC",
zIndex: 100,
borderRadius: 17,
borderCurve: "continuous",
Expand All @@ -98,6 +98,7 @@ const Widget: React.FC<WidgetContainerProps> = ({ widget: DynamicWidget, navigat
{
backgroundColor: theme.dark ? colors.primary + "09" : colors.primary + "11",
overflow: "hidden",
opacity: loading ? 0 : 1,
}
]}
>
Expand Down

0 comments on commit 5f220ee

Please sign in to comment.