mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Fix unreadable links in important alerts and the sign-in cover page (#2919)
This commit is contained in:
1 parent
7b64726e66
commit
1adb710ea3
7 files changed
+29
-6
No files matched your search
@@ -284,6 +284,12 @@ You can also use other elements, like icons and dismissible buttons, with this t
|
||||
</div>
|
||||
</Example>
|
||||
|
||||
Links work here too. Both `alert-link` and `alert-action` follow the alert color, so they turn white on the solid background.
|
||||
|
||||
<Example>
|
||||
<Alert variant="important" color="danger" title="An error occurred!" action="Try again" /> <Alert variant="important" color="info" title="Your plan renews next week." link="See the details" />
|
||||
</Example>
|
||||
|
||||
## Custom alert color
|
||||
|
||||
You're not limited to the 4 default alert colors. You can use any [base color](/ui/base/colors) you want.
|
||||
|
||||
Reference in new issue
Block a user