From 22c49f8567615c7fb1b423d82c33fb44ee7fd6e1 Mon Sep 17 00:00:00 2001 From: David Alejandro <15317732+davidalejandroaguilar@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:50:08 +0100 Subject: [PATCH] fixup! Add Link component --- lib/phlexy_ui/link.rb | 80 +++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 44 deletions(-) diff --git a/lib/phlexy_ui/link.rb b/lib/phlexy_ui/link.rb index 84bafdd..fe19024 100644 --- a/lib/phlexy_ui/link.rb +++ b/lib/phlexy_ui/link.rb @@ -21,6 +21,10 @@ def view_template(&) # "md:link" # "lg:link" underlined: "link", + # "sm:link-hover" + # "md:link-hover" + # "lg:link-hover" + hover: "link-hover", # "sm:active" # "md:active" # "lg:active" @@ -49,50 +53,38 @@ def view_template(&) # "md:glass" # "lg:glass" glass: "glass", - # "sm:bg-primary sm:text-primary-content" - # "md:bg-primary md:text-primary-content" - # "lg:bg-primary lg:text-primary-content" - primary: "bg-primary text-primary-content", - # "sm:bg-secondary sm:text-secondary-content" - # "md:bg-secondary md:text-secondary-content" - # "lg:bg-secondary lg:text-secondary-content" - secondary: "bg-secondary text-secondary-content", - # "sm:bg-accent sm:text-accent-content" - # "md:bg-accent md:text-accent-content" - # "lg:bg-accent lg:text-accent-content" - accent: "bg-accent text-accent-content", - # "sm:bg-neutral sm:text-neutral-content" - # "md:bg-neutral md:text-neutral-content" - # "lg:bg-neutral lg:text-neutral-content" - neutral: "bg-neutral text-neutral-content", - # "sm:bg-base-100 sm:text-base-content" - # "md:bg-base-100 md:text-base-content" - # "lg:bg-base-100 lg:text-base-content" - base_100: "bg-base-100 text-base-content", - # "sm:bg-base-200 sm:text-base-content" - # "md:bg-base-200 md:text-base-content" - # "lg:bg-base-200 lg:text-base-content" - base_200: "bg-base-200 text-base-content", - # "sm:bg-base-300 sm:text-base-content" - # "md:bg-base-300 md:text-base-content" - # "lg:bg-base-300 lg:text-base-content" - base_300: "bg-base-300 text-base-content", - # "sm:bg-info sm:text-info-content" - # "md:bg-info sm:text-info-content" - # "lg:bg-info sm:text-info-content" - info: "bg-info text-info-content", - # "sm:bg-success sm:text-success-content" - # "md:bg-success md:text-success-content" - # "lg:bg-success lg:text-success-content" - success: "bg-success text-success-content", - # "sm:bg-warning sm:text-warning-content" - # "md:bg-warning md:text-warning-content" - # "lg:bg-warning lg:text-warning-content" - warning: "bg-warning text-warning-content", - # "sm:bg-error sm:text-error-content" - # "md:bg-error md:text-error-content" - # "lg:bg-error lg:text-error-content" - error: "bg-error text-error-content" + # "sm:link-primary" + # "md:link-primary" + # "lg:link-primary" + primary: "link-primary", + # "sm:link-secondary" + # "md:link-secondary" + # "lg:link-secondary" + secondary: "link-secondary", + # "sm:link-accent" + # "md:link-accent" + # "lg:link-accent" + accent: "link-accent", + # "sm:link-neutral" + # "md:link-neutral" + # "lg:link-neutral" + neutral: "link-neutral", + # "sm:link-info" + # "md:link-info" + # "lg:link-info" + info: "link-info", + # "sm:link-success" + # "md:link-success" + # "lg:link-success" + success: "link-success", + # "sm:link-warning" + # "md:link-warning" + # "lg:link-warning" + warning: "link-warning", + # "sm:link-error" + # "md:link-error" + # "lg:link-error" + error: "link-error" }.freeze end end