You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment cvi-styles package can only be imported using direct path to a specific Sass file inside it, for example, @use '@egov/cvi-styles/main'.
A consumer app though might not want to know the implementation details and file structure of the library. We should provide ability to import all the CVI styles using only the package name, namely '@egov/cvi-styles`.
What alternatives have you tried?
The only alternative is to employ@use '@egov/cvi-styles/main'.
Does this feature request involve any updates to the reference design?
No
Implementation details
Using main property of cvi-styles' package.json we can achieve this functionality.
The text was updated successfully, but these errors were encountered:
Summary
At the moment cvi-styles package can only be imported using direct path to a specific Sass file inside it, for example,
@use '@egov/cvi-styles/main'
.A consumer app though might not want to know the implementation details and file structure of the library. We should provide ability to import all the CVI styles using only the package name, namely '@egov/cvi-styles`.
What alternatives have you tried?
The only alternative is to employ
@use '@egov/cvi-styles/main'
.Does this feature request involve any updates to the reference design?
No
Implementation details
Using
main
property of cvi-styles'package.json
we can achieve this functionality.The text was updated successfully, but these errors were encountered: