Skip to content

Commit

Permalink
fix(admin-ui): Improve collection breadcrumb styling (#2589)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislaai authored Dec 18, 2023
1 parent a7fa1bb commit f5acf0f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ clr-checkbox-wrapper {
font-size: 0.65rem;
display: inline-block;
margin-inline-end: 10px;
&:last-child {
font-weight: 600;
}
}
li:not(:last-child)::after {
content: '';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Note: variables defined in this file should use the !default flag so they can be
// overridden by custom Admin UI applications
$clr-sidenav-width: 10.8rem !default;

$clr-link-visited-color: var(--color-weight-700) !default;
$clr-link-hover-color: var(--color-weight-700) !default;
$clr-link-active-color: var(--color-weight-700) !default;
$clr-link-color: var(--color-weight-700) !default;
8 changes: 4 additions & 4 deletions packages/admin-ui/src/lib/static/styles/theme/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@

--clr-popover-box-shadow-color: hsla(0, 0%, 0%, 0.5);

--clr-link-active-color: hsl(198, 65%, 57%);
--clr-link-color: hsl(198, 65%, 57%);
--clr-link-hover-color: hsl(198, 65%, 57%);
--clr-link-visited-color: hsl(228, 55%, 75%);
--clr-link-visited-color: var(--color-weight-700);
--clr-link-hover-color: var(--color-weight-700);
--clr-link-active-color: var(--color-weight-700);
--clr-link-color: var(--color-weight-700);

--clr-theme-alert-font-color: hsl(210, 16%, 93%);
--clr-theme-app-alert-font-color: hsl(0, 0%, 0%);
Expand Down
6 changes: 6 additions & 0 deletions packages/admin-ui/src/lib/static/styles/theme/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,10 @@

// spacing
--space-unit: 8px;

// clarity styles
--clr-link-visited-color: var(--color-weight-700);
--clr-link-hover-color: var(--color-weight-700);
--clr-link-active-color: var(--color-weight-700);
--clr-link-color: var(--color-weight-700);
}

0 comments on commit f5acf0f

Please sign in to comment.