core-styles
Core Styles Library for import into a .scss file or Vue component where scss is being used.
Core Styles uses the latest sass-lang api. You can either import the main.scss file or just the parts you want.
Build Setup
# install depedencies
$ yarn
# generate unminified CSS
$ yarn build
# generate minified css
$ yarn build-min
File Structure
/src
/dist
main.css
main.css.map
/scss
_buttons.scss
_colorClasses.scss
_colors.scss
_commonAppStyles.scss
_commonTransitionStyles.scss
_forms.scss
_global.mixins.scss
_globalVariables.scss
_gridStyles.scss
_other.scss
_typography.scss
_typographyVariables.scss
_vuetifyOverrides.scss
main.scss
You have the option to import either the whole minified main.css or the main.scss if you want to get load the whole library. To include the main.scss, you can pull it into your .scss file like this:
@use '~@nuskin/ns-core-styles/src/main';