Skip to content

pre-defined style fontFamily breaks Prism theme #319

@gutenye

Description

@gutenye

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions