💄(react) make modal backdrop color customisable

As we cannot user CSS vars into backdrop pseudo element, we decide to
create a dom element to simulate the modal backdrop.

Resolve #257
This commit is contained in:
jbpenrath
2024-02-15 11:30:39 +01:00
committed by Jean-Baptiste PENRATH
parent fac203314f
commit be1e2e2614
9 changed files with 60 additions and 30 deletions

View File

@@ -253,6 +253,7 @@ Here a the custom design tokens defined by the Toast.
| Token | Description |
|--------------- |----------------------------- |
| background-color | Default background color |
| backdrop-color | Default backdrop color |
| border-radius | Border radius of the modal |
| border-color | Border color of the modal |
| box-shadow | Box shadow of the modal |