Skip to content

TagSpaces is an offline, open source, document manager with tagging support

change the color of the x button on tags to tag's text color

Ilian Sapundshiev95ef5c09bac9
diff --git a/app/components/TagContainer.js b/app/components/TagContainer.js
index 0c48badf6..31c40665e 100644
--- a/app/components/TagContainer.js
+++ b/app/components/TagContainer.js
@@ -76,7 +76,7 @@ class TagContainer extends React.Component<Props> {
<RemoveTagIcon
data-tid={'tagRemoveButton_' + tag.title.replace(/ /g, '_')}
style={{
- color: 'white'
+ color: tag.textColor
}}
onClick={event => this.props.handleRemoveTag(event, tag)}
/>