Text/Paragraph component #698
-
Flux provides headings, subheadings etc. with set colors for both light and dark mode, but whenever I need to add a text / paragraph below, I am out of options, so I do something like this: <p class="text-black dark:text-white">my text</p> Its a silly request, but I wonder if something like: <flux:paragraph>my text</flux:paragraph> or <flux:text>my text</flux:text> would make sense? with some predefined colors etc. I don't mind doing it myself, but feel like it would be a 'cheap-to-maintain' component to add some extra value to the framework. Just an idea, feel free to yeet it away |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@LasseRafn There is a |
Beta Was this translation helpful? Give feedback.
For reference, this is its blade code so you can see the
size
options and the default styling: