mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-30 14:44:28 +02:00
refactor: camelCase names
This commit is contained in:
parent
bbb999a209
commit
0bd302aff2
@ -36,14 +36,10 @@ const getEaster = (): Moment => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const themes = {
|
export const themes = {
|
||||||
new_year: ['january', 1],
|
newYear: ['january', 1],
|
||||||
christmas: ['december', 25],
|
christmas: ['december', 25],
|
||||||
valentine: ['february', 14],
|
valentine: ['february', 14],
|
||||||
halloween: ['october', 31],
|
halloween: ['october', 31],
|
||||||
// prettier-ignore
|
easter: [getEaster().format('MMMM').toLowerCase() as MonthName, getEaster().date()],
|
||||||
easter: [
|
aprilFools: ['april', 1]
|
||||||
getEaster().format('MMMM').toLowerCase() as MonthName,
|
|
||||||
getEaster().date()
|
|
||||||
],
|
|
||||||
april_fools: ['april', 1]
|
|
||||||
} as const satisfies Record<string, [month: MonthName, date: number]>;
|
} as const satisfies Record<string, [month: MonthName, date: number]>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user