Typography
#238
Replies: 1 comment
-
I can't say for Flowbite.com, since I don't work for them. I created Heading component that can take So what I'm saying is that in our document if we are using a Card component after |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to manage the project typography?
Unfortunately
flowbite.com
uses all the above approaches and what is more it uses them inconsistently.flowbite.com
examples show manually set classes (approach 1).flowbite.com
introduces typography plugin - css file with styles for headings, paragraphs (approach 3)The other problem is lack of consistency in using styles. For example, inconsistency in usage of
h3
:<h3 class="text-lg font-medium text-blue-900">This is a info alert</h3>
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">Terms of Service</h3>
<h3 class="text-3xl font-bold dark:text-white">Heading 3</h3>
Or
h5
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<h5 class="text-xl font-bold dark:text-white">Heading 5</h5>
flowbite-typography
-h5
not defined at allSo what's the best approach to use in the
flowbite-svelte
framework?Beta Was this translation helpful? Give feedback.
All reactions