Releases: MatteuSan/sentro
Releases · MatteuSan/sentro
v0.1.5
v0.1.4
New Features
- Selector generator
Input
@use 'path/to/@matteusan/sentro with ($prefix: 'sdc');
@include Sentro.selector-create('.my-class') {
// Properties here
}
@include Sentro.selector-create('#my-id') {
// Properties here
}
Output
.sdc-my-class {
/* Properties here */
}
#sdc-my-id {
/* Properties here */
}
v0.1.3
v0.1.2
v0.1.1
Initial Release
- Token-based design system builder.
- Complete create and read tokenizer for all your design system's values ranging from colors, to radius values, to typography values, even to content strings.
:root {
@include Theme.token-add(
// It can be a map with a default value and variants.
$brand-color: (
'default': #122c53,
'light': #536b99,
'dark': #061021,
'ink': #fff
),
// It can also be separate variable arguments.
$small-radius: 0.3rem,
$medium-radius: 0.5rem,
$global-font: ('Arial', sans-serif)
);
}