ungic-sass-helpers is a library that provides a set of functions and mixins from the core of the UNGIC framework, adapted for use with Dart SASS 3.0.
This package is based on the ungic.component.core
module, with adjustments to ensure compatibility with Dart SASS syntax and features.
To use the library in your project, follow these steps:
- Install the package via your package manager (if available) or download the source files.
- Import
ungic-sass-helpers
into your main SASS file:
@use 'ungic-sass-helpers' with (
$config: (
cid: "app",
)
)
- Use the functions and mixins in your stylesheets.
@use 'ungic-sass-helpers' as *;
@include this {
background-color: red;
.btn {
@include prev('.hide-btn') {
@debug &
}
}
}
See the full documentation for more information on the functions and mixins available in the library.