npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

highsoft-design-tokens

v2.0.0

Published

This package ensures a seamless integration of design principles into your codebase, making your development process more efficient and your end product more cohesive and visually appealing

Downloads

51

Readme

👨🏼‍🎨 Highsoft Design Tokens

cover This package provides a comprehensive set of CSS custom properties (variables) derived from our design system, ensuring a seamless integration of design principles into your codebase. This approach makes your development process more efficient and your end product more cohesive and visually appealing.

Figma resources

You can find the design tokens in the following Figma files (you need to be logged in with SSO to access them)

🎨 Color system (Figma)     🔠 Typography (Figma)     🪄 Effects (Figma)

Installation

To install this package, run the following command:

npm install highsoft-design-tokens --save

Using a CSS preprocessor like Sass, or a module bundler like Webpack, you can import the CSS file directly into your CSS/Sass files:

@import "highsoft-design-tokens/dist/css/tokens";

You need to add the --load-path=node_modules option to your Sass command. This directs Sass to look inside the node_modules directory for any @import statements.

"css-compile": "sass --load-path=node_modules //the rest of your code goes here"

Using CSS Variables

The package contains a set of predefined CSS custom properties encapsulated within the :root selector. This makes them globally available across your entire application. You can use them in your CSS/Sass files like this:

body {
  background-color: var(--primitives-brand-600);
  color: var(--primitives-neutral-900);
}

button {
  background-color: var(--primitives-success-500);
  border-radius: var(--border_radius-size-4);
}

Bugs and feature requests

Please use [GitHub issues] to report bugs or request features. If you have any questions about the tokens, please contact @kennethknudsen

All tokens

Primitives

  • primitives-neutral-0: color #FFFFFF
  • primitives-neutral-25: color #F6F6F8
  • primitives-neutral-50: color #F1F1F3
  • primitives-neutral-100: color #E3E2E8
  • primitives-neutral-200: color #C8C7D1
  • primitives-neutral-300: color #ACABBA
  • primitives-neutral-400: color #908EA3
  • primitives-neutral-500: color #75728C
  • primitives-neutral-600: color #5D5B70
  • primitives-neutral-700: color #464553
  • primitives-neutral-800: color #2F2E37
  • primitives-neutral-900: color #17171B
  • primitives-neutral-1000: color #000000
  • primitives-brand-50: color #F6F8FF
  • primitives-brand-100: color #F0F1FF
  • primitives-brand-200: color #E1E3FF
  • primitives-brand-300: color #C3C8FF
  • primitives-brand-400: color #A5ACFF
  • primitives-brand-500: color #8791FF
  • primitives-brand-600: color #6975FF
  • primitives-brand-700: color #545ECC
  • primitives-brand-800: color #3F4699
  • primitives-brand-900: color #2A2F66
  • primitives-brand-1000: color #151733
  • primitives-success-50: color #ECFDF5
  • primitives-success-100: color #D1FAE5
  • primitives-success-200: color #A7F3D0
  • primitives-success-300: color #6EE7B7
  • primitives-success-400: color #34D399
  • primitives-success-500: color #10B981
  • primitives-success-600: color #059669
  • primitives-success-700: color #047857
  • primitives-success-800: color #065F46
  • primitives-success-900: color #064E3B
  • primitives-success-1000: color #033427
  • primitives-attention-50: color #FFFBEB
  • primitives-attention-100: color #FEF3C7
  • primitives-attention-200: color #FDE68A
  • primitives-attention-300: color #FCD34D
  • primitives-attention-400: color #FBBF24
  • primitives-attention-500: color #F59E0B
  • primitives-attention-600: color #D97706
  • primitives-attention-700: color #B45309
  • primitives-attention-800: color #92400E
  • primitives-attention-900: color #78350F
  • primitives-attention-1000: color #592507
  • primitives-danger-50: color #FEF2F2
  • primitives-danger-100: color #FEE2E2
  • primitives-danger-200: color #FECACA
  • primitives-danger-300: color #FCA5A5
  • primitives-danger-400: color #F87171
  • primitives-danger-500: color #EF4444
  • primitives-danger-600: color #DC2626
  • primitives-danger-700: color #B91C1C
  • primitives-danger-800: color #991B1B
  • primitives-danger-900: color #7F1D1D
  • primitives-danger-1000: color #570D0D

Shadow

  • shadow-size-50: 0px 0px 1px 0px rgba(0, 0, 0, 0.1), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 3px 2px 0px rgba(0, 0, 0, 0.05), 0px 6px 2px 0px rgba(0, 0, 0, 0.01)
  • shadow-size-100: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 3px 3px 0px rgba(0, 0, 0, 0.05), 0px 7px 4px 0px rgba(0, 0, 0, 0.03), 0px 13px 5px 0px rgba(0, 0, 0, 0.01)
  • shadow-size-200: 0px 1px 2px 0px rgba(0, 0, 0, 0.08), 0px 4px 4px 0px rgba(0, 0, 0, 0.07), 0px 10px 6px 0px rgba(0, 0, 0, 0.04), 0px 18px 7px 0px rgba(0, 0, 0, 0.01)
  • shadow-size-300: 0px 2px 4px 0px rgba(0, 0, 0, 0.08), 0px 7px 7px 0px rgba(0, 0, 0, 0.07), 0px 17px 10px 0px rgba(0, 0, 0, 0.04), 0px 30px 12px 0px rgba(0, 0, 0, 0.01)

Border_radius

  • border_radius-size-0: 0px
  • border_radius-size-1: 1px
  • border_radius-size-2: 2px
  • border_radius-size-4: 4px
  • border_radius-size-8: 8px
  • border_radius-size-16: 16px
  • border_radius-size-32: 32px
  • border_radius-size-64: 64px
  • border_radius-size-128: 128px
  • border_radius-size-full: 100%

