Skip to content

Commit

Permalink
Update CSS Constants (facebookarchive#863)
Browse files Browse the repository at this point in the history
Facebook has renamed these; just keeping things in sync.
  • Loading branch information
flarnie authored and ouchxp committed Apr 7, 2017
1 parent f172007 commit 7d12829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ gulp.task('css', function() {
/\bvar\(([\w-]+)\)/g,
function(match, name) {
var vars = {
'fbui-desktop-text-placeholder': '#9197a3',
'fbui-desktop-text-placeholder-focused': '#bdc1c9',
'fig-secondary-text': '#9197a3',
'fig-light-20': '#bdc1c9',
};
if (vars[name]) {
return vars[name];
Expand Down
4 changes: 2 additions & 2 deletions src/component/base/DraftEditorPlaceholder.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
*/

.public/DraftEditorPlaceholder/root {
color: var(fbui-desktop-text-placeholder);
color: var(fig-secondary-text);
position: absolute;
z-index: 0;
}

.public/DraftEditorPlaceholder/hasFocus {
color: var(fbui-desktop-text-placeholder-focused);
color: var(fig-light-20);
}

.DraftEditorPlaceholder/hidden {
Expand Down

0 comments on commit 7d12829

Please # to comment.