fix(ui): swap colors for inverted/non-inverted in Divider component

Fixes #4602
This commit is contained in:
Brian McGee
2025-08-11 17:41:22 +01:00
parent f86fe07b63
commit 24ae95a007
2 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
hr {
@apply border-none outline-none bg-inv-2 self-stretch;
@apply border-none outline-none bg-def-3 self-stretch;
&.inverted {
@apply bg-def-3;
@apply bg-inv-2;
}
&[data-orientation="horizontal"] {

View File

@@ -136,7 +136,7 @@ const welcome = (props: {
Start building
</Button>
<div class="separator">
<Divider orientation="horizontal" inverted={true} />
<Divider orientation="horizontal" />
<Typography
hierarchy="body"
size="s"
@@ -146,7 +146,7 @@ const welcome = (props: {
>
or
</Typography>
<Divider orientation="horizontal" inverted={true} />
<Divider orientation="horizontal" />
</div>
<Button hierarchy="primary" ghost={true} onAction={selectFolder}>
Select folder
@@ -318,7 +318,7 @@ export const Onboarding: Component<RouteSectionProps> = (props) => {
/>
)}
</Field>
<Divider inverted={true} />
<Divider />
<Field name="description">
{(field, input) => (
<TextArea