Skip to content

Commit

Permalink
feat(plate): added custom variable for box-shadow (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghettojezuz authored Sep 13, 2022
1 parent bf66e85 commit 4d75e4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plate/src/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/* custom view */
--plate-background: transparent;
--plate-border-color: var(--color-static-status-grey);
--plate-box-shadow: var(--shadow-s);

/* icons */
--plate-closer-icon: url('https://alfabank.servicecdn.ru/icons/glyph_cross_m.svg');
Expand Down Expand Up @@ -70,7 +71,7 @@
}

.shadow {
box-shadow: var(--shadow-s);
box-shadow: var(--plate-box-shadow);
}

.common {
Expand Down

0 comments on commit 4d75e4e

Please sign in to comment.