Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Looking at the libraries.yml file, it has the custom.css file inside of a "Custom CSS library for novice users". I'm assuming that this implies that the rest of the files should be edited instead of overridden whenever possible. However, when I dig into the UIkit and start editing, grunt/compass compilation takes forever on save since it needs to re-compile all of the scss files.
As such, from a development/workflow standpoint, I'm wondering what the recommended method is for styling a child theme that doesn't eat as much time?
Comments
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedLater DEV versions use Libsass which is very fast. It's like 100 times faster (literally 100 times faster) than using Ruby Sass.
You could merge in those changes and switch over, it's basically all the in grunt file in DEV sub-themes and instead of using Gems and Bundler we use Bower to pull a small customised version of Compass Vertical Rhythm, Susy and Modular Scale. The grunt/npm install is the same etc.
Comment #3
mrweiner CreditAttribution: mrweiner commentedAh, I like the sound of that! I haven't started any sub-theming yet, so I'll probably just delete it entirely and re-install from dev. Is dev stable enough for production right now? Thanks for the input.
Comment #4
Jeff Burnz CreditAttribution: Jeff Burnz commentedNo, it's not stable enough, by the end of this weekend it will be, but right at this moment don't use it.
I mean it changes as I commit changes, but I know the current HEAD has a bug which I have fixed but not yet committed, I plan to commit tomorrow after some tests.
Comment #5
mrweiner CreditAttribution: mrweiner commentedCool, thanks for the heads up. Very helpful information!
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedOK, all bugs fixed (some configuration issues with shortcodes), so its good to go, this is going to be a stable release this week also.
Comment #7
Jeff Burnz CreditAttribution: Jeff Burnz commented