Problem/Motivation

We want to add support for an abbreviation of the newly created theme within the generator that can utilize that to update/replace CSS property prefix that will be implemented in other tickets.

CommentFileSizeAuthor
#2 prototype-add_abbreviation-3380580.patch365 bytesshreya_th

Issue fork prototype-3380580

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

jldust created an issue. See original summary.

shreya_th’s picture

StatusFileSize
new365 bytes

adding support for an abbreviation of a newly created theme within a generator, and this abbreviation will be used to update/replace CSS property prefixes. To achieve this, we typically need to update a configuration file in the project.

As per my knowledge we have to add abbreviation in configuration file within the theme that handles settings related to the CSS generation or prefixing. In prototype theme this could be a .info.yml.
So i've added abbreviation name for generator in .info.yml file.

jldust’s picture

jldust’s picture

Status: Active » Needs review

I've updated the generator to allow users to pass an abbreviation name for css variables during initial theme setup. During testing this allows users to set a folder name and theme name independant of the css variable names. It is an optional element that can be passed during generation.

  • jldust committed b67c53e3 on 5.x
    Issue #3380580 by jldust: Add abbreviation name for generator
    
jldust’s picture

Assigned: jldust » Unassigned
Status: Needs review » Fixed

This has been merged into the 5.x branch, we will include it in the next tagged release.

jldust’s picture

Status: Fixed » Closed (fixed)