Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@matteusan/sentro
Advanced tools
A low-level SCSS library for building and managing token-driven design systems.
A low-level SCSS library for building and managing token-driven design systems.
# NPM
npm install @matteusan/sentro --save
# Yarn
yarn add @matteusan/sentro --save
@use 'path/to/@matteusan/sentro' with (
$prefix: 'sdb',
$context: 'theme'
);
:root {
@include sentro.token-config(
$primary: (
'default': #122c53,
'light': #536b99,
'dark': #061021,
'ink': #fff
),
$secondary: (
'default': #ffac00,
'light': #ffd77e,
'dark': #533800,
'ink': #000
),
$radius: (
'small': 0.3rem,
'medium': 0.5rem,
'large': 0.7rem
),
);
}
.my-button-theme {
background: sentro.key-create('button-fill', sentro.token-get('secondary'));
color: sentro.key-create('button-ink', sentro.token-get('secondary-ink'));
border-color: sentro.key-create('button-border', sentro.token-get('secondary'));
border-radius: sentro.key-create('button-radius', sentro.token-get('radius-small'));
}
:root {
--sdb-theme-primary: #122c53;
--sdb-theme-primary-light: #536b99;
--sdb-theme-primary-dark: #061021;
--sdb-theme-primary-ink: #fff;
--sdb-theme-secondary: #ffac00;
--sdb-theme-secondary-light: #ffd77e;
--sdb-theme-secondary-dark: #533800;
--sdb-theme-secondary-ink: #000;
--sdb-theme-radius-small: 0.3rem;
--sdb-theme-radius-medium: 0.5rem;
--sdb-theme-radius-large: 0.7rem;
}
.my-button-theme {
background: var(--sdb-button-fill, var(--sdb-theme-secondary));
color: var(--sdb-button-ink, var(--sdb-theme-secondary-ink));
border-color: var(--sdb-button-border, var(--sdb-theme-secondary));
border-radius: var(--sdb-button-radius, var(--sdb-theme-radius-small));
}
FAQs
A low-level SCSS library for building and managing token-driven design systems.
We found that @matteusan/sentro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.