Skip to content

Commit

Permalink
[RNMobile] Update Video caption placeholder color to match other plac…
Browse files Browse the repository at this point in the history
…eholder text styles (#16716)
  • Loading branch information
maxme authored and mchowning committed Jul 25, 2019
1 parent c3a39f4 commit 8f542ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/video/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ class VideoEdit extends React.Component {
underlineColorAndroid="transparent"
value={ caption }
placeholder={ __( 'Write caption…' ) }
placeholderTextColor={ style.captionPlaceholder.color }
onChangeText={ ( newCaption ) => setAttributes( { caption: newCaption } ) }
onFocus={ this.props.onFocus }
/>
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/video/style.native.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
font-family: $default-regular-font;
}

.captionPlaceholder {
color: $gray;
}

.icon {
fill: $gray-dark;
width: 100%;
Expand Down

0 comments on commit 8f542ba

Please sign in to comment.