Skip to content

Should we provide an SCSS version? #2

@mrwweb

Description

@mrwweb

My current intention with the project is to provide useful copy-and-pasteable files for WordPress themes.

Since CSS is valid SCSS, these files can be dropped into an .scss file without any issue. So, are there any ways in which a SCSS version of these files could provide extra value?

The likely changes I can think of would be:

  • Use a single layer of nesting for unqualified element selectors like .wp-block-quote cite
  • Provide some conveniences such as looped output of color classes

Are these improvements worth the extra maintenance cost? Could the CSS version be output cleanly from the SCSS version for easier upkeep? I lean toward yes on both questions but would love some more feedback!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions