fix(ui): swap colors for inverted/non-inverted in Divider component
Fixes #4602
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
hr {
|
hr {
|
||||||
@apply border-none outline-none bg-inv-2 self-stretch;
|
@apply border-none outline-none bg-def-3 self-stretch;
|
||||||
|
|
||||||
&.inverted {
|
&.inverted {
|
||||||
@apply bg-def-3;
|
@apply bg-inv-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-orientation="horizontal"] {
|
&[data-orientation="horizontal"] {
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ const welcome = (props: {
|
|||||||
Start building
|
Start building
|
||||||
</Button>
|
</Button>
|
||||||
<div class="separator">
|
<div class="separator">
|
||||||
<Divider orientation="horizontal" inverted={true} />
|
<Divider orientation="horizontal" />
|
||||||
<Typography
|
<Typography
|
||||||
hierarchy="body"
|
hierarchy="body"
|
||||||
size="s"
|
size="s"
|
||||||
@@ -146,7 +146,7 @@ const welcome = (props: {
|
|||||||
>
|
>
|
||||||
or
|
or
|
||||||
</Typography>
|
</Typography>
|
||||||
<Divider orientation="horizontal" inverted={true} />
|
<Divider orientation="horizontal" />
|
||||||
</div>
|
</div>
|
||||||
<Button hierarchy="primary" ghost={true} onAction={selectFolder}>
|
<Button hierarchy="primary" ghost={true} onAction={selectFolder}>
|
||||||
Select folder
|
Select folder
|
||||||
@@ -318,7 +318,7 @@ export const Onboarding: Component<RouteSectionProps> = (props) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Field>
|
</Field>
|
||||||
<Divider inverted={true} />
|
<Divider />
|
||||||
<Field name="description">
|
<Field name="description">
|
||||||
{(field, input) => (
|
{(field, input) => (
|
||||||
<TextArea
|
<TextArea
|
||||||
|
|||||||
Reference in New Issue
Block a user