-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 indefinitely
- Loading branch information
Showing
19 changed files
with
1,678 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,5 @@ | |
TAG_META = 2 | ||
RESERVED_TAG_START = 0 | ||
RESERVED_TAG_END = 999 | ||
|
||
RESERVED_NAMESPACE_PREFIX = "tagstudio" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.