Theming and addon-notes code block
See original GitHub issueGreetings!
Describe the bug
I use a custom theme for Storybook. barBg
property changes background of blocks with code.
To Reproduce Steps to reproduce the behavior:
- Create a .md file with code example inside.
- Import it in any story.
- Go to “Notes” section.
- See error.
Expected behavior
So, I expect barBg
to change background of top bar only.
Screenshots
Code snippets
// file with custom theme settings
import { create } from '@storybook/theming';
export const theme = create({
base: 'light', // base theme
appBg: '#f4f5f9',
barBg: '#3f4557',
barTextColor: '#ffffff',
barSelectedColor: '#ebb242',
});
System:
System:
OS: macOS 10.14.5
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.5.1 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
CodeBlocks Dark Color Themes - YouTube
Make Sure CodeBlock is ClOSED before making any CHANGES2. ... Setting CodeBlocks Color Themes || CodeBlocks Dark Color Themes.
Read more >How to Use the WordPress Code Block - Elegant Themes
Enter the name of the block and select it when it appears or scroll through the blocks to see what's there. How to...
Read more >Code blocks - Material for MkDocs - GitHub Pages
Code blocks and examples are an essential part of technical project documentation. Material for MkDocs provides different ways to set up syntax highlighting...
Read more >Code Block Styles/Themes - Typora Support
Typora uses CodeMirror for syntax highlight in code fences. Code fences in Typora use cm-s-inner as their theme class.
Read more >Code blocks - Lotus Themes Help Center - Zendesk
We use the highlight.js library for the code formatting. This library lets you easily provide high-quality syntax highlighting without...
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
FYI
addon-notes
is being superceded byaddon-docs
. It’s reached release candidate (RC) status and will be properly released soon. Please give it a try! https://medium.com/storybookjs/storybook-docspage-e185bc3622bfBy the way, version I use are