Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60334


Ignore:
Timestamp:
01/24/2024 07:37:21 AM (22 months ago)
Author:
poena
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60334 – Description

    initial v1  
    11This was reported by @alh0319 in https://github.com/WordPress/twentytwentyfour/issues/744
    2 I have copied and pasted the text from the issue:
     2I have copied and pasted the text from the issue.
     3
     4Relevant code:
     5[https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyfour/theme.json#L800 theme.json#L800]
     6
     7
     8{{{
     9                "elements": {
     10                        "button": {
     11                                ":active": {
     12                                        "color": {
     13                                                "background": "var(--wp--preset--color--contrast)",
     14                                                "text": "var(--wp--preset--color--base)"
     15                                        }
     16                                },
     17                                ":focus": {
     18                                        "color": {
     19                                                "background": "var(--wp--preset--color--contrast-2)",
     20                                                "text": "var(--wp--preset--color--base)"
     21                                        },
     22                                        "outline": {
     23                                                "color": "var(--wp--preset--color--contrast)",
     24                                                "offset": "2px",
     25                                                "style": "dotted",
     26                                                "width": "1px"
     27                                        },
     28                                        "border": {
     29                                                "color": "var(--wp--preset--color--contrast-2)"
     30                                        }
     31                                },
     32
     33}}}
     34
    335
    436