Skip to content

Commit

Permalink
Show colors for logical border properties (#1075)
Browse files Browse the repository at this point in the history
Fixes #1065

---------

Co-authored-by: Robin Malfait <[email protected]>
  • Loading branch information
thecrypticace and RobinMalfait authored Nov 8, 2024
1 parent cb0f305 commit e3cd1f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/tailwindcss-language-service/src/util/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ const COLOR_PROPS = [
'border-right-color',
'border-bottom-color',
'border-left-color',
'border-inline-color',
'border-inline-start-color',
'border-inline-end-color',
'border-block-color',
'border-block-start-color',
'border-block-end-color',
'fill',
'outline-color',
'stop-color',
Expand Down
1 change: 1 addition & 0 deletions packages/vscode-tailwindcss/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fix display of color swatches using new v4 oklch color palette ([#1073](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1073))
- Properly validate `theme(…)` function paths in v4 ([#1074](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1074))
- Support loading TypeScript configs and plugins in v4 projects ([#1076](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1076))
- Show colors for logical border properties ([#1075](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1075))

## 0.12.12

Expand Down

0 comments on commit e3cd1f2

Please sign in to comment.