update changelog and readme

master
Brad Cornes 2021-02-07 21:11:07 +00:00
parent 244d109f2f
commit 9a3b3d6132
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 0.5.9
- Add `focus-visible`, `checked`, `motion-safe`, `motion-reduce`, and `dark` to `@variants` completions
- Add `showPixelEquivalents` and `rootFontSize` settings (#200)
## 0.5.8
- Fix error when `@apply` is used within a plugin (#255)

View File

@ -80,6 +80,14 @@ Controls whether the editor should render inline color decorators for Tailwind C
- `on`: Color decorators are rendered.
- `off`: Color decorators are not rendered.
### `tailwindCSS.showPixelEquivalents`
Show `px` equivalents for `rem` CSS values in completions and hovers. **Default: `true`**
### `tailwindCSS.rootFontSize`
Root font size in pixels. Used to convert `rem` CSS values to their `px` equivalents. See [`tailwindCSS.showPixelEquivalents`](#tailwindcssshowpixelequivalents). **Default: `16`**
### `tailwindCSS.validate`
Enable linting. Rules can be configured individually using the `tailwindcss.lint` settings: