# Forbid using arbitrary values in classnames ๐Ÿšซ This rule is _disabled_ in the โœ… `recommended` config. This rule will shout at you if you use any arbitrary value in your classnames. Only enable this rule if you want to stricly stick with your Tailwind ย CSS config's presets. It will not complain if you are using classnames like `border-`. ## Rule Details Examples of **incorrect** code for this rule: ```html
Custom width
``` Examples of **correct** code for this rule: ```html
Custom width
``` with a config such as: ```css @import "tailwindcss"; @theme { --width-custom-preset: 20rem; } ``` ### Why avoid arbitrary values? - ๐Ÿ“ Enforced **design consistency** - ๐ŸŒˆ Respect your **Design System** - ๐Ÿงน **Cleaner**, more readable markup ### When to use arbitrary values? - ๐Ÿงฌ For **truly unique**, one-off instances ## Options There are no specific options for this rule, yet it uses the general [settings](../../README.md#settings).