Skip to content

Snapshot output with component names and style rules #328

Description

@marboro92

Current Behaviour

Currently, styleSheetSerializer can be used to remove the hash classnames and show the style rules instead. However with this set up, the component name classes are lost.

The output using styleSheetSerializer is on the right:
Screen Shot 2020-06-24 at 6 55 46 PM

Problem

Without the component names the output is hard to read and it's not easy to tell which components the styles applied to.

Ask

Is it possible keep the named component name classes while using the stylesheetSerializer?

The desired result for the className would be something like: className="DesktopMenu c7 c8"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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