I'm currently trying to customize the default variable $heading-font-family in Vuetify 2.0.0-beta.0, but I'm encountering issues with this particular override. Oddly enough, I have been successful in overriding other variables such as $body-font-family, $font-size-root, and $btn-border-radius.
I've consulted the documentation available at for guidance.
In my main.scss file, the modifications I want to make are outlined like so:
// main.scss
@import '~vuetify/src/styles/styles.sass';
// The variables I want to modify
$font-size-root: 16px;
$body-font-family: Arial, sans-serif;
$heading-font-family: 'Open Sans', sans-serif;
$btn-border-radius: 8px;
The template in my .vue file includes the following HTML structure:
// in my vue Template
...
<div class="hello">
<h1 class="display-1">{{ msg }}</h1>
<p>Lorem ipsum dolor sit amet...</p>
<v-btn color="pink" dark>Click me</v-btn>
</div>
...
Upon inspecting the H1 element in the console, I anticipate a font family of 'Open Sans', sans-serif, however it displays "Roboto", sans-serif instead. It seems to be inheriting the default value set for $body-font-family prior to my customization in main.scss.
While the overrides for other variables from my main.scss are functioning correctly, I am puzzled by the behavior related to $heading-font-family. Any insights on what could be going wrong here?