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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | prototype-add_abbreviation-3380580.patch | 365 bytes | shreya_th |
Issue fork prototype-3380580
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
Comment #2
shreya_th commentedadding 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.
Comment #3
jldust commentedComment #4
jldust commentedI'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.
Comment #7
jldust commentedThis has been merged into the 5.x branch, we will include it in the next tagged release.
Comment #8
jldust commented