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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ilo-org/styles

v1.11.0

Published

Styles for products using ILO's Design System

Downloads

320

Readme

ILO Design System - Styles

The Styles package provides the stylesheets which are used to style the components in other packages. It includes both the styles for the individual components as well as bundled stylesheets for the entire design system. Both SCSS and compiled CSS files are exported from the package.

The styles are written in SCSS, so you can also import the SCSS files and include them in your own SASS workflow.

[!WARNING] > Do not use this package directly. If you are using @ilo-org/twig or @ilo-org/react packages, you should import styles from those packages instead. The classnames in this package are internal implementation details and are not part of the public API. They may change at any time without being considered a breaking change. Always use the component APIs provided by the React or Twig packages rather than directly referencing CSS classnames from this package.

Installation

npm i @ilo-org/styles

Usage

Bundled Stylesheets

The package provides several bundled stylesheets depending on your needs:

  • index.css - Complete bundle including all components, global styles, resets, and typography
  • monorepo.css - Version for use within the monorepo (uses different typography setup)
  • global.css - Global styles only (resets, theme, typography) without component styles

Using the Complete Bundle

If you're going to use all or most of the components in the Design System, the easiest approach is to include the complete bundled stylesheet.

HTML:

<link rel="stylesheet" href="node_modules/@ilo-org/styles/css/index.css" />

JavaScript/TypeScript (with bundler):

import "@ilo-org/styles/css/index.css";

SCSS:

@import "@ilo-org/styles/css/index.css";

Using Individual Component Styles

You can import compiled CSS files for individual components from the @ilo-org/styles/css/components directory. This is useful for code splitting or when you only need specific components.

JavaScript/TypeScript (with bundler):

import React from "react";
import { Accordion } from "@ilo-org/react";
import "@ilo-org/styles/css/components/accordion.css";

const MyAccordion = (props) => {
  return <Accordion {...props} />;
};

HTML:

<link
  rel="stylesheet"
  href="node_modules/@ilo-org/styles/css/components/accordion.css"
/>

[!IMPORTANT] If you're importing CSS for individual components, remember to include the global styles as well. These are styles which are not scoped to any particular component, but which are needed for the components to work properly.

Include global styles:

import "@ilo-org/styles/css/global.css";
import "@ilo-org/styles/css/components/accordion.css";

Using Source SCSS Files

If you're already using SASS, you can import the SCSS files directly into your project and include them in your own SASS bundle. This gives you more control over compilation and allows you to customize the styles.

[!NOTE] If you're using the SCSS source files, you will also need to import the @ilo-org/themes package to ensure the SASS files have access to the style tokens they need.

Import All Styles

@import "@ilo-org/themes/build/scss/tokens";
@import "@ilo-org/styles/scss";

Import Individual Component Styles

@import "@ilo-org/themes/build/scss/tokens";
@import "@ilo-org/styles/scss/components/accordion";

Import Global Styles Only

@import "@ilo-org/themes/build/scss/tokens";
@import "@ilo-org/styles/scss/global";

Available Files

CSS Files

  • css/index.css - Complete bundle with all components
  • css/monorepo.css - Monorepo-specific bundle
  • css/global.css - Global styles only (resets, theme, typography)
  • css/components/*.css - Individual component stylesheets

SCSS Files

  • scss/index.scss - Complete SCSS bundle
  • scss/monorepo.scss - Monorepo-specific SCSS bundle
  • scss/global.scss - Global SCSS styles only
  • scss/components/*.scss - Individual component SCSS files
  • scss/theme/ - Theme foundation files (breakpoints, typography, etc.)
  • scss/_*.scss - Utility files (mixins, functions, config, etc.)