Skip to content

Commit

Permalink
Merge pull request #314 from lad-tech/mobydick-2-calendar-fix-color
Browse files Browse the repository at this point in the history
fix(Calendar): fix color
  • Loading branch information
vpsmolina authored Jan 21, 2025
2 parents f1a430a + 3946581 commit 46087c9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/calendar/src/Calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Calendar: FC<ICalendar> = props => {
textColor: colors.TextWhite,
},
colorSoft: {
color: colors.BgAccent,
color: colors.BgSecondary,
textColor: colors.TextPrimary,
},
colorToday: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37930,7 +37930,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"right": 0,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -37944,7 +37944,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -37958,7 +37958,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand Down Expand Up @@ -38066,7 +38066,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"right": 0,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -38080,7 +38080,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -38094,7 +38094,7 @@ exports[`Calendar renders correctly isShowToday = false > maxLengthDateRange max
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand Down Expand Up @@ -52282,7 +52282,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"right": 0,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -52296,7 +52296,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -52310,7 +52310,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand Down Expand Up @@ -52418,7 +52418,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"right": 0,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -52432,7 +52432,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand All @@ -52446,7 +52446,7 @@ exports[`Calendar renders correctly isShowToday = true > maxLengthDateRange maxD
"height": 34,
},
{
"backgroundColor": "#2B78EE",
"backgroundColor": "#EDEFF3",
},
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/portals/components/PortalHost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface IParams {
const PortalHost = ({name}: IParams) => {
const {portals} = usePortalHost(name);

return portals.map(portal => portal.node);
return <>{portals.map(portal => portal.node)}</>;
};

export default PortalHost;
2 changes: 1 addition & 1 deletion src/widgets/Calendar/ui/CalendarWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const CalendarWidget = () => {
return (
<View style={styles.container}>
<Header title={'Calendar'} />
<Calendar />
<Calendar isPeriod={true} />
</View>
);
};
Expand Down

0 comments on commit 46087c9

Please sign in to comment.