Skip to content

Commit

Permalink
Icons integration tutorial (#2215)
Browse files Browse the repository at this point in the history
* Icons integration tutorial

* Corrections

* Corrections #2

---------

Co-authored-by: Bartosz Cylwik <bartosz.cylwik94@gmail.com>
  • Loading branch information
iprzybysz and juujisai authored Jan 10, 2024
1 parent c57b257 commit 6081e93
Show file tree
Hide file tree
Showing 5 changed files with 826 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
---

<script type="module">
// datetimepicker
const datetimepickerCustomization = document.querySelector(
"#datetimepicker-customization"
);
new te.Datetimepicker(datetimepickerCustomization, {
dateTimepickerToggleIconTemplate: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 5.25l-7.5 7.5-7.5-7.5m15 6l-7.5 7.5-7.5-7.5" />
</svg>`,
});
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
---

<li class="mb-1 pl-[9px] text-[0.85rem]" data-te-spy-active>
<a href="#introduction">Introduction</a>
</li>
<li class="mb-1 pl-[9px] text-[0.85rem]">
<a href="#top-layer">Top-layer customization</a>
</li>
<li class="mb-1 pl-[9px] text-[0.85rem]">
<a href="#options-data-attributes"
>Customization via options and data attributes</a
>
</li>
<li class="mb-1 pl-[9px] text-[0.85rem]">
<a href="#other-icon-libraries">Other icon libraries</a>
</li>
<li class="mb-1 ml-4 pl-[9px] text-[0.85rem]">
<a href="#font-awesome">Font Awesome</a>
</li>
<li class="mb-1 ml-4 pl-[9px] text-[0.85rem]">
<a href="#google-icons">Google icons</a>
</li>
Loading

0 comments on commit 6081e93

Please sign in to comment.