Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions exampleSite/content/test-product/feather/_index.md

This file was deleted.

17 changes: 0 additions & 17 deletions exampleSite/content/test-product/feather/permitted.md

This file was deleted.

13 changes: 9 additions & 4 deletions exampleSite/content/test-product/lucide/permitted.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ weight: 100

[Lucide Icons](https://lucide.dev/) is a free icon library with a permissive license (MIT). We use it for our minimal icon needs in place of FontAwesome in Oldframe.

{{<fe "book-headphones">}}
{{<icon "book-headphones">}}

[Lucide link{{<fe "circle">}}](#)
[Lucide link{{<icon "circle">}}](#)

{{<fe "circle">}} in text.
{{<icon "circle">}} in text.

{{<icon-bug>}}
{{<icon-feature>}}
{{<icon-info>}}
{{<icon-resolved>}}

Here are some icons that are using font-awesome but should be backwards compatible:
<i class="fa-solid fa-check" style="color:green"></i>
Expand Down Expand Up @@ -54,5 +59,5 @@ Here are some icons that are using font-awesome but should be backwards compatib
<i class="fa fa-chevron-down"></i>
<i class="fas fa-flask fa-lg beta-icon"></i>
{{<warning>}}
This is a Warning callout. There was previously a bug with **bold text** that we should be aware of and continue to check for. This callout was invoked with the `<warning>` shortcode. It has no custom title. {{<fe "octagon-alert">}}
This is a Warning callout. There was previously a bug with **bold text** that we should be aware of and continue to check for. This callout was invoked with the `<warning>` shortcode. It has no custom title. {{<icon "octagon-alert">}}
{{</warning>}}
2 changes: 1 addition & 1 deletion layouts/partials/callout.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<blockquote class="{{ $class }}">
<div>
<div class="call-out-type">
{{ partial "feather" (dict "context" . "icon" $icon) .}}
{{ partial "lucide" (dict "context" . "icon" $icon) .}}
{{ $title }}
</div>
<div class="callout-content">
Expand Down
5 changes: 0 additions & 5 deletions layouts/partials/feather.html

This file was deleted.

5 changes: 1 addition & 4 deletions layouts/partials/lucide.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{{- /* Usage: */ -}}
{{- /* (dict "context" . "icon" "circle") */ -}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true" class="lucide"
style="{{ .style | safeCSS }}">
<use href="/images/lucide-sprite.svg#{{ .icon }}"></use>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true" class="lucide" style="{{ .style | safeCSS }}"><use href="/images/lucide-sprite.svg#{{ .icon }}"></use></svg>
1 change: 0 additions & 1 deletion layouts/shortcodes/fa.html

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/shortcodes/icon-bug.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<i class="fa-solid fa-bug" style="color:#E4002B"></i>
{{ partial "lucide" (dict "context" . "icon" "bug" "style" "color:#E4002B") }}
2 changes: 1 addition & 1 deletion layouts/shortcodes/icon-feature.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<i class="fa-solid fa-file-circle-plus" style="color:#009639"></i>
{{ partial "lucide" (dict "context" . "icon" "file-plus" "style" "color:#009639") }}
2 changes: 1 addition & 1 deletion layouts/shortcodes/icon-info.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<i class="fa-solid fa-circle-info" style="color:#1d9cd3;"></i>
{{ partial "lucide" (dict "context" . "icon" "info" "style" "color:#1d9cd3") }}
2 changes: 1 addition & 1 deletion layouts/shortcodes/icon-resolved.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<i class="fa-solid fa-bug-slash" style="color:#666666"></i>
{{ partial "lucide" (dict "context" . "icon" "bug-off" "style" "color:#666666") }}
File renamed without changes.
1 change: 0 additions & 1 deletion static/images/feather-sprite.svg

This file was deleted.