Fix Flipper lints #10

Summary:
Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that.
A few promise cleanups

Reviewed By: aigoncharov

Differential Revision: D31323610

fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089
This commit is contained in:
Pascal Hartig
2021-10-01 08:07:16 -07:00
committed by Facebook GitHub Bot
parent fe3eda024b
commit 4aa7439fbf
8 changed files with 19 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ import {Property} from 'csstype';
import React from 'react';
const defaultOptions = {
backgroundColor: colors.blueGrey,
backgroundColor: colors.blueGray,
position: 'below',
color: colors.white,
showTail: true,

View File

@@ -87,15 +87,15 @@ export const colors = {
dark90: '#191919', // Dark 90 Nav Bar, Tab Bar, Cards - Nav bar, tab bar, cards
dark95: '#0d0d0d', // Dark 95 Background Wash - Background Wash
// FIG Spectrum
blueGrey: '#5f6673', // Blue Grey
blueGreyDark3: '#23272f', // Blue Grey - Dark 3
blueGreyDark2: '#303846', // Blue Grey - Dark 2
blueGreyDark1: '#4f5766', // Blue Grey - Dark 1
blueGreyTint15: '#777d88', // Blue Grey - Tint 15
blueGreyTint30: '#8f949d', // Blue Grey - Tint 30
blueGreyTint50: '#afb3b9', // Blue Grey - Tint 50
blueGreyTint70: '#cfd1d5', // Blue Grey - Tint 70
blueGreyTint90: '#eff0f1', // Blue Grey - Tint 90
blueGray: '#5f6673', // Blue Grey
blueGrayDark3: '#23272f', // Blue Grey - Dark 3
blueGrayDark2: '#303846', // Blue Grey - Dark 2
blueGrayDark1: '#4f5766', // Blue Grey - Dark 1
blueGrayTint15: '#777d88', // Blue Grey - Tint 15
blueGrayTint30: '#8f949d', // Blue Grey - Tint 30
blueGrayTint50: '#afb3b9', // Blue Grey - Tint 50
blueGrayTint70: '#cfd1d5', // Blue Grey - Tint 70
blueGrayTint90: '#eff0f1', // Blue Grey - Tint 90
slate: '#b9cad2', // Slate
slateDark3: '#688694', // Slate - Dark 3
slateDark2: '#89a1ac', // Slate - Dark 2