idyll icon indicating copy to clipboard operation
idyll copied to clipboard

Consistent CSS class naming

Open mathisonian opened this issue 5 years ago • 1 comments
trafficstars

Describe the bug

The components defined by idyll-components declare CSS class names for components, which are then matched to queries in the theme and layout.

These class names do not follow a consistent style. They should all be updated to be prefixed by idyll-, so e.g. className="article-header" becomes className="idyll-article-header". The CSS selectors in the themes and layouts files should be updated, where appropriate, to match.

Expected behavior The behavior should remain unchanged, but CSS rules should be updated to use a more consistent style.

Additional context

This is relevant to https://github.com/idyll-lang/idyll/issues/494

mathisonian avatar Feb 12 '20 06:02 mathisonian

It would be good to get this in with v5, since it will be a breaking change.

mathisonian avatar Feb 12 '20 06:02 mathisonian