export * from './cssReset';
export { escapeRegExp } from './escapeRegExp';
export { filterGlobalProps } from './globalPropsWhitelist';
export { useLocalStorage } from './useLocalStorage';
export { useReadLocalStorage } from './useReadLocalStorage';
export { getThemeName } from './getThemeName';
export { isBrowser } from './isBrowser';
export { spacing } from './spacing';
export { pxToRem } from './pxToRem';
export * from './srOnly';
export type { GlobalProps } from './globalPropsWhitelist';
export type { Spacing } from './spacing';

export const defaultTheme = 'lendi';
export const themeAttribute = 'data-lui-theme';
export const getCDNLink = () =>
  'https://lendicdn.net/62182bb1683f25004d5254ce6e3461c3/71ccb7a35a452ea8153b6d920f9f190e';

export enum ThemeNames {
  Lendi = 'lendi',
  LendiNext = 'lendi-next',
  Aussie = 'aussie',
  Domain = 'domain',
}
export type ThemeName = `${ThemeNames}`;
export type StoredTheme = ThemeName | null;
