gitfoss | 19e345f2aad3515b33b9c6eef8d29ba884178fe0 | app/theme.ts ∙ GitFOSS
~app/theme.ts
.ts
TypeScript
(application/typescript)
import { DefaultTheme } from "styled-components";
import { createStyledContainerQueries } from "styled-container-queries";

import { breakpoints } from "./utils/style";

const containerTheme = createStyledContainerQueries(breakpoints);

const styledTheme: DefaultTheme = {
  // This is where we would register styled theme
  // so we can use it in css via theme.property.
};

const theme = {
  ...containerTheme,
  ...styledTheme,
};

export { theme };