jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Theme Not Loading

atuljayaram opened this issue · comments

Hello!

I'm attempting to create my own theme, and to start I tried to export the sample custom theme from the Theming docs, but for some reason, it isn't working.

Here is my custom theme atul.js (not that different from the one in the docs):

// Example theme.js

const white = '#fff'
const black = '#000'
const blue = '#0af'

export default {
  fonts: {
    body: 'Roboto, sans-serif',
    monospace: '"Roboto Mono", monospace',
  },
  colors: {
    text: black,
    background: white,
    primary: blue,
  },
}

But here is what I get as my slide, the basic dark theme:

Result

I'm also seeing this. Did you solve this?

I'm also seeing this. Did you solve this?

Sadly no. Creating my own theme still gives me issues but whenever I use a theme created by someone else it works fine. I'm sure it's some small detail I'm missing.