Skip to main content
grammar fixes
Link
Interlated
  • 1.4k
  • 9
  • 21

How to download bulma sass file anand compile in order to change the primary font?

added 2 characters in body
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

I'd like to change the primary font in Bulma as per https://stackoverflow.com/questions/64512940/setting-a-new-primary-font-family-with-bulma.

I've used composer to install libraries_provider

 composer require drupal/libraries_provider

Libraries provider is enabled

dr en -y libraries_provider

Looking at the libraries provider documentation and the drulma documentation I should add something to my theme libraries yml file.

At a rough guess as I can't find documentation on how to do this

bulma:
  libraries_provider:
  enabled: true
  source: https://asset-packagist.org
  npm_name: 'bulma'

Then I run

composer require npm-asset/bulma

Which does not work - Could not find a matching version of package npm-asset/bulma.

Could not find a matching version of package npm-asset/bulma.

Then I set the variables in the sass file for the new font, which the stackoverflow question handles.

Finally, recompile the SASS file (what command is required?). Make sure the updated bulma CSS file is included in my theme and it is done.

I'd like to change the primary font in Bulma as per https://stackoverflow.com/questions/64512940/setting-a-new-primary-font-family-with-bulma.

I've used composer to install libraries_provider

 composer require drupal/libraries_provider

Libraries provider is enabled

dr en -y libraries_provider

Looking at the libraries provider documentation and the drulma documentation I should add something to my theme libraries yml file.

At a rough guess as I can't find documentation on how to do this

bulma:
  libraries_provider:
  enabled: true
  source: https://asset-packagist.org
  npm_name: 'bulma'

Then I run

composer require npm-asset/bulma

Which does not work - Could not find a matching version of package npm-asset/bulma.

Then I set the variables in the sass file for the new font, which the stackoverflow question handles.

Finally, recompile the SASS file (what command is required?). Make sure the updated bulma CSS file is included in my theme and it is done.

I'd like to change the primary font in Bulma as per https://stackoverflow.com/questions/64512940/setting-a-new-primary-font-family-with-bulma.

I've used composer to install libraries_provider

 composer require drupal/libraries_provider

Libraries provider is enabled

dr en -y libraries_provider

Looking at the libraries provider documentation and the drulma documentation I should add something to my theme libraries yml file.

At a rough guess as I can't find documentation on how to do this

bulma:
  libraries_provider:
  enabled: true
  source: https://asset-packagist.org
  npm_name: 'bulma'

Then I run

composer require npm-asset/bulma

Which does not work

Could not find a matching version of package npm-asset/bulma.

Then I set the variables in the sass file for the new font, which the stackoverflow question handles.

Finally, recompile the SASS file (what command is required?). Make sure the updated bulma CSS file is included in my theme and it is done.

edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Source Link
Interlated
  • 1.4k
  • 9
  • 21
Loading