Skip to content

Commit

Permalink
Update Tailwind CSS script source and configure custom theme settings…
Browse files Browse the repository at this point in the history
… for improved styling
  • Loading branch information
Satish Surath committed Feb 7, 2025
1 parent 51dafc0 commit 71b6b8b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
<title>{{ title|default("YouTube Channel Summarizer") }}</title>

<!-- Tailwind CSS -->
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>


<script src="https://cdn.tailwindcss.com"></script>

<!-- Dark mode script - set before page load -->
<script>
Expand All @@ -18,7 +16,19 @@
}
</script>


<!-- Tailwind and custom styles -->
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#3b82f6',
}
}
}
}
</script>
<style>
/* Dark mode toggle animations */
.dark-mode-toggle {
Expand Down

0 comments on commit 71b6b8b

Please sign in to comment.