Skip to content

Commit

Permalink
Merge pull request #38 from xitox97/patch-1
Browse files Browse the repository at this point in the history
Added new success style class in doc
  • Loading branch information
freekmurze authored Jun 11, 2020
2 parents f34524c + 3fd2791 commit 340cac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/adding-tiles/creating-your-own-tile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 340cac1

Please sign in to comment.