register_block_style(
'core/list',
array(
'name' => 'checkmark-list',
'label' => __( 'Checkmark', 'eap' ),
'inline_style' => '
ul.is-style-checkmark-list {
list-style-type: "\2713";
}
ul.is-style-checkmark-list li {
padding-inline-start: 1ch;
}',
)
);
register_block_style(
'core/details',
array(
'name' => 'button',
'label' => __( 'Button', 'eap' ),
'inline_style' => '
details.is-style-button summary {
display: flex;
padding: 8px;
background-color: var(--wp--preset--color--contrast-1);
}',
)
);
register_block_style(
'core/group',
array(
'name' => '100-height',
'label' => __( '100% Height', 'eap' ),
'inline_style' => '
.wp-block-group.is-style-100-height {
height: calc(100vh - 78px);
}',
)
);
register_block_style(
'core/list',
array(
'name' => 'checkmark-list',
'label' => __( 'Checkmark', 'twentytwentyfive' ),
'inline_style' => '
ul.is-style-checkmark-list {
list-style-type: "\2713";
}
ul.is-style-checkmark-list li {
padding-inline-start: 1ch;
}',
)
);
// z-index: 1
register_block_style(
'core/group',
array(
'name' => 'z-index-1',
'label' => __('Z index 1', 'sabina'),
'inline_style' => '.wp-block-group.is-style-z-index-1 { position:relative;z-index: 1; }'
)
);
// z-index: 0
register_block_style(
'core/group',
array(
'name' => 'z-index-0',
'label' => __('Z index 0', 'sabina'),
'inline_style' => '.wp-block-group.is-style-z-index-0 { position:relative;z-index: 0; }'
)
);