From 9a3b3d6132e292926afabb868eb4b570beebd564 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Sun, 7 Feb 2021 21:11:07 +0000 Subject: [PATCH] update changelog and readme --- packages/tailwindcss-intellisense/CHANGELOG.md | 5 +++++ packages/tailwindcss-intellisense/README.md | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/packages/tailwindcss-intellisense/CHANGELOG.md b/packages/tailwindcss-intellisense/CHANGELOG.md index 7ccd48c..9194c20 100644 --- a/packages/tailwindcss-intellisense/CHANGELOG.md +++ b/packages/tailwindcss-intellisense/CHANGELOG.md @@ -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) diff --git a/packages/tailwindcss-intellisense/README.md b/packages/tailwindcss-intellisense/README.md index 6e0f4ca..abf392d 100644 --- a/packages/tailwindcss-intellisense/README.md +++ b/packages/tailwindcss-intellisense/README.md @@ -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: