Fixes to docs

This commit is contained in:
Ronan Berder
2025-06-17 16:25:18 +08:00
parent fda413a5af
commit a5c1b8df57
3 changed files with 3 additions and 3 deletions
@@ -15,7 +15,7 @@
<div class="alert">
{% lucide "bookmark-check" %}
<section>This is an alert with icon, title and description.</section>
<section>This is an alert with icon, description and no title.</section>
</div>
<div class="alert">
+1 -1
View File
@@ -67,7 +67,7 @@ toc:
<p>You can either <a href="/installation/#install-cdn-all">include the JavaScript file for all the components</a>, or just the one for this component by adding this to the <code>&lt;head&gt;</code> of your page:</p>
</section>
{% set code_script %}<script src="https://cdn.jsdelivr.net/npm/basecoat-css@{{ site.version }}/dist/js/select.min.js" defer></script>{% endset %}
{% set code_script %}<script src="https://cdn.jsdelivr.net/npm/basecoat-css@{{ site.version }}/dist/js/toast.min.js" defer></script>{% endset %}
{{ code_block(code_script | prettyHtml, "html") }}
<div class="flex flex-wrap gap-2 my-6">
+1 -1
View File
@@ -204,7 +204,7 @@ import 'basecoat-css/tabs';{% endraw %}{% endset %}
Import the theme in your CSS file:
{% set code %}@import "tailwindcss";
@import "basecoat-css";
@import "theme.css";{% endset %}
@import "./theme.css";{% endset %}
{{ code_block(code, "css") }}
</li>
</ul>