Breakpoint

  • breakpoint-size-xs: 0px
  • breakpoint-size-sm: 576px
  • breakpoint-size-md: 768px
  • breakpoint-size-lg: 992px
  • breakpoint-size-xl: 1200px

Margin

  • margin-size-0: 0px
  • margin-size-1: 1px
  • margin-size-2: 2px
  • margin-size-4: 4px
  • margin-size-8: 8px
  • margin-size-16: 16px
  • margin-size-32: 32px
  • margin-size-64: 64px
  • margin-size-128: 128px
  • margin-size-256: 256px
  • margin-size-512: 512px

Padding

  • padding-size-0: 0px
  • padding-size-1: 1px
  • padding-size-2: 2px
  • padding-size-4: 4px
  • padding-size-8: 8px
  • padding-size-16: 16px
  • padding-size-32: 32px
  • padding-size-64: 64px
  • padding-size-128: 128px
  • padding-size-256: 256px
  • padding-size-512: 512px

Brand_dark

  • brand_dark-chart-color1: color #8087E8
  • brand_dark-chart-color2: color #A3EDBA
  • brand_dark-chart-color3: color #F19E53
  • brand_dark-chart-color4: color #6699A1
  • brand_dark-chart-color5: color #E1D369
  • brand_dark-chart-color6: color #87B4E7
  • brand_dark-chart-color7: color #DA6D85
  • brand_dark-chart-color8: color #BBBAC5
  • brand_dark-background-color: color #1f1836
  • brand_dark-text-color: color #ffffff

Brand_light

  • brand_light-chart-color1: color #8087E8
  • brand_light-chart-color2: color #A3EDBA
  • brand_light-chart-color3: color #F19E53
  • brand_light-chart-color4: color #6699A1
  • brand_light-chart-color5: color #E1D369
  • brand_light-chart-color6: color #87B4E7
  • brand_light-chart-color7: color #DA6D85
  • brand_light-chart-color8: color #BBBAC5
  • brand_light-background-color: color #f0f0f0
  • brand_light-text-color: color #2F2B38

Dark_unica

  • dark_unica-chart-color1: color #2b908f
  • dark_unica-chart-color2: color #90ee7e
  • dark_unica-chart-color3: color #f45b5b
  • dark_unica-chart-color4: color #7798BF
  • dark_unica-chart-color5: color #aaeeee
  • dark_unica-chart-color6: color #ff0066
  • dark_unica-chart-color7: color #eeaaee
  • dark_unica-chart-color8: color #55BF3B
  • dark_unica-chart-color9: color #DF5353
  • dark_unica-chart-color10: color #7798BF
  • dark_unica-chart-color11: color #aaeeee
  • dark_unica-background-color: color #2a2a2b
  • dark_unica-text-color: color #E0E0E3

Default

  • default-chart-color1: color #2caffe
  • default-chart-color2: color #544fc5
  • default-chart-color3: color #00e272
  • default-chart-color4: color #fe6a35
  • default-chart-color5: color #6b8abc
  • default-chart-color6: color #d568fb
  • default-chart-color7: color #2ee0ca
  • default-chart-color8: color #fa4b42
  • default-chart-color9: color #f9c80e
  • default-chart-color10: color #f9c80e
  • default-background-color: color #ffffff
  • default-text-color: color #000000

Grid_light

  • grid_light-chart-color1: color #7cb5ec
  • grid_light-chart-color2: color #f7a35c
  • grid_light-chart-color3: color #90ee7e
  • grid_light-chart-color4: color #7798BF
  • grid_light-chart-color5: color #aaeeee
  • grid_light-chart-color6: color #ff0066
  • grid_light-chart-color7: color #eeaaee
  • grid_light-chart-color8: color #55BF3B
  • grid_light-chart-color9: color #DF5353
  • grid_light-chart-color10: color #7798BF
  • grid_light-chart-color11: color #aaeeee
  • grid_light-background-color: transparent
  • grid_light-text-color: color #000000

Sand_signika

  • sand_signika-chart-color1: color #f45b5b
  • sand_signika-chart-color2: color #8085e9
  • sand_signika-chart-color3: color #8d4654
  • sand_signika-chart-color4: color #7798BF
  • sand_signika-chart-color5: color #aaeeee
  • sand_signika-chart-color6: color #ff0066
  • sand_signika-chart-color7: color #eeaaee
  • sand_signika-chart-color8: color #55BF3B
  • sand_signika-chart-color9: color #DF5353
  • sand_signika-chart-color10: color #7798BF
  • sand_signika-chart-color11: color #aaeeee
  • sand_signika-background-color: transparent
  • sand_signika-text-color: color #000000

Headings

  • headings-size-h1: 56px
  • headings-size-h2: 42px
  • headings-size-h3: 32px
  • headings-size-h4: 24px
  • headings-size-h5: 18px
  • headings-size-h6: 16px
  • headings-lineHeight-text: 130%
  • headings-weight-bold: 700

Typography

  • typography-size-50: 11px
  • typography-size-75: 12px
  • typography-size-100: 14px
  • typography-size-200: 16px
  • typography-size-300: 18px
  • typography-size-400: 20px
  • typography-size-500: 22px
  • typography-size-600: 25px
  • typography-size-700: 28px
  • typography-size-800: 32px
  • typography-size-900: 36px
  • typography-size-1000: 40px
  • typography-lineHeight-ui: 100%
  • typography-lineHeight-text: 130%
  • typography-weight-normal: 400
  • typography-weight-medium: 500
  • typography-weight-semi: 600