Dark mode tweaks

Summary: Went over all plugins and did superficial fixes to make most plugins look decent or at least usable in dark mode, which before they weren't :)

Reviewed By: priteshrnandgaonkar

Differential Revision: D29456680

fbshipit-source-id: 3952e5da512c68b89434eea081faf121d1049908
This commit is contained in:
Michel Weststrate
2021-06-29 08:38:33 -07:00
committed by Facebook GitHub Bot
parent 014e571f74
commit 8cbdd3d148
14 changed files with 70 additions and 225 deletions

View File

@@ -7,10 +7,11 @@
* @format
*/
import {colors, FlexCenter, styled} from 'flipper';
import {FlexCenter, styled} from 'flipper';
import {NavigationInfoBox} from './';
import {Bookmark, NavigationEvent, URI} from '../types';
import React, {useRef} from 'react';
import {theme} from 'flipper-plugin';
type Props = {
bookmarks: Map<string, Bookmark>;
@@ -21,7 +22,7 @@ type Props = {
const TimelineLine = styled.div({
width: 2,
backgroundColor: colors.highlight,
backgroundColor: theme.textColorActive,
position: 'absolute',
top: 38,
bottom: 0,
@@ -32,7 +33,7 @@ const TimelineContainer = styled.div({
paddingLeft: 25,
overflowY: 'scroll',
flexGrow: 1,
backgroundColor: colors.light02,
backgroundColor: theme.backgroundWash,
scrollBehavior: 'smooth',
'&>div': {
position: 'relative',
@@ -53,8 +54,8 @@ const NavigationEventContainer = styled.div({
const NoData = styled(FlexCenter)({
height: '100%',
fontSize: 18,
backgroundColor: colors.macOSTitleBarBackgroundBlur,
color: colors.macOSTitleBarIcon,
backgroundColor: theme.backgroundWash,
color: theme.textColorSecondary,
});
export default (props: Props) => {