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.