mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
interface: fix content transparency in dark mode
This commit is contained in:
parent
4e84c43380
commit
ff50753c71
@ -63,7 +63,9 @@ function Group(props: GroupProps) {
|
||||
<Tile to={`/~landscape${path}`}>
|
||||
<Col height="100%" justifyContent="space-between">
|
||||
<Text>{title}</Text>
|
||||
{unreads > 0 && <Text gray>{unreads} unread </Text>}
|
||||
{unreads > 0 &&
|
||||
(<Text gray>{unreads} unread{unreads !== 1 && 's'} </Text>)
|
||||
}
|
||||
</Col>
|
||||
</Tile>
|
||||
);
|
||||
|
@ -29,9 +29,9 @@ function getGraphModuleIcon(module: string) {
|
||||
|
||||
const FilterBox = styled(Box)`
|
||||
background: linear-gradient(
|
||||
${(p) => p.theme.colors.scales.white10} 0%,
|
||||
${(p) => p.theme.colors.scales.white60} 40%,
|
||||
${(p) => p.theme.colors.scales.white100} 100%
|
||||
to bottom,
|
||||
transparent,
|
||||
${(p) => p.theme.colors.white}
|
||||
);
|
||||
`;
|
||||
|
||||
@ -91,7 +91,7 @@ const GraphNodeContent = ({ contents, mod, description, index }) => {
|
||||
width="100%"
|
||||
zIndex="1"
|
||||
height="calc(100% - 2em)"
|
||||
bottom="0px"
|
||||
bottom="-4px"
|
||||
position="absolute"
|
||||
/>
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user