From 3fd27910ec46565a9fbc5f4f967060ff1d73c5e4 Mon Sep 17 00:00:00 2001 From: Muhammad Farhan Abdul Hadi Date: Thu, 11 Jun 2020 18:54:17 +0800 Subject: [PATCH] Added new success style class in doc This is based on #35 --- docs/adding-tiles/creating-your-own-tile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/adding-tiles/creating-your-own-tile.md b/docs/adding-tiles/creating-your-own-tile.md index c94fbcd..d4a52b3 100644 --- a/docs/adding-tiles/creating-your-own-tile.md +++ b/docs/adding-tiles/creating-your-own-tile.md @@ -118,7 +118,7 @@ If your component only needs to be refreshed partials, you can add `wire:poll` t The dashboard is styled using [Tailwind](https://tailwindcss.com). In your component you can use any of the classes Tailwind provides. -In addition to Tailwind, the dashboard defines these extra colors for you to use: `default`, `invers`, `dimmed`, `accent`, `canvas`, `tile`, `warning`, `error`. +In addition to Tailwind, the dashboard defines these extra colors for you to use: `default`, `invers`, `dimmed`, `accent`, `canvas`, `tile`, `success`, `warning`, `error`. By default, these colors are automatically shared by the `textColor`, `borderColor`, and `backgroundColor` utilities, so you can use utility classes like `text-canvas`, `border-error`, and `bg-dimmed`.