diff --git a/core/src/components/toast/readme.md b/core/src/components/toast/readme.md index 995689e4a3..74ce9ab3db 100644 --- a/core/src/components/toast/readme.md +++ b/core/src/components/toast/readme.md @@ -242,6 +242,14 @@ that is called in the same circustances. Present the toast overlay after it has been created. +## CSS Custom Properties + +| Name | Description | +| ---------------- | ------------------------ | +| `--background` | Background of the toast | +| `--button-color` | Color of the button text | +| `--color` | Color of the toast text | + ---------------------------------------------- diff --git a/core/src/components/toast/test/standalone/index.html b/core/src/components/toast/test/standalone/index.html index 65fa9f77e5..0a709a161d 100644 --- a/core/src/components/toast/test/standalone/index.html +++ b/core/src/components/toast/test/standalone/index.html @@ -17,6 +17,7 @@ + @@ -32,6 +33,12 @@ border-radius: 4px; margin-bottom: 8px; } + + .custom { + --background: papayawhip; + --button-color: blue; + --color: red; + }