Skip to content

Commit

Permalink
(chore): update carbon styling imports
Browse files Browse the repository at this point in the history
  • Loading branch information
NethmiRodrigo committed Aug 5, 2024
1 parent 3d3a6ca commit b6c4309
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/esm-home-app/src/dashboard/home-dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '@carbon/colors';
@use '@carbon/styles/scss/spacing';

.homePageWrapper {
display: flex;
Expand Down
4 changes: 3 additions & 1 deletion packages/esm-home-app/src/header-date/header-date.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '@carbon/layout';

.value {
margin-left: 0.25rem
margin-left: layout.$spacing-02;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '@carbon/styles/scss/spacing';
@use '@carbon/layout';

.homePageWidget {
padding: spacing.$spacing-05;
padding: layout.$spacing-05;
}
4 changes: 3 additions & 1 deletion packages/esm-home-app/src/metrics/metrics.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@use '@carbon/layout';

.metricTilesSlot {
display: flex;
margin: 0.5rem 0.5rem 0 0.5rem;
margin: layout.$spacing-03 layout.$spacing-03 0 layout.$spacing-03;

[data-extension-id] {
flex-grow: 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-home-app/src/page-header/page-header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@carbon/colors';
@use '@carbon/layout';
@use '@carbon/type';
@import '~@openmrs/esm-styleguide/src/vars';
@use '@openmrs/esm-styleguide/src/vars' as *;

.header {
@include type.type-style('body-compact-02');
Expand Down

0 comments on commit b6c4309

Please sign in to comment.