Skip to content

Commit

Permalink
Increase contrast for card box-shadow (#7253)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio authored Jan 29, 2025
2 parents 186a6ab + 18c34fe commit c3b8fbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/themes/default/src/components/card.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
@import '../mixins/rem';

@layer kol-theme-component {
/* https://www.figma.com/file/56JbmrssCRpjpfxoAFeHqT/Design-System-EPLF-(in-progress)?node-id=8225%3A5945 */
.kol-card {
font-family: var(--font-family);
display: grid;
width: 100%;
height: 100%;
background-color: var(--color-light);
grid-template-rows: min-content 2fr min-content;
box-shadow: 0 0 rem(4) var(--color-subtle);
box-shadow: 0 0 rem(4) color-mix(in srgb, black 80%, var(--color-subtle)); // darken by 80% to maintain contrast of 3:1
border-radius: var(--border-radius);

&__header {
Expand Down

0 comments on commit c3b8fbd

Please sign in to comment.