WordPress.org

Make WordPress Core

Opened 4 weeks ago

#54178 new enhancement

Use theme.json for theme metadata instead of style.css

Reported by: jamesbonham Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:

Description

Most themes no longer rely use one big css file compiled to style.css. This means that the file is often only used for theme metadata (name, description, version etc.). From an outside perspective this makes no sense.

Seeing as the comment in style.css is structured data it would be most logical to allow theme developers to add it all to the theme.json file.

I know this would have some far reaching implications, as many places read the info in style.css, but it would be logical and would encourage developers to start using the theme.json file more.

Change History (0)

Note: See TracTickets for help on using tickets.