You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@harnessio/core-design-system

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harnessio/core-design-system

Harness Design System

0.0.1
latest
npmnpm
Version published
Weekly downloads
20
-45.95%
Maintainers
0
Weekly downloads
 
Created
Source

Harness Design System

This package provides the core design system for Harness UI components.

Installation

pnpm add @harnessio/core-design-system

Usage

Importing CSS Styles

To import all design system styles:

@import '@harnessio/core-design-system/core-styles';
@import '@harnessio/core-design-system/oss-themes';
@import '@harnessio/core-design-system/enterprise-themes';

Importing JavaScript Tokens

To import JavaScript tokens for programmatic usage:

import { colors, spacing, typography } from '@harnessio/core-design-system/styles-esm'

// Example usage
console.log(colors.primary)
console.log(spacing.md)

Or import everything:

import * as designTokens from '@harnessio/core-design-system/styles-esm'

Importing Individual Components

You can also import the main package:

import * as designSystem from '@harnessio/core-design-system'

Building

To build the design system:

pnpm build

Development

  • src/styles/ - Contains all CSS stylesheets
  • src/styles-esm/ - Contains all JavaScript values for the design system

Keywords

design-system

FAQs

Package last updated on 20 Mar 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.