souporserious / mdxts

The Content and Documentation SDK for React

Home Page:https://mdxts.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

media queries

souporserious opened this issue · comments

Media queries should be supported for different components as well as theming:

{
  mediaQueries: {
    light: { prefersColorScheme: 'light' },
    dark: { prefersColorScheme: 'dark' }
  },
  themes: {
    light: path.resolve('light-theme.json'),
    dark: path.resolve('dark-theme.json')
  }
}