Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@useblu/ocean-tokens
Advanced tools
This project powered by Theo provides design tokens to the Ocean design system.
Design tokens are the visual design atoms of the design system — specifically, they are named entities that store visual design attributes. We use them in place of hard-coded values (such as hex values for color or pixel values for spacing) in order to maintain a scalable and consistent visual system for UI development – Salesforce UX
yarn add @useblu/ocean-tokens
or
npm i @useblu/ocean-tokens
import styled from 'styled-components';
import {
fontFamilyHighlight,
fontSizeLg,
fontWeightExtrabold,
lineHeightMedium,
colorInterfaceLightPure,
} from '@useblu/ocean-tokens/web/tokens';
export const Heading1 = styled.h1`
font-family: ${fontFamilyHighlight};
font-size: ${fontSizeLg};
font-weight: ${fontWeightExtrabold};
line-height: ${lineHeightMedium};
color: ${colorInterfaceLightPure};
`;
@import '~@useblu/ocean-tokens/web/tokens.scss';
.h1 {
font-family: $font-family-highlight;
font-size: $font-size-lg;
font-weight: $font-weight-extrabold;
line-height: $line-height-medium;
color: $color-interface-light-pure;
}
This package uses (Semantic Release)[https://github.com/semantic-release/semantic-release] for versioning and distributing to NPM. It analyses commits since last version to generate or not a new version. Use the follow commit prefixes to bump versions:
fix:
Generates patch versions
feat:
Generates minor versions
BREAKING CHANGES:
Generate major versions
Other prefix commits (like chore:
) will be ignored!
Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of this project! :blue_heart: Read below to learn how you can take part of it.
We adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.
Join our discord server to get the latest updates, chat with other Ocean enthusiasts, and see what's happening in the community!
All packages are licensed under the terms of the GPL-3.0 License.
FAQs
Design Tokens for the Ocean Design System
The npm package @useblu/ocean-tokens receives a total of 1,289 weekly downloads. As such, @useblu/ocean-tokens popularity was classified as popular.
We found that @useblu/ocean-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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.