Give tags a quieter look everywhere they show - the tag's colour as a faint wash, a fine edge and its icon, the name in the page's own text colour, pale colours darkened on white and dark ones lifted in dark mode - on lists, record pages, Admin > Tags, the tag window, global search, the tag picker and every Tags filter, through the one .itflow-tag style, a soft .itflow-select-badge for tag options (tagOptionLook()) and the search tag icon

This commit is contained in:
johnnyq
2026-10-25 15:45:57 -04:00
parent 52df79f8b0
commit 91e9792c3c
13 changed files with 83 additions and 29 deletions

View File

@@ -95,7 +95,7 @@ ob_start();
<select class="form-select select2" name="into_tag_id" data-placeholder="- Keep which tag -" required>
<option value=""></option>
<?php foreach ($into as $into_id => $row) { ?>
<option value="<?= intval($into_id) ?>"<?= intval($into_id) === $keep_id ? ' selected' : '' ?><?= selectOptionColor(tagColor($row['tag_color']), tagIcon($row['tag_icon'])) ?>><?= escapeHtml($row['tag_name']) ?><?= isset($merging[$into_id]) ? ' (one of these)' : '' ?><?= $row['tag_archived_at'] ? ' (archived)' : '' ?></option>
<option value="<?= intval($into_id) ?>"<?= intval($into_id) === $keep_id ? ' selected' : '' ?><?= tagOptionLook($row['tag_color'], $row['tag_icon']) ?>><?= escapeHtml($row['tag_name']) ?><?= isset($merging[$into_id]) ? ' (one of these)' : '' ?><?= $row['tag_archived_at'] ? ' (archived)' : '' ?></option>
<?php } ?>
</select>
</div>