
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@sikt/sds-tokens
Advanced tools
@sikt/sds-tokens
npm i -s @sikt/sds-tokens
@import url("@sikt/sds-tokens");
.prefix-custom-block__element--blue {
color: var(--sds-color-brand-primary-strong);
}
Note CSS tokens are best used by importing @sikt/sds-core
which will include them as CSS variables. But you can still make use of them directly from @sikt/sds-tokens
if need be.
import * as tokens from "@sikt/sds-tokens";
<Button style={{ color: tokens.default.color.brand.primary.strong.$value }}>
Hello, World!
</Button>;
This is a v4 config with peer dependency on tailwindcss@^4.0.0
. It disables Tailwind preflight and rely on CSS resets and variables from @sikt/sds-core
.
@import url("@sikt/sds-core");
@import url("@sikt/sds-tokens/dist/tailwind/config.css");
<button class="text-brand-primary-strong">Hello, World!</button>
Theme utilities where we have our own tokens have been disabled in the Tailwind config with --property-*: initial;
.
Tailwind spacing (padding/margin) is scale constructed from a base value. This has been disabled and instead you should use our CSS custom properties p-(--sds-space-padding-small)
.
Colors are available in light (default) and dark scheme.
Sizes are, in some cases, available for media mobile (default), tablet & desktop.
When there is no corresponding token in the non-default version the default should be used.
font-size
, line-height
, etc.Note There is currently a bug in Figma that translates HSL to incorrect HEX color values. If you use the same name token you will get the correct HEX color value.
Created using Style Dictionary and exported as CSS & JavaScript variables.
Note Do not edit these directly in the /dist
output directory but rather in the /src
source directory.
FAQs
```sh npm i -s @sikt/sds-tokens ```
The npm package @sikt/sds-tokens receives a total of 1,241 weekly downloads. As such, @sikt/sds-tokens popularity was classified as popular.
We found that @sikt/sds-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.