Skip to content

v.0.1.22

Compare
Choose a tag to compare
@MatteuSan MatteuSan released this 13 May 19:06
· 94 commits to main since this release

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.