mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Move --tblr- custom-property prefixing from Sass to PostCSS (#2795)
Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ Do not edit `dist/` folders - they are generated by the build.
|
||||
|
||||
## Code style
|
||||
|
||||
- Use Bootstrap 5 conventions and Tabler's CSS custom properties pattern: `--#{$prefix}component-property`.
|
||||
- Use Bootstrap 5 conventions and Tabler's CSS custom properties pattern: `--component-property`. Write custom properties without a prefix — the build adds the public `--tblr-` prefix. Names owned by a third-party library you are theming must be listed in `cssVarIgnore` in `.build/css-var-prefix.ts` so they stay untouched.
|
||||
- Write documentation in simple English: short sentences, common words, direct instructions.
|
||||
- Ensure changes work in all supported browsers (see the [browser support docs](https://docs.tabler.io/ui/getting-started/browser-support/)).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user