[wp-trac] [WordPress Trac] #54178: Use theme.json for theme metadata instead of style.css
WordPress Trac
noreply at wordpress.org
Fri Sep 24 08:24:33 UTC 2021
#54178: Use theme.json for theme metadata instead of style.css
-------------------------+-----------------------------
Reporter: jamesbonham | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54178>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list