Automatically closed - issue fixed for 2 weeks with no activity.
- ๐ฆ๐บAustralia Mingsong ๐ฆ๐บ
There is further plan for the feature with this module.
Here are some alternative to those who interested in this feature.
- ๐บ๐ธUnited States erutan
Yeah that is a simpler approach.
I just grabbed the bootswatch files I had made for the previous parent theme I tried out before settling on this one. I was at their website to look at the options anyways. :)
Importing from the parent theme is simpler assuming you don't want to change any of the variables bootswatch sets (or think about overrides etc), though that doesn't mean you couldn't just import the theme scss. I liked just having them pasted into my variables file so I could see what has been changed, but that's personal preference.
- ๐บ๐ธUnited States emilorol
Since
Bootswatch
is already included in the main theme you can just do something like this to useYeti
for example:1. In your sub theme "style.scss" add:
// Import Bootswatch theme @import '../../../../themes/contrib/bootstrap5/dist/bootswatch/dist/yeti/variables'; // Sub theme styling. @import 'variables_drupal'; // Bootstrap overridden variables. // @see https://getbootstrap.com/docs/5.2/customize/sass/#variable-defaults. @import 'variables_bootstrap'; // Include bootstrap. @import '../../../../themes/contrib/bootstrap5/scss/style'; // Import Bootswatch theme styles @import '../../../../themes/contrib/bootstrap5/dist/bootswatch/dist/yeti/bootswatch'; // Include custom changes. @import "custom";
2. Compile the changes like:
sass scss/style.scss css/style.css && sass scss/ck5style.scss css/ck5style.css
Automatically closed - issue fixed for 2 weeks with no activity.