
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@phila/phila-ui-core
Advanced tools
Core utilities and styles for the Phila UI library. This package provides shared TypeScript utilities and design tokens for testing purposes.
pnpm add @phila/phila-ui-core
import { colors, spacing, typography, borderRadius } from "@phila/phila-ui-core";
// Use design tokens in your styles
const buttonStyles = {
backgroundColor: colors.primary[500],
padding: spacing[4],
fontSize: typography.fontSizes.base,
borderRadius: borderRadius.md,
};
import { cn } from "@phila/phila-ui-core";
// Combine class names efficiently
const buttonClass = cn("base-button", "active", className);
import type { Size, Color, Variant, StyledProps } from "@phila/phila-ui-core";
interface ButtonProps extends StyledProps {
children: React.ReactNode;
onClick?: () => void;
}
Essential spacing scale: 2
, 4
, 6
(0.5rem, 1rem, 1.5rem)
The package includes TypeScript definitions for all utilities and design tokens.
MIT
FAQs
Core utilities and styles for Phila UI library
The npm package @phila/phila-ui-core receives a total of 352 weekly downloads. As such, @phila/phila-ui-core popularity was classified as not popular.
We found that @phila/phila-ui-core 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.