Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

Move List styles to theme.json #5

Closed

Description

@bgardner

Per WordPress/gutenberg#53602, it should be safe to move this to theme.json:

/* -- List -- */

.is-style-no-style {
	list-style-type: none;
	padding-left: 0;
}

Activity

  1. bgardner commented on Oct 5, 2023

    @bgardner
    OwnerAuthor

    Per Gutenberg 16.8 RC1 (WordPress/gutenberg#54981) confirmed this is working in theme.json. Will merge once it’s included in WP6.4 Beta or RC.

    "core/list": {
    	"css": "&.is-style-no-style {list-style-type: none; padding-left: 0;}",
    	"spacing": {
    		"padding": {
    			"left": "var(--wp--custom--spacing--gap)"
    		}
    	}
    },
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions