Skip to content

Commit

Permalink
fix(css): updated order
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintonJason committed Aug 6, 2024
1 parent 41853aa commit 7b2ac62
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/sage-assets/lib/stylesheets/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ $-sage-card-background: transparent;
.sage-card {
@include sage-card();

background-color: sage-color(white);
box-shadow: sage-shadow(md);
position: relative;
width: 100%;
background-color: sage-color(white);
box-shadow: sage-shadow(md);
}

.sage-card--border-dashed {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ $-stat-box-image-max-width: rem(48px);
.sage-stat-box {
// Styles here
@include sage-card($grid: false);
background-color: sage-color(white);
padding: rem(18px) sage-spacing(sm);
border-radius: sage-border(radius-large);
box-shadow: sage-shadow(md);
background-color: sage-color(white);

&.sage-stat-box--raised {
box-shadow: sage-shadow(sm);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ $-switch-toggle-size: rem(16px);

&.sage-switch--has-border {
align-items: center;
background-color: sage-color(white);
padding: sage-spacing(card);
border: sage-border();
border-radius: sage-border(radius);
box-shadow: sage-shadow(md);
background-color: sage-color(white);
}

&.sage-switch--toggle-right {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ $-transaction-card-price-max-width: rem(100px);
.sage-transaction-card {
@include sage-card;

background-color: sage-color(white);
box-shadow: sage-shadow(md);
position: relative;
width: 100%;
background-color: sage-color(white);
box-shadow: sage-shadow(md);

> * {
min-width: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-assets/lib/stylesheets/layout/_frame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ $-sage-frame-wrap: none;

// Root element
.sage-frame {
background-color: $-sage-frame-background;
display: flex;
background-color: $-sage-frame-background;

// Add default settings
&:not([class*="sage-frame--align-"]) {
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-assets/lib/stylesheets/tokens/_shadow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// Sage shadows token
///
$sage-shadows: (
sm: (0 1px 2px rgba(sage-color(grey, 95), 0.06), 0 1px 3px rgba(sage-color(grey, 95), 0.10)),
sm: (0 1px 2px rgba(sage-color(grey, 95), 0.06), 0 1px 3px rgba(sage-color(grey, 95), 0.1)),
md: (0 4px 6px -2px rgba(sage-color(grey, 95), 0.03), 0 12px 16px -4px rgba(sage-color(grey, 95), 0.08)),
lg: (0 24px 48px -12px rgba(sage-color(grey, 95), 0.18)),
modal: (0 32px 64px -12px rgba(sage-color(grey, 95), 0.24)),
Expand Down

0 comments on commit 7b2ac62

Please sign in to comment.