Skip to content

Commit c894277

Browse files
author
Dobromir Hristov
committed
refactor: use pre-defined colors for card-shadow
1 parent 1609024 commit c894277

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/styles/core/colors/_dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@
8787
--color-tutorial-background: var(--color-fill-tertiary);
8888
--color-navigator-item-hover: #{change-color(dark-color(fill-blue), $alpha: 0.5)};
8989

90-
--color-card-shadow: rgb(255, 255, 255, 0.04);
90+
--color-card-shadow: #{change-color(light-color(fill), $alpha: 0.04)};
9191
}

src/styles/core/colors/_light.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,5 @@
194194
--color-card-background: var(--color-fill);
195195
--color-card-content-text: var(--color-figure-gray);
196196
--color-card-eyebrow: var(--color-figure-gray-secondary-alt);
197-
--color-card-shadow: rgb(0, 0, 0, 0.04);
197+
--color-card-shadow: #{change-color(dark-color(fill), $alpha: 0.04)};
198198
}

0 commit comments

Comments
 (0)