Closed JNavith closed 3 years ago
For instance, the table accent example is unwieldy, so let's try going from this:
variants: { backgroundColor: [ "no-accent", "green-accent", "orange-accent", "no-accent:hover", "green-accent:hover", "orange-accent:hover", "no-accent:odd", "green-accent:odd", "orange-accent:odd", "no-accent:odd:hover", "green-accent:odd:hover", "orange-accent:odd:hover", ], },
to this:
variants: { backgroundColor: [ "accents", "accents:hover", "accents:odd", "accents:odd:hover", ], },
perhaps by adding group: string; (in this case group: "accents") to the plugin configuration options?
group: string;
group: "accents"
For instance, the table accent example is unwieldy, so let's try going from this:
to this:
perhaps by adding
group: string;
(in this casegroup: "accents"
) to the plugin configuration options?