Allow changing the content area background/text colors

NEW
Unassigned

Status

enhancement
P3
normal
a year ago
19 days ago

People

(Reporter: ntim, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

a year 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

11 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

9 months ago
No longer blocks: themingapi-more-ui
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.