From 080c74614020509ee49e42cfe867c8ea9bdb1680 Mon Sep 17 00:00:00 2001 From: Robert-Jan de Dreu <160743+rjd22@users.noreply.github.com> Date: Sat, 3 Jun 2023 16:16:02 +0200 Subject: [PATCH] fix: #1588 add important alert with title (#1609) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: codecalm Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com> --- .changeset/hip-jobs-double.md | 5 +++ docs/components/alerts.mdx | 15 +++++++ src/pages/_data/menu.yml | 3 ++ src/pages/_includes/ui/alert.html | 39 +++++++++++++----- src/pages/alerts.html | 67 +++++++++++++++++++++++++++++++ src/scss/ui/_alerts.scss | 9 ++++- 6 files changed, 127 insertions(+), 11 deletions(-) create mode 100644 .changeset/hip-jobs-double.md create mode 100644 src/pages/alerts.html diff --git a/.changeset/hip-jobs-double.md b/.changeset/hip-jobs-double.md new file mode 100644 index 000000000..0692c94f4 --- /dev/null +++ b/.changeset/hip-jobs-double.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": minor +--- + +Adding `alerts.html` page with example of alerts. diff --git a/docs/components/alerts.mdx b/docs/components/alerts.mdx index 6e5579400..2311ec34f 100644 --- a/docs/components/alerts.mdx +++ b/docs/components/alerts.mdx @@ -352,6 +352,21 @@ Add primary and secondary buttons to your alert modals if you want users to take If you want your alert to be really eye-catching, you can add a class `alert-important`. ```html example +