Fixing text colors on subscriptions, dashboards, and modals.

pull/688/head
Kellan Wampler 2022-11-02 10:18:50 -04:00
rodzic 3776a90ba1
commit 4928e59fee
4 zmienionych plików z 13 dodań i 4 usunięć

Wyświetl plik

@ -112,6 +112,7 @@ const Analytics = () => {
direction="column" direction="column"
alignItems="center" alignItems="center"
minH="100vh" minH="100vh"
color="black"
> >
<Stack <Stack
direction={["column", "row", null]} direction={["column", "row", null]}
@ -122,6 +123,7 @@ const Analytics = () => {
<Editable <Editable
as={Heading} as={Heading}
colorScheme="blue" colorScheme="blue"
textColor="white"
placeholder="enter note here" placeholder="enter note here"
defaultValue={dashboardCache.data.resource_data.name} defaultValue={dashboardCache.data.resource_data.name}
onSubmit={(nextValue) => onSubmit={(nextValue) =>

Wyświetl plik

@ -100,6 +100,9 @@ const Report = ({ data, timeRange }) => {
enableSlices={false} enableSlices={false}
enableGridX={true} enableGridX={true}
enableGridY={true} enableGridY={true}
theme={{
textColor: "white",
}}
/> />
); );
}; };

Wyświetl plik

@ -105,7 +105,11 @@ const SubscriptionReport = ({
flexBasis={plotMinW} flexBasis={plotMinW}
direction="column" direction="column"
> >
<Text fontSize="xs" textAlign="right">{`Latest block number: ${ <Text
fontSize="xs"
textAlign="right"
textColor="white"
>{`Latest block number: ${
data?.blocks_state?.latest_labelled_block ?? "Not available" data?.blocks_state?.latest_labelled_block ?? "Not available"
}`}</Text> }`}</Text>
<Flex <Flex
@ -154,7 +158,7 @@ const SubscriptionReport = ({
flexBasis={plotMinW} flexBasis={plotMinW}
direction="column" direction="column"
> >
<Heading size="md" pt={4}> <Heading size="md" pt={4} textColor="white">
Events Events
</Heading> </Heading>
{eventKeys.map((key) => { {eventKeys.map((key) => {

Wyświetl plik

@ -270,7 +270,7 @@ const OverlayProvider = ({ children }) => {
> >
<ModalOverlay /> <ModalOverlay />
<ModalContent> <ModalContent textColor="black">
<ModalHeader bgColor="white.200" py={2} fontSize="lg"> <ModalHeader bgColor="white.200" py={2} fontSize="lg">
{modal.type === MODAL_TYPES.NEW_SUBSCRIPTON && {modal.type === MODAL_TYPES.NEW_SUBSCRIPTON &&
"Subscribe to a new address"} "Subscribe to a new address"}
@ -345,7 +345,7 @@ const OverlayProvider = ({ children }) => {
}} }}
> >
<DrawerOverlay /> <DrawerOverlay />
<DrawerContent overflowY="scroll"> <DrawerContent overflowY="scroll" textColor="black">
<DrawerCloseButton /> <DrawerCloseButton />
<DrawerHeader borderBottomWidth="1px"> <DrawerHeader borderBottomWidth="1px">
{drawer.type === DRAWER_TYPES.NEW_DASHBOARD && "New dashboard"} {drawer.type === DRAWER_TYPES.NEW_DASHBOARD && "New dashboard"}