Skip to content

core/file: Cannot override styles via theme.json #70342

Open
@EldarAgalarov

Description

@EldarAgalarov

Description

These styles are not overridable via theme.json:

"core/file": {	
	"elements": {
		"button": {			
			":hover": {
				"color": {
					"text": "var(--wp--preset--color--base-2) !important"
				}
			},
			":visited": {
				"color": {
					"text": "var(--wp--preset--color--base-1) !important"
				}
			}
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] FileAffects the File Block[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions