Skip to content

Commit

Permalink
chore: match style for breadcrumb (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
paanSinghCoder authored Nov 22, 2024
1 parent 6925242 commit eefedf8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/www/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThemeProvider } from "@raystack/apsara";
import { ThemeProvider } from "@raystack/apsara/v1";
import type { AppProps } from "next/app";
import { Inter, Roboto_Mono } from "next/font/google";
import { Navbar } from "~/components/Navbar";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
.breadcrumb-item {
display: flex;
align-items: center;
margin-right: var(--rs-space-2);
text-wrap: nowrap;
}

Expand All @@ -31,7 +30,6 @@
align-items: center;
color: var(--rs-color-text-base-tertiary);
text-decoration: none;
margin-right: var(--rs-space-1);
text-wrap: nowrap;
}

Expand All @@ -48,19 +46,18 @@
.breadcrumb-icon {
display: flex;
align-items: center;
margin-right: var(--rs-space-1);
margin-right: var(--rs-space-2);
}

.breadcrumb-separator {
color: var(--rs-color-text-base-tertiary);
margin: 0 var(--rs-space-2);
margin: 0 var(--rs-space-5);
}

.breadcrumb-ellipsis {
display: flex;
align-items: center;
color: var(--rs-color-text-base-secondary);
margin: 0 var(--rs-space-3) 0 var(--rs-space-2);
}

.breadcrumb-ellipsis svg {
Expand All @@ -81,11 +78,9 @@
font-weight: inherit;
outline: none;
padding: 0;
margin-right: var(--rs-space-1);
}

.breadcrumb-dropdown-icon {
margin-left: var(--rs-space-1);
height: var(--rs-space-3);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/raystack/v1/styles/accent.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
--rs-accent-10: #7de0cb;
--rs-accent-11: #027864;
--rs-accent-12: #16433c;
--rs-accent-contrast: #000000;
--rs-accent-contrast: #ffffff;
}

[data-accent-color='mint'][data-theme='dark'] {
Expand All @@ -93,5 +93,5 @@
--rs-accent-10: #a8f5e5;
--rs-accent-11: #58d5ba;
--rs-accent-12: #c4f5e1;
--rs-accent-contrast: #000000;
--rs-accent-contrast: #ffffff;
}

0 comments on commit eefedf8

Please sign in to comment.