Socket
Book a DemoInstallSign in
Socket

@qctrl/elements-css

Package Overview
Dependencies
Maintainers
26
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qctrl/elements-css

Elements CSS is a collection of CSS variables that extend TailwindCSS theme with semantic variables for Elements Design System.

9.0.1
latest
Source
npmnpm
Version published
Weekly downloads
243
-10.66%
Maintainers
26
Weekly downloads
 
Created
Source

Q-CTRL Elements CSS

Elements CSS is a collection of CSS variables that extend TailwindCSS theme with semantic variables for Elements Design System.

Installation guide

Install Elements CSS and its peer dependencies

  pnpm add -D @qctrl/elements-css@latest tailwindcss@latest @tailwindcss/postcss@latest

Follow TailwindCSS setup steps

For most projects, we recommend setting up TailwindCSS and Elements with PostCSS.

https://tailwindcss.com/docs/installation/using-postcss

Import Elements CSS into your main css file

@import "tailwindcss";
@import "@qctrl/elements-css";

Note: You can also import individual CSS files if you need to omit/override some properties.

@import "tailwindcss";
@import "@qctrl/elements-css/theme/color.css";
@import "@qctrl/elements-css/theme/font.css";
@import "@qctrl/elements-css/theme/typography.css";
/** ... */

Figma variables

For development purposes, you can import both semantic and primitive variables in JSON format:

import semanticVariables from "@qctrl/elements-css/figma/semantic-variables.json";
import primitiveVariables from "@qctrl/elements-css/figma/primitive-variables.json";

FAQs

Package last updated on 07 Jul 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.