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

ids-foundation

v1.2.1

Published

Base tokens, font files and foundational assets for IDS

Downloads

1,580

Readme

Overview

Contains base tokens, semantic tokens, font files and foundational assets for IDS.

Design Tokens

Design tokens are pieces of data that represent foundational styles in the design system. They simplify the way product teams interpret and apply the design language, resulting in more cohesive, scalable interfaces. Find more info in the design system. This guide just covers how to use them in the context of this repo and things like exporting / consuming.

Types

Tokens are categorized by the foundational style that’s applied.

| Token | |Example |Status | |-------------|-------------------------------|----------------|----------------| |color |Defines fills for backgrounds, text, icons, and borders |color-background-default| Included | |radius |Defines border radii for backgrounds, text, icons, and borders |border-radius-xs| Included | |space |Defines scalable padding and margin units for grids and layouts |space-xl| Included | |font |Defines typography attributes like font families, weights, sizes, and line height |font-size-label| Included | |border |Defines stroke widths, styles, and radiuses |border-style-dashed| Included | |size |Defines other reusable values for heights, widths, and breakpoints |size-70| Future | |shadow |Defines box shadow properties like offsets, blur, and color |shadow-error| Future | |motion |Defines animations during certain interaction states |motion-ease| Future |

Using the Tokens

Code

Sass files for the tokens are provided as CSS variables. We may provide other formats as needed.

To use the components:

  1. Take the core and semantic tokens from /ids-foundation. View component tokens in @infor-design/enterprise-wc.
  2. Use the npm package.
  3. Or additionally note that the web component theme css files contain the tokens, so if you are using those you can just start using the tokens.

Design

Semantic tokens can be manually applied in Figma by adding the IDS Design Tokens library. Tokenized Figma components will available in the future.

Using the System Fonts

The system fonts are included in the fonts directory. They are used in the web components and can be used in your projects as well. See ./fonts for more information and readme. To get around GDPR issues we strongly recommend you serve this with your app.