@ctrliq/quantic-css

中文文档
1.74.0发布于 2026/08/29ISCTypeScriptESM + CJS近 30 天下载 2363

Core CSS styles for Quantic Design System

原始使用文档
文档目录8 节
  1. Installation
  2. Usage
  3. Using in JavaScript/TypeScript
  4. Using in CSS
  5. Using in SCSS
  6. Using Individual Entries
  7. Contents
  8. Contributing

Quantic CSS

Core CSS styles for the Quantic Design System.

Installation

npm install @ctrliq/quantic-css

Usage

Using in JavaScript/TypeScript

// Import the package (this will include the CSS automatically)
import '@ctrliq/quantic-css';

Using in CSS

/* In your CSS file */
@import '@ctrliq/quantic-css';

Using in SCSS

// In your SCSS files (modern Sass syntax)
@use '@ctrliq/quantic-css';

// If you need to access variables or mixins with a namespace
@use '@ctrliq/quantic-css' as quantic;

Using Individual Entries

reset, base, tokens, type and prose each resolve to a stylesheet in the consumer's language, so no Sass toolchain is needed to use them from plain CSS.

@import '@ctrliq/quantic-css/reset';
@use '@ctrliq/quantic-css/reset';

mixins is Sass only — it declares mixins and compiles to no CSS of its own.

@use '@ctrliq/quantic-css/mixins' as mixins;
@use '@ctrliq/quantic-css/mixins/breakpoints';

Contents

  • Modern CSS reset (2025 edition)
  • Utility classes
  • Base styling

Contributing

Please see the main repository's README.md for contribution guidelines.

版本与发布记录

@ctrliq/quantic-css 共发布 58 个版本,首次发布于 2026/06/02;过去 12 个月发布了 58 个版本。

版本发布日期距今
1.74.0latest2026/08/292 个月前
1.73.12026/08/292 个月前
1.73.02026/08/292 个月前
1.72.12026/08/292 个月前
1.72.02026/08/292 个月前
1.71.12026/08/282 个月前

关于 @ctrliq/quantic-css 的常见问题

@ctrliq/quantic-css 是什么?

Core CSS styles for Quantic Design System

如何安装 @ctrliq/quantic-css?

在项目目录运行 npm install @ctrliq/quantic-css,或使用 pnpm add / yarn add / bun add。

@ctrliq/quantic-css 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@ctrliq/quantic-css 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@ctrliq/quantic-css 可以商用吗?

@ctrliq/quantic-css 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@ctrliq/quantic-css 的下载量有多少?

根据 npm 官方下载统计,@ctrliq/quantic-css 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,363 次,日均约 79 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ctrliq/quantic-css 还在维护吗?

最新版本 1.74.0 发布于 2026/08/29(2 个月前);至今共发布 58 个版本,其中过去 12 个月发布了 58 个;首次发布于 2026/06/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。