Commit d20e809
Madeline Trotter
Emotion-based experiment for writing and composing component styles (#101)
* Emotion-based experiment for writing and composing component styles
* Trying a different approach to button styles
* Add LumiComponent abstraction over ReactComponent+defaults
* Tag emotion
* Emotion v2
* Add warnings to Components2 files
* Add lumiElement operator (%)
* WIP Border, Box & Slat components
* Add lumiElement' for allowing style overrides
* Add sibling border styles
* Button, link, and plain Slat implementations; improve examples
* Remove Firefox button outlines from elements with 'focusable' styles
* Size example columns evenly
* WIP
* Make theming a bit more implicit
* Hide first and last border in top/bottom bordered lists
* wip
* wip2
* Clean up/simplify api
* Extract theme from component definitions/props
* WIP
* Add style labels to primary styles, differentiate primary styles from modifiers
* docs
* Add Link to components2
* Link-styled buttons
* Fix button (2) loading state
* Add missing S40 spacing
* Clean up button (2)
* Rearrange v2 examples
* Adjust button modifiers for consistency with other components
* Fix typo1 parent 357060e commit d20e809
File tree
29 files changed
+1859
-74
lines changed- docs
- Examples2
- Examples
- src/Lumi
- Components2
- Components
- Styles
29 files changed
+1859
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
53 | 70 | | |
54 | 71 | | |
55 | 72 | | |
| |||
99 | 116 | | |
100 | 117 | | |
101 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
102 | 123 | | |
103 | 124 | | |
104 | 125 | | |
105 | 126 | | |
106 | 127 | | |
107 | 128 | | |
| 129 | + | |
108 | 130 | | |
109 | 131 | | |
| 132 | + | |
110 | 133 | | |
111 | 134 | | |
112 | 135 | | |
| |||
116 | 139 | | |
117 | 140 | | |
118 | 141 | | |
119 | | - | |
| 142 | + | |
120 | 143 | | |
121 | 144 | | |
122 | 145 | | |
123 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
124 | 159 | | |
125 | 160 | | |
126 | 161 | | |
| |||
129 | 164 | | |
130 | 165 | | |
131 | 166 | | |
| 167 | + | |
132 | 168 | | |
133 | 169 | | |
134 | 170 | | |
| |||
166 | 202 | | |
167 | 203 | | |
168 | 204 | | |
169 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
170 | 210 | | |
171 | 211 | | |
172 | 212 | | |
| |||
233 | 273 | | |
234 | 274 | | |
235 | 275 | | |
236 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
237 | 281 | | |
238 | 282 | | |
239 | 283 | | |
| |||
244 | 288 | | |
245 | 289 | | |
246 | 290 | | |
247 | | - | |
| 291 | + | |
248 | 292 | | |
249 | 293 | | |
250 | 294 | | |
| |||
354 | 398 | | |
355 | 399 | | |
356 | 400 | | |
357 | | - | |
| 401 | + | |
358 | 402 | | |
359 | 403 | | |
360 | 404 | | |
361 | | - | |
| 405 | + | |
362 | 406 | | |
363 | 407 | | |
364 | 408 | | |
365 | 409 | | |
366 | 410 | | |
367 | | - | |
| 411 | + | |
368 | 412 | | |
369 | 413 | | |
370 | 414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments