Commit f36be18
authored
Simplify Tailwind implementation (#110)
* Modify Tailwind color functions to support Figma variables
* Refactor function to arrow function
* Reorganise all config to separate file
* Simplify Tailwind code
* Clarify Tailwind color usage
* Add Tailwind support for horizontal auto-layout hug (#111)
Co-authored-by: Dave Stewart <[email protected]>
* Add Tailwind support for Figma variables (#109)
* Modify Tailwind color functions to support Figma variables
* Refactor function to arrow function
* Fix fill opacity code
* Add new Tailwind preferences
* Prefer Tailwind color when color matches exactly
* Update UI with shorter labels and tooltips
---------
Co-authored-by: Dave Stewart <[email protected]>
---------
Co-authored-by: Dave Stewart <[email protected]>1 parent d2c3f52 commit f36be18
File tree
6 files changed
+543
-502
lines changed- apps/plugin/plugin-src
- packages/backend/src
- common/retrieveUI
- tailwind
- builderImpl
- retrieveUI
6 files changed
+543
-502
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 147 | | |
170 | 148 | | |
171 | 149 | | |
172 | 150 | | |
173 | 151 | | |
174 | 152 | | |
175 | | - | |
| 153 | + | |
176 | 154 | | |
177 | 155 | | |
178 | 156 | | |
| |||
182 | 160 | | |
183 | 161 | | |
184 | 162 | | |
185 | | - | |
| 163 | + | |
186 | 164 | | |
187 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
188 | 175 | | |
189 | | - | |
| 176 | + | |
190 | 177 | | |
191 | 178 | | |
192 | 179 | | |
| |||
Lines changed: 29 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
21 | 6 | | |
22 | 7 | | |
23 | 8 | | |
| |||
27 | 12 | | |
28 | 13 | | |
29 | 14 | | |
| 15 | + | |
30 | 16 | | |
31 | 17 | | |
32 | 18 | | |
| |||
35 | 21 | | |
36 | 22 | | |
37 | 23 | | |
38 | | - | |
| 24 | + | |
39 | 25 | | |
40 | 26 | | |
41 | 27 | | |
42 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
43 | 32 | | |
44 | 33 | | |
45 | 34 | | |
46 | | - | |
| 35 | + | |
47 | 36 | | |
48 | 37 | | |
49 | 38 | | |
| |||
56 | 45 | | |
57 | 46 | | |
58 | 47 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
63 | 55 | | |
64 | 56 | | |
65 | | - | |
| 57 | + | |
66 | 58 | | |
67 | | - | |
| 59 | + | |
68 | 60 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 61 | + | |
77 | 62 | | |
78 | | - | |
| 63 | + | |
79 | 64 | | |
80 | 65 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 66 | + | |
88 | 67 | | |
89 | 68 | | |
90 | 69 | | |
| |||
97 | 76 | | |
98 | 77 | | |
99 | 78 | | |
100 | | - | |
| 79 | + | |
101 | 80 | | |
102 | 81 | | |
103 | | - | |
| 82 | + | |
104 | 83 | | |
105 | 84 | | |
106 | | - | |
| 85 | + | |
107 | 86 | | |
108 | 87 | | |
109 | | - | |
| 88 | + | |
110 | 89 | | |
111 | 90 | | |
112 | | - | |
| 91 | + | |
113 | 92 | | |
114 | 93 | | |
115 | 94 | | |
116 | 95 | | |
117 | | - | |
| 96 | + | |
118 | 97 | | |
119 | 98 | | |
120 | 99 | | |
| |||
0 commit comments