From 938d047c7059a825e7cfd743b1e0f4ffefda8095 Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Sat, 29 Oct 2022 17:21:01 +0300 Subject: [PATCH] fix: #1186 --- src/components/styled/link.css | 12 +++++ src/docs/src/routes/components/link.svelte.md | 46 ++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/src/components/styled/link.css b/src/components/styled/link.css index e0c0eac4dce..27c3d9b04dd 100644 --- a/src/components/styled/link.css +++ b/src/components/styled/link.css @@ -11,6 +11,18 @@ &-neutral { @apply text-neutral hover:text-neutral-focus; } + &-success { + @apply text-success hover:text-success; + } + &-info { + @apply text-info hover:text-info; + } + &-warning { + @apply text-warning hover:text-warning; + } + &-error { + @apply text-error hover:text-error; + } &:focus { @apply outline-none; } diff --git a/src/docs/src/routes/components/link.svelte.md b/src/docs/src/routes/components/link.svelte.md index 1c4d9ce2339..fc275b14c15 100644 --- a/src/docs/src/routes/components/link.svelte.md +++ b/src/docs/src/routes/components/link.svelte.md @@ -14,10 +14,14 @@ published: true @@ -94,6 +98,46 @@ data="{[ } + +I'm a simple link +
{
+`I'm a simple link`
+}
+
{
+`I'm a simple link`
+}
+
+ + +I'm a simple link +
{
+`I'm a simple link`
+}
+
{
+`I'm a simple link`
+}
+
+ + +I'm a simple link +
{
+`I'm a simple link`
+}
+
{
+`I'm a simple link`
+}
+
+ + +I'm a simple link +
{
+`I'm a simple link`
+}
+
{
+`I'm a simple link`
+}
+
+ I'm a simple link
{