-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add oneOfVariants
option
#1
Comments
Hi @iilei! Sorry for not responding earlier, I somehow missed this issue. If you only want to allow the user to pick from a handful of fonts, you could specify them using the If that doesn't work for your use case: Because this is quite a specific request, I'm thinking if, instead of adding a What do you think? :) |
oneOfVariants
oneOfVariants
option
I like the idea. Because that is what my request is about indeed - by the time of writing I was not able to state it that clearly. Also 👍 for revising the title 😊 |
Good question, I'm not sure what's the best implementation choice here… To me, it would seem intuitive if the If you'd like to implement this feature, please let me know :) Otherwise, I'll try to have a look at this sometime this week. |
Added in v1.4.0. |
Hi. Thanks for sharing your module.
I would like to use https://fonts.google.com/specimen/UnifrakturCook which is not available in
regular
variant. So if I add700
to the variants I would expect it to be loaded but as i see it is explicitly omitting the font if merely a subset of the desired variants is included in the font.How can I have for example
Average Sans, Open Sans, UnifrakturCook, UnifrakturMaguntia
in one combined menu?imho it should not be needed to have a font matching
every
variant as specified in thevariants
but at least one.like, instead of
rather the following:
Is that a change request you would accept or would you rather have a new property among the lines of
oneOfVariants: ['700', 'regular']
?The text was updated successfully, but these errors were encountered: