Skip to content

Disable style components with --style=no-[component]. #1032

@eth-p

Description

@eth-p

Right now, there isn't a way to disable specific style components from --style=auto or --style=full. The closest thing possible is manually recreating the "auto" set with a wrapper script, but it's clunky and would require maintenance when new components are added.

I propose we add a way to negate individual style components (i.e. not plain, full, or auto) by prefixing them with no- when passed through the --style option. If conflicting styles are provided, the rightmost one should be used:

  • --style=no-grid,full => --style=full
  • --style=grid,no-grid,numbers => --style=numbers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions