1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 23:02:58 +00:00

Merge pull request #87 from koloml/bugfix/maintenance-popups-tags-appearance

Fixed tag in popups having broken appearance after themes updates for Philomena, updated how colors applied to tags
This commit is contained in:
2025-02-15 17:53:31 -05:00
committed by GitHub
3 changed files with 12 additions and 9 deletions

View File

@@ -112,6 +112,9 @@ export async function buildStyle(buildOptions) {
}
},
emptyOutDir: false,
},
resolve: {
alias: makeAliases(buildOptions.rootDir)
}
});

View File

@@ -0,0 +1,4 @@
// These variables are defined dynamically based on the category of the tag
$resolved-tag-background: var(--tag-background);
$resolved-tag-border: var(--tag-border);
$resolved-tag-color: var(--tag-color);

View File

@@ -1,4 +1,5 @@
@use '../colors';
@use '$styles/colors';
@use '$styles/booru-colors';
// This will fix wierd misplacing of the modified media boxes in the listing.
.js-resizable-media-container {
@@ -62,17 +63,12 @@
.tag {
cursor: pointer;
padding: 0 6px;
padding: 5px;
user-select: none;
&:hover {
background: colors.$tag-text;
color: colors.$tag-background;
}
&[data-tag-category=error]:hover {
background: colors.$tag-error-text;
color: colors.$tag-error-background;
background: booru-colors.$resolved-tag-color;
color: booru-colors.$resolved-tag-background;
}
&.is-missing:not(.is-added),