about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/components/actions_modal.js
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2018-04-18 23:52:15 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-04-18 16:52:15 +0200
commit74dae9458d118b066cd74b16aab2aa9cafbf3fba (patch)
tree58891425c6b525278bf8b15da2f519d95b6f5723 /app/javascript/mastodon/features/ui/components/actions_modal.js
parent0ba49eca8b49c6ce0ec04fd546951c95938da4e6 (diff)
Add color variables of texts for better accesibility (#7125)
* Add variables for text colors

* Change variables in sass files

* Apply text color variables for recently added colors

* Fix text colors of emoji mart anchors

* Fix text colors of search__input

* Fix text colors of text area of compose-form

* Fix icon colors of privacy dropdown and modal

* Inverted icon colors by classname

* Change variables in boost.scss

* Change action-button-color

* Fix text colors of pre-header
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/actions_modal.js')
-rw-r--r--app/javascript/mastodon/features/ui/components/actions_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/actions_modal.js b/app/javascript/mastodon/features/ui/components/actions_modal.js
index 79a5a20ef..9792eba5f 100644
--- a/app/javascript/mastodon/features/ui/components/actions_modal.js
+++ b/app/javascript/mastodon/features/ui/components/actions_modal.js
@@ -27,7 +27,7 @@ export default class ActionsModal extends ImmutablePureComponent {
     return (
       <li key={`${text}-${i}`}>
         <a href={href} target='_blank' rel='noopener' onClick={this.props.onClick} data-index={i} className={classNames({ active })}>
-          {icon && <IconButton title={text} icon={icon} role='presentation' tabIndex='-1' />}
+          {icon && <IconButton title={text} icon={icon} role='presentation' tabIndex='-1' inverted />}
           <div>
             <div className={classNames({ 'actions-modal__item-label': !!meta })}>{text}</div>
             <div>{meta}</div>