UNPKG

@pierre/diffs

Version:

9 lines (8 loc) 360 B
//#region src/utils/areThemesEqual.ts function areThemesEqual(themeA, themeB) { if (themeA == null || themeB == null || typeof themeA === "string" || typeof themeB === "string") return themeA === themeB; return themeA.dark === themeB.dark && themeA.light === themeB.light; } //#endregion export { areThemesEqual }; //# sourceMappingURL=areThemesEqual.js.map