
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.
@trimble-oss/modus-variables
Advanced tools
This project provides a CSS sheet of variables for the Modus Design System, accessible via the `modus-variables` npm package.
This project provides a CSS sheet of variables for the Modus Design System, accessible via the modus-variables
npm package.
Install the package:
npm i --save-dev @trimble-oss/modus-variables copyfiles
Set up the postinstall
script in your package.json
:
Create a postinstall
script to copy the CSS file automatically. This will copy your CSS file to your public directory after running npm install
. We recommend using copyfiles
.
{
"name": "your-project-name",
"version": "1.0.0",
"scripts": {
"postinstall": "copyfiles -f ./node_modules/@trimble-oss/modus-variables/css/modus-variables.css ./public"
},
"dependencies": {
"@trimble-oss/modus-variables": "^1.0.0",
"copyfiles": "^2.4.1"
}
}
Reference the CSS file in your HTML:
Add the following line to reference the CSS file in your HTML file:
<link rel="stylesheet" type="text/css" href="public/modus-variables.css">
Use the variables in your CSS:
You can now use the Modus variables globally:
.my-element {
color: var(--col_trimble_blue);
}
FAQs
This project provides a CSS sheet of variables for the Modus Design System, accessible via the `modus-variables` npm package.
The npm package @trimble-oss/modus-variables receives a total of 205 weekly downloads. As such, @trimble-oss/modus-variables popularity was classified as not popular.
We found that @trimble-oss/modus-variables demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.