hplush / slowreader

Web app to combine feeds from social networks and RSS and to help read more meaningful and deep content
https://dev.slowreader.app
GNU Affero General Public License v3.0
161 stars 37 forks source link

[Add]: formatted text styles #135

Closed upteran closed 7 months ago

upteran commented 7 months ago

Fixes #118

Motivation

The changes were made to the styles in the formatter text component to enhance the visual appeal and readability of the long heading text.

Screenshots

Few screenshots to show some frequently used tags. The entire list of other tags has been added to the story.

Screenshot 2024-04-02 at 10 29 00 Screenshot 2024-04-02 at 10 29 53 Screenshot 2024-04-02 at 10 30 58 Screenshot 2024-04-02 at 10 31 34

Checklist

Questions during PR:

I have few questions about PR:

ai commented 7 months ago

Do we need to add two components with different theme prop configurations, or is the Base enough?

Yes, we need separated stories.

The problem with theme switcher is that we can’t use it on Chromatic (screenshot based testing).

Another reason is that now checking Storybook by eyes is very straight-forward—you just going from one story to another and check it by eyes. With theme switcher you need to remember to manually test every story in different themes, which is more complex than clicking Next Story.