F
Filamentβ€’3w ago
frame

Use same prose style in Filament and front end?

Is .fi-prose in any way related to tailwindcss-typography's .prose? If I want to use the same style in RichEditor and front end how should I do that? Just applying .prose on the front end looks different, so do I need to copy .fi-prose from utilities.css and use that instead? πŸ€”
Solution:
I would imagine you could @include some or all of your Filament theme into your front end assets. You might even then be able to @apply the filament .prose styles and inheret some useful things. I haven't done much Filament theme styling though, so that's just an idea rather than from experience...
Jump to solution
2 Replies
Solution
Patabugen
Patabugenβ€’3w ago
I would imagine you could @include some or all of your Filament theme into your front end assets. You might even then be able to @apply the filament .prose styles and inheret some useful things. I haven't done much Filament theme styling though, so that's just an idea rather than from experience
frame
frameOPβ€’3w ago
πŸ‘ I imported utilities.css and will try to use fi-prose on the frontend

Did you find this page helpful?