Advertising sustains the DA. Ads are hidden for members. Join today

Best practices

Last updated on
18 January 2025

This documentation is deprecated.

Documentation had been migrated to Gitlab page.

Options are mutually exclusive

When declaring the styles, if you can combine many values of a style, that means it is different styles.

The goal is to have each option of one specific style plugin to be mutually exclusive.

Do ✓
Don't 🚫
borders_border:
category: "Borders"
label: "Border"
options:
   border: "Additive All"
   border-top: "Additive Top"
   border-end: "Additive End"
   border-bottom: "Additive Bottom"
   border-start: "Additive Start"

borders_border_subtractive:
category: "Borders"
label: "Border subtractive"
options:
   border-0: "All"
   border-top-0: "Top"
   border-end-0: "End"
   border-bottom-0: "Bottom"
   border-start-0: "Start"
borders_border:
 category: "Borders"
 label: "Border"
 options:
   border: "Additive All"
   border-top: "Additive Top"
   border-end: "Additive End"
   border-bottom: "Additive Bottom"
   border-start: "Additive Start"
   border-0: "Subtractive All"
   border-top-0: "Subtractive Top"
   border-end-0: "Subtractive End"
   border-bottom-0: "Subtractive Bottom"
   border-start-0: "Subtractive Start"

Help improve this page

Page status: Deprecated

You can: