Skip to content

Commit

Permalink
Added new success style class in doc
Browse files Browse the repository at this point in the history
This is based on #35
  • Loading branch information
xitox97 authored Jun 11, 2020
1 parent f34524c commit 3fd2791
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 3fd2791

Please sign in to comment.