Problem/Motivation

Smart date creates a generic checkbox for the All day element.

It can look slightly off, or broken on certain themes if the necessary classes aren't set.

Drupal has an API for this, see Claro, so we should make use of it where possible.

Steps to reproduce

Have a theme that has a custom checkbox theme in JS.

The generated checkbox needs to use the theme's checkbox template.

Proposed resolution

The generated All day checkbox should reuse the theme template in JS.

Remaining tasks

Provide MR.

User interface changes

Checkboxes are closer to the expected theme styles and can be themed accordingly.

API changes

N/A

Data model changes

N/A

Issue fork smart_date-3618534

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

codebymikey created an issue. See original summary.

codebymikey’s picture

Issue summary: View changes
codebymikey’s picture

Status: Active » Needs review