Skip to content

There is nothing to enforce link colors when using a custom theme #159

@JayPanoz

Description

@JayPanoz

I'm submitting a [feature request]

Short description of the issue/suggestion:

At the moment, the following properties are limited to sepia and night modes/themes:

--RS__linkColor
--RS__visitedColor

See night mode for example.

This means that when using a custom theme, you do need to build upon an existing one (be it sepia or night) and override its colors to benefit from this customisation. Otherwise, authors’ styling may override these colors, and make text illegible

What is the expected behaviour?

ReadiumCSS should expose a mechanism to customise en enforce these properties when set.

What is the current behaviour?

You need to rely on sepia and night modes, and override their colors.

What is the motivation / use case for changing the behaviour?

Making life of implementers easier.

Do you know which CSS modules (stylesheets) are impacted?

Sepia and night modes.

Metadata

Metadata

Assignees

Labels

2024 UpdateNew discussions, issues and requests triggered by the 2024 updateFeature requestIndicates the issue is a feature request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions