
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.
@flodesk/grain
Advanced tools
npm install @flodesk/grain
base.css
contains all Grain global styles. Import it in the highest component possible so that it's accessible everywhere in the UI.
import { GrainProvider } from '@flodesk/grain';
function Demo() {
return (
<GrainProvider>
<App />
</GrainProvider>
);
}
Apply the grn-context
class to any wrapper. It sets the line-height
dynamically. Use it on as many wrappers as needed.
In the future, once Grain is widely adopted, we will remove these classes and apply the text styles globally.
<div className="some-wrapper grn-context">
<Text size="l">Content</Text>
// or
<div className="element-with-grain-styles">Content</div>
</div>
import { Text, Button, Input } from '@flodesk/grain';
<Text>Content</Text>;
.dashboard-header {
font-size: var(--grn-text-xl);
margin-bottom: var(--grn-space-l);
color: var(--grn-color-content2);
}
FAQs
Flodesk design system
The npm package @flodesk/grain receives a total of 443 weekly downloads. As such, @flodesk/grain popularity was classified as not popular.
We found that @flodesk/grain demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.