Commit 28de21a
authored
feat(ui)!: user-created tag colors (#801)
* feat: custom tag colors
* ui: minor ui polish
* ui: add confirmation for deleting colors
* ui: match tag_color_preview focused style
* ui: reduce spacing between color swatch groups
* ui!: change default behavior of secondary color
The secondary color now acts as only the text color by default, with the new `color_border` bool serving to optionally restore the previous text + colored border behavior.
* ui: adjust focused tag/color button styles
* fix: avoid namespace collision
* fix: make reserved namespace check case-insensitive
* ui: add namespace description + prompt
* fix: don't reset tag color if none are chosen
* refactor(ui): use form layout for build_color
* fix(ui): dynamically scale field title widget
* feat(ui): add additional tag shade colors
Add "burgundy", "dark-teal", and "dark_lavender" tag colors.
* fix: don't check for self in collision checks
* fix: update tag references on color update
* fix(ui): stop fields widgets expanding indefinitely1 parent 2173d1d commit 28de21a
File tree
19 files changed
+1678
-101
lines changed- tagstudio
- resources/translations
- src
- core
- library/alchemy
- qt
- modals
- widgets
19 files changed
+1678
-101
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
| |||
11 | 24 | | |
12 | 25 | | |
13 | 26 | | |
| 27 | + | |
14 | 28 | | |
15 | 29 | | |
16 | 30 | | |
| |||
96 | 110 | | |
97 | 111 | | |
98 | 112 | | |
| 113 | + | |
99 | 114 | | |
100 | 115 | | |
101 | 116 | | |
| |||
143 | 158 | | |
144 | 159 | | |
145 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
146 | 165 | | |
147 | 166 | | |
148 | 167 | | |
| |||
175 | 194 | | |
176 | 195 | | |
177 | 196 | | |
178 | | - | |
179 | 197 | | |
| 198 | + | |
180 | 199 | | |
181 | 200 | | |
182 | 201 | | |
| |||
185 | 204 | | |
186 | 205 | | |
187 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
188 | 212 | | |
189 | 213 | | |
190 | 214 | | |
| |||
228 | 252 | | |
229 | 253 | | |
230 | 254 | | |
| 255 | + | |
231 | 256 | | |
232 | 257 | | |
233 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
310 | 316 | | |
311 | 317 | | |
312 | 318 | | |
| |||
319 | 325 | | |
320 | 326 | | |
321 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
322 | 334 | | |
323 | 335 | | |
324 | 336 | | |
325 | 337 | | |
326 | 338 | | |
327 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
328 | 346 | | |
329 | 347 | | |
330 | 348 | | |
331 | 349 | | |
332 | 350 | | |
333 | 351 | | |
334 | | - | |
| 352 | + | |
335 | 353 | | |
336 | 354 | | |
337 | 355 | | |
| |||
421 | 439 | | |
422 | 440 | | |
423 | 441 | | |
| 442 | + | |
424 | 443 | | |
425 | 444 | | |
426 | 445 | | |
427 | 446 | | |
428 | 447 | | |
429 | 448 | | |
430 | 449 | | |
| 450 | + | |
431 | 451 | | |
432 | 452 | | |
433 | 453 | | |
434 | 454 | | |
435 | 455 | | |
436 | 456 | | |
437 | 457 | | |
| 458 | + | |
438 | 459 | | |
439 | 460 | | |
440 | 461 | | |
441 | 462 | | |
442 | 463 | | |
443 | 464 | | |
444 | 465 | | |
| 466 | + | |
445 | 467 | | |
446 | 468 | | |
447 | 469 | | |
448 | 470 | | |
449 | 471 | | |
450 | 472 | | |
451 | 473 | | |
| 474 | + | |
452 | 475 | | |
453 | 476 | | |
454 | 477 | | |
455 | 478 | | |
456 | 479 | | |
457 | 480 | | |
458 | 481 | | |
| 482 | + | |
459 | 483 | | |
460 | 484 | | |
461 | 485 | | |
462 | 486 | | |
463 | 487 | | |
464 | 488 | | |
465 | 489 | | |
| 490 | + | |
466 | 491 | | |
467 | 492 | | |
468 | 493 | | |
469 | 494 | | |
470 | 495 | | |
471 | 496 | | |
472 | 497 | | |
| 498 | + | |
473 | 499 | | |
474 | 500 | | |
475 | 501 | | |
476 | 502 | | |
477 | 503 | | |
478 | 504 | | |
479 | 505 | | |
| 506 | + | |
480 | 507 | | |
481 | 508 | | |
482 | 509 | | |
483 | 510 | | |
484 | 511 | | |
485 | 512 | | |
486 | 513 | | |
| 514 | + | |
487 | 515 | | |
488 | 516 | | |
489 | 517 | | |
490 | 518 | | |
491 | 519 | | |
492 | 520 | | |
493 | 521 | | |
| 522 | + | |
494 | 523 | | |
495 | 524 | | |
496 | 525 | | |
497 | 526 | | |
498 | 527 | | |
499 | 528 | | |
500 | 529 | | |
| 530 | + | |
501 | 531 | | |
502 | 532 | | |
503 | 533 | | |
504 | 534 | | |
505 | 535 | | |
506 | 536 | | |
507 | 537 | | |
| 538 | + | |
508 | 539 | | |
509 | 540 | | |
510 | 541 | | |
511 | 542 | | |
512 | 543 | | |
513 | 544 | | |
514 | 545 | | |
| 546 | + | |
515 | 547 | | |
516 | 548 | | |
517 | 549 | | |
518 | 550 | | |
519 | 551 | | |
520 | 552 | | |
521 | 553 | | |
| 554 | + | |
522 | 555 | | |
523 | 556 | | |
524 | 557 | | |
| |||
0 commit comments