Skip to content

Commit

Permalink
feat: mise à jour des styles des événements avec des couleurs spécifi…
Browse files Browse the repository at this point in the history
…ques et remplacement de l'image de fond
  • Loading branch information
ecnivtwelve committed Feb 5, 2025
1 parent 11a687e commit 00e2fe4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/account/Week/Week.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const EventItem = memo(({ event }) => {

const containerStyle = [
styles.container,
{ backgroundColor: theme.colors.card },
{ backgroundColor: subjectData.color },
isCanceled && styles.canceledContainer
];

Expand All @@ -63,12 +63,12 @@ const EventItem = memo(({ event }) => {
const titleStyle = [
styles.title,
isWide && styles.wideTitleVariant,
{ color: theme.colors.text }
{ color: "#ffffff" }
];

const roomStyle = [
styles.room,
{ color: theme.colors.text }
{ color: "#ffffff" }
];

return (
Expand All @@ -90,11 +90,11 @@ const EventItem = memo(({ event }) => {
)}
<View style={{
height: 6,
backgroundColor: subjectData.color,
backgroundColor: "#00000042",
overflow: "hidden",
}}>
<Image
source={require("../../../../assets/images/mask_stripes_long_white.png")}
source={require("../../../../assets/images/mask_stripes_long.png")}
resizeMode="cover"

style={{ width: 2000, height: 16, tintColor: "#000000", opacity: 0.3 }}
Expand Down Expand Up @@ -449,7 +449,7 @@ const styles = StyleSheet.create({
padding: 4,
flexDirection: "column",
gap: 2,
borderWidth: 1,
borderWidth: 0,
},
canceledContent: {
opacity: 0.3,
Expand Down

0 comments on commit 00e2fe4

Please sign in to comment.