Global !important and selector-scoped importance — escape hatches for legacy CSS.
Syntax#
nakshora.config.js
export default {
important: true, // every utility gets !important
// or scope it:
// important: '#app',
};Details & defaults#
true appends !important to every declaration. A selector string scopes the utilities under it (#app .p-4 { … }) — usually the better escape hatch.
Worked examples#
- Legacy CSS you cannot delete? Scope with
important: "#legacy-app"first
Related options#
See the configuration/index|configuration hub for the full option table, and api/theme-resolution|theme resolution for how options merge.
