Allow changing the content area background/text colors

NEW
Unassigned

Status

P3
normal
9 months ago
a month ago

People

(Reporter: ntim, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 months ago
Selectors it should target:

- #tabbrowser-tabpanels (depends on bug 1440865)
- #customization-container
- ???

+ in-content pages (can be a separate bug, since that work depends on bug 1444459)

Use case: create a full dark theme and reduce the amount of white as much as possible.

The properties can be called: colors.content_area and colors.content_area_text.

Since the built-in dark theme uses a different background for #tabbrowser-tabpanels and #customization-container, it might be worth creating different properties for the customize mode, not sure.
Priority: -- → P3

Updated

7 months ago
Product: Toolkit → WebExtensions
(In reply to Tim Nguyen :ntim from comment #0)
> Use case: create a full dark theme and reduce the amount of white as much as
> possible.

Themes generally can't access web content, and that's where this default background mostly matters.

I believe the main use case here is extensions making web content dark. We can probably provide an API tailored for that, independently from webextension themes.
Component: Themes → Frontend
Priority: P3 → --
Blocks: 1488384
(Reporter)

Updated

5 months ago
No longer blocks: 1348034
Component: Frontend → Themes
Priority: -- → P3
See comment 1 for why this should not be part of the theming API.
Component: Themes → Frontend
Depends on: 1494034
You need to log in before you can comment on or make changes to this bug.