Releases: MatteuSan/sentro
Releases · MatteuSan/sentro
v1.1.0
v1.0.0
Finally!
After three years. Sentro now reached its v1 release! We've further trimmed down sentro to its essentials to leave minimal footprint in your design system, while making its API more intuitive to use. I'll be releasing the changelogs in a few hours.
Also, I guess we have a new website now. Check it out here!
What's Changed
- 1.0.0 by @MatteuSan in #5
Full Changelog: 0.1.25...1.0.0
v0.1.25
v.0.1.22
New Features
- Added
token-registry-get()
function.
@use 'node_modules/@matteusan/sentro' with (
$prefix: 'sds',
$context: 'theme'
);
:root {
@include sentro.token-config(
// Tokens...
);
}
$_ds-tokens: sentro.token-registry-get(); // Get all registered tokens
$_ds-tokens-filtered: sentro.token-registry-get(('padding', 'radius')); // Get all registered tokens within the provided targets
Improvements
- META: Improve package metadata.
v0.1.21
New Features
- Add nesting, and map support for the breakpoint module.
@include sentro.breakpoint-config(
$map: (
'other': 540px
),
$small: 320px,
$medium: (
'default': 640px,
'landing': 670px
),
$large: 870px
);
Improvements
- Rename
token-add()
totoken-config()
for naming consistency.- The
token-add()
mixin will still work, but will be deprecated on v1.x. A warning will display in the console upon compiling.
- The
v0.1.20
New Features
- Added breakpoint module
@use 'path/to/@matteusan/sentro' with (
$breakpoint-validation: true
);
@include sentro.breakpoint-config(
$small: 320px,
$medium: 640px,
$large: 870px
);
.my-element {
// styles...
@include sentro.breakpoint-create('medium') {
// styles...
}
}
Improvements
- Modified error messages