It took me a bit to figure out how to change then theme, as I was looking first at the examples and missed that the theme const needs to be exported as well.
I kinda prefer importing the whole themes object from 'mdx-deck', but I also like the previous style of importing only the theme which is actually used. If that's preferred, I guess the package name changed recently and we would need to do something like:
import { big } from '@mdx-deck/themes'
export const theme = big
It took me a bit to figure out how to change then theme, as I was looking first at the examples and missed that the
theme
const needs to be exported as well.I kinda prefer importing the whole
themes
object from'mdx-deck'
, but I also like the previous style of importing only the theme which is actually used. If that's preferred, I guess the package name changed recently and we would need to do something like: