Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@servicetitan/tokens
Advanced tools
The design tokens project is available to use in developing custom components and UI that is also used in `@servicetitan/design-system`. It contains variables in SCSS, Less, and JS variables that can be imported into any type of project.
The design tokens project is available to use in developing custom components and UI that is also used in @servicetitan/design-system
. It contains variables in SCSS, Less, and JS variables that can be imported into any type of project.
npm install @servicetitan/tokens --save
Within the packages dist/
directory there are a few files that can be used.
File | Description |
---|---|
tokens.common.js | JS object of variables as module.exports |
tokens.less | Less variables |
tokens.scss | SCSS variables |
@import (reference) '~@servicetitan/tokens/dist/tokens.less';
div {
color: @color-blue;
}
@import 'node_modules/@servicetitan/tokens/dist/tokens';
div {
color: $color-blue;
}
import tokens from '@servicetitan/tokens';
const Component = () => <div style={{backgroundColor: tokens.colorBlue}} />
FAQs
## Usage for Android (Kotlin)
The npm package @servicetitan/tokens receives a total of 5,264 weekly downloads. As such, @servicetitan/tokens popularity was classified as popular.
We found that @servicetitan/tokens 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.