Line 51 fontFamily: "inherit"
|
margin: 0, |
|
outline: "none", |
|
padding: 10, |
|
fontFamily: "inherit", |
Will override Prism theme
https://github.com/PrismJS/prism/blob/0d4b6cb64e72a172fc64423c04aed4ac8b59cd0b/themes/prism.css#L12
Further, why not let users define all the style (margin, outline, padding, fontFamily) by themself through className? This way, React Live will become a true HeadlessUI component.
Line 51
fontFamily: "inherit"react-live/src/components/Editor/index.js
Lines 48 to 51 in e21fd33
Will override Prism theme
https://github.com/PrismJS/prism/blob/0d4b6cb64e72a172fc64423c04aed4ac8b59cd0b/themes/prism.css#L12
Further, why not let users define all the style (margin, outline, padding, fontFamily) by themself through
className? This way, React Live will become a true HeadlessUI component.