Skip to content

Commit 9a3b3d6

Browse files
committed
update changelog and readme
1 parent 244d109 commit 9a3b3d6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

packages/tailwindcss-intellisense/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.5.9
4+
5+
- Add `focus-visible`, `checked`, `motion-safe`, `motion-reduce`, and `dark` to `@variants` completions
6+
- Add `showPixelEquivalents` and `rootFontSize` settings (#200)
7+
38
## 0.5.8
49

510
- Fix error when `@​apply` is used within a plugin (#255)

packages/tailwindcss-intellisense/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ Controls whether the editor should render inline color decorators for Tailwind C
8080
- `on`: Color decorators are rendered.
8181
- `off`: Color decorators are not rendered.
8282

83+
### `tailwindCSS.showPixelEquivalents`
84+
85+
Show `px` equivalents for `rem` CSS values in completions and hovers. **Default: `true`**
86+
87+
### `tailwindCSS.rootFontSize`
88+
89+
Root font size in pixels. Used to convert `rem` CSS values to their `px` equivalents. See [`tailwindCSS.showPixelEquivalents`](#tailwindcssshowpixelequivalents). **Default: `16`**
90+
8391
### `tailwindCSS.validate`
8492

8593
Enable linting. Rules can be configured individually using the `tailwindcss.lint` settings:

0 commit comments

Comments
 (0)