ui: fix topic labels on notebook foreground

These appeared black on blue when they should be white on blue. We use `static` color for it as it remains the same in all themes.
This commit is contained in:
thecodrr
2020-04-21 11:52:11 +05:00
parent 8a9e83fc6b
commit b40d1a4440
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ function TopicDialog(props) {
>
<Box my={1}>
<Input
placeholder="name"
placeholder="Topic title"
onChange={(e) => {
setTopic(e.target.value);
}}

View File

@@ -57,11 +57,11 @@ class Notebook extends React.Component {
marginRight: 1,
borderRadius: "default",
color: "static",
paddingTop: 0.4,
paddingBottom: 0.4,
paddingTop: "2px",
paddingBottom: "2px",
}}
>
<Text variant="body" fontSize={11}>
<Text variant="body" color="static" fontSize={11}>
{topic.title}
</Text>
</Flex>