Commit 3548037
authored
Simplify completion details for border and outline utilities (#1384)
This drops the `var(--tw-border-style)` and `var(--tw-outline-style)`
declarations from these utilities for **completion details** as they
hide the actual value.
before:
<img width="829" alt="Screenshot 2025-05-23 at 19 57 03"
src="https://github.com/user-attachments/assets/c2d04a6b-48e5-46a0-8578-9c3957a5f224"
/>
<img width="841" alt="Screenshot 2025-05-23 at 19 57 11"
src="https://github.com/user-attachments/assets/4661033e-bb4b-4223-95cf-a9e8f09adc8c"
/>
after:
<img width="832" alt="Screenshot 2025-05-23 at 19 57 23"
src="https://github.com/user-attachments/assets/388ae354-7877-42ad-8132-e08d50659301"
/>
<img width="853" alt="Screenshot 2025-05-23 at 19 57 30"
src="https://github.com/user-attachments/assets/41905381-b2f0-4c4a-baa6-4462851c23e4"
/>
- [x] needs tests1 parent 7d3065b commit 3548037
File tree
3 files changed
+37
-1
lines changed- packages
- tailwindcss-language-server/tests/completions
- tailwindcss-language-service/src
- vscode-tailwindcss
3 files changed
+37
-1
lines changedLines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2307 | 2307 | | |
2308 | 2308 | | |
2309 | 2309 | | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2310 | 2313 | | |
2311 | 2314 | | |
2312 | 2315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments