Skip to content

Body background color is not set #349

@swashbuck

Description

@swashbuck

Subject of the issue/enhancement/features

The body background color is currently not being set by the theme. This can lead to the page background being inconsistent depending on the user's browser settings.

Your environment

  • Framework 5.x
  • Browser: Firefox 103.0.2

Steps to reproduce

Open up Firefox's browser settings and change the default background color to something other than white.

Firefox: Preferences > Manage Colors > Text and Background > Background

Expected behaviour

Page background should be explicitly set by the theme.

Actual behaviour

Page background falls back to using the browser background color setting

Screenshots (if you can)

no-body-bg-color

Firefox-settings

Recommendation

Set the background color on the body element with a new color variable (defaults to white).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions