fix(branding): adjust LunarNewYear date captures

This commit is contained in:
41666 2022-01-27 16:55:21 -05:00
parent 8c07ed3123
commit b644a38aa7

View file

@ -354,8 +354,8 @@ export const LunarNewYear: Variant = {
// Feb 1, 2022 // Feb 1, 2022
// Jan 22, 2023 // Jan 22, 2023
activeIf: (currentDate?: Date) => activeIf: (currentDate?: Date) =>
matchDay(new Date('2022-Jan-30'), new Date('2022-Feb-3'), currentDate, true) || matchDay(new Date('2022-Jan-27'), new Date('2022-Feb-10'), currentDate, true) ||
matchDay(new Date('2023-Jan-20'), new Date('2023-Jan-24'), currentDate, true), matchDay(new Date('2023-Jan-17'), new Date('2023-Jan-29'), currentDate, true),
sharedProps: { sharedProps: {
circleFill: palette.red200, circleFill: palette.red200,
circleOuterFill: palette.gold400, circleOuterFill: palette.gold400,