vuetifyjs / vuetifyjs/nuxt-module
Global styles not applied for all variables
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 286
- Forks
- 35
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 4
Description
vuetify-nuxt-module version
1.0.0-rc.5
Nuxt version
4.5.2
Vuetify version
4.2.0
Reproduction
https://stackblitz.com/edit/...
Steps to reproduce
Some variables don't work as expected: $body-font-family, $font-size-root. All others work fine.
@forward 'vuetify/settings' with (
$body-font-family: ('Poppins', sans-serif),
$font-size-root: 10px,
$border-radius-root: 8px,
$card-text-font-size: 1rem,
$input-font-size: 14px,
$field-font-size: 14px,
$button-font-size: 16px
);
Expected behavior
All variables should work in override.
Actual behavior
Only $body-font-family, $font-size-root cant be overriden.
System info
Additional context
No response
Validations
- I have searched the existing issues and this is not a duplicate.
- I have provided a minimal reproduction.
- I have read the documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked StackBlitz reproduction and the shown @forward 'vuetify/settings' override, comparing the two variables that fail with the overrides that work. Trace how the Nuxt module applies global styles and determine why $body-font-family and $font-size-root are excluded; done means all listed overrides apply as expected in the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, sass, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100