Skip to content

Add background-material explainer#1

Open
parthpatelsj wants to merge 1 commit intomainfrom
background-material
Open

Add background-material explainer#1
parthpatelsj wants to merge 1 commit intomainfrom
background-material

Conversation

@parthpatelsj
Copy link
Copy Markdown
Collaborator

init background-material explainer

Introduce an explainer for a proposed background-material feature for installed web apps. The document outlines the problem and goals, presents a manifest opt-in and a CSS background-material property with example values and usage, discusses relationship to backdrop-filter, references prior work, and lists open questions about vocabulary, per-element rendering, fallbacks, and accessibility.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 6, 2026

⚠️ No Changeset found

Latest commit: 963c157

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown

@khufu-dev khufu-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably disable changebot on this repo.


- Allow installed web apps to opt into material-backed window frames.
- Provide a CSS property for material-backed page and element surfaces.
- Use abstract material names, not OS-specific names.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be open to both. There's going to be lot of arguments on this.

- Allow installed web apps to opt into material-backed window frames.
- Provide a CSS property for material-backed page and element surfaces.
- Use abstract material names, not OS-specific names.
- Preserve fallback behavior on platforms that do not support real materials.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we simply ignore the material property. Similar to old browsers that don't understand material-background.

- Defining spatial layout.
- Exposing sampled environment data to script.
- Styling browser chrome.
- Standardizing vendor material names.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we do want to leave this open similar generic font names.


```css
:root {
background-color: transparent;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the background-color doesn't have to be transparent for the material to work.

Suggested change
background-color: transparent;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants