Skip to content

Commit

Permalink
fixup! fix(tags): Invert unreadable tag labels
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Dec 1, 2023
1 parent 9fe11cf commit 41ae25f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/components/Tag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<div class="tag"
:class="{ 'tag--small': small }"
:style="{ 'background-color': convertHex(color, 0.2) }">
<span class="tag__label">{{ label }}</span>
<span class="tag__label"
:style="{ 'color': convertHex(color, 0.8) }">{{ label }}</span>
</div>
</template>

Expand Down Expand Up @@ -72,6 +73,7 @@ export default {
&__label {
font-size: var(--default-font-size);
font-weight: bold;
filter: brightness(0.3);
}
&--small {
Expand Down
2 changes: 1 addition & 1 deletion src/components/TagGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import Tag from './Tag.vue'
export default {
name: 'TagGroup',
components: {
Tag
Tag,
},
props: {
tags: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ThreadEnvelope.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ import TaskModal from './TaskModal.vue'
import EventModal from './EventModal.vue'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import TagGroup from "./TagGroup.vue";
import TagGroup from './TagGroup.vue'
// Ternary loading state
const LOADING_DONE = 0
Expand Down

0 comments on commit 41ae25f

Please sign in to comment.