Skip to content

Commit

Permalink
fixup! Add Link component
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalejandroaguilar committed Sep 6, 2024
1 parent 8381102 commit 22c49f8
Showing 1 changed file with 36 additions and 44 deletions.
80 changes: 36 additions & 44 deletions lib/phlexy_ui/link.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit 22c49f8

Please sign in to comment.