Skip to content

Commit

Permalink
Fix feedback prompt on dark mode
Browse files Browse the repository at this point in the history
Summary:
https://pxl.cl/2tKXq

It was reported the feedback prompt title was unreadable.

Reviewed By: mweststrate

Differential Revision: D43533800

fbshipit-source-id: f756a9822c479105dae890159518c05c99405fb7
  • Loading branch information
lblasa authored and facebook-github-bot committed Feb 23, 2023
1 parent 26a7e17 commit b062ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/flipper-ui-core/src/chrome/RatingButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {StarOutlined} from '@ant-design/icons';
import {Popover, Rate} from 'antd';
import {useStore} from '../utils/useStore';
import {isLoggedIn} from '../fb-stubs/user';
import {useValue} from 'flipper-plugin';
import {theme, useValue} from 'flipper-plugin';
import {reportPlatformFailures} from 'flipper-common';
import {getRenderHostInstance} from 'flipper-frontend-core';

Expand Down Expand Up @@ -254,7 +254,7 @@ class FeedbackComponent extends Component<
paddingTop: 10,
paddingBottom: 10,
}}>
<Row key="heading" style={{color: 'black', fontSize: 20}}>
<Row key="heading" style={{color: theme.primaryColor, fontSize: 20}}>
{this.state.nextAction === 'finished'
? this.props.promptData.postSubmitHeading
: this.props.promptData.preSubmitHeading}
Expand Down

0 comments on commit b062ee0

Please sign in to comment.