Skip to content

Commit

Permalink
fix: Divider variable color (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Sep 17, 2020
1 parent 44f8198 commit 16e2f49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion packages/fuselage/src/components/Divider/styles.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@use '../../styles/colors.scss';
@use '../../styles/lengths.scss';

$divider-color: theme('divider-color', colors.neutral(300));

.rcx-divider {
margin-block: lengths.margin(8);

border: lengths.border-width(1) solid colors.neutral(300);
border: lengths.border-width(1) solid $divider-color;
}
2 changes: 1 addition & 1 deletion packages/fuselage/src/components/Sidebar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ $sidebar-item-color-selected: colors.foreground('hint');
padding-block: lengths.padding(12);
padding-inline: lengths.padding(16);

color: colors.foreground(info);
color: colors.foreground(hint);
}
}

0 comments on commit 16e2f49

Please sign in to comment.