Custom components in theme broken
See original GitHub issueSeems like the components
field in custom themes isn’t respected (perhaps being merged with default/base theme incorrectly? Trying to follow the syntax highlighting docs and am using latest mdx-deck.
import { syntaxHighlighterPrism, dark } from 'mdx-deck/themes'
export const themes = [syntaxHighlighterPrism, dark]
` ``
<div>This has the default theme style for `code`</div>
` ``
- Intentionally wrote malformed backticks in code sample.
Following: https://github.com/jxnblk/mdx-deck/blob/master/docs/theming.md#syntax-highlighting
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Custom Theme not applying to components - Stack Overflow
Hello I am trying to apply my custom theme (simple color change) from Theme.js to the components in App.js. However, the components are ......
Read more >Plugins not working on custom theme - WordPress.org
i have developed a custom theme and tried using some plugins on it but the plugins always seem to be in broken layout...
Read more >Troubleshooting - Material UI - MUI
There are two reasons why component styles may be broken after you've completed all steps in the migration process. First, check if you...
Read more >Angular Material Theming System - Complete Guide
After adding support for multiple themes, we will learn how to apply Angular Material's theming to custom components. We will take an example...
Read more >Customize Theme - Ant Design
Customizing theme variables for some component; ... Customize theme with ConfigProvider. In version 5.0 we call the smallest element that affects the theme...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this since the original issue appears to have been resolved
@derekr heads up that there’s now an experimental Gatsby theme package, if you’re still looking into using MDX Deck with Gatsby, see https://github.com/jxnblk/mdx-deck/tree/master/packages/gatsby-theme