@duetds/css

中文文档
5.2.2发布于 2026/11/10SEE LICENSE IN LICENSE.md近 30 天下载 1.4万

This package includes Duet CSS Framework and related utilities.

原始使用文档
文档目录3 节
  1. Usage
  2. Architecture
  3. Copyright

Build Status Version

Duet CSS

This package includes Duet CSS Framework and related tools.

Usage

For usage instructions, please see Duet Design System documentation.

Architecture

This package uses SCSS for authoring, npm for building, and dart-sass/sass-lint for linting.

The package consists of the following:

  • _breakpoints.scss offers a helper class to display the currently-matched media query.
  • _components.scss hides all Duet components until they are loaded. It is auto-generated in build
  • _tokens.scss exposes Duet design tokens as CSS classes
  • _utilities.scss offers a number of utility classes for common scenarios
  • _typography.scss gives native h1...h6 element with class duet-heading the appearance of Duet Heading

Copyright © 2020 LocalTapiola/Turva.

版本与发布记录

@duetds/css 共发布 390 个版本,首次发布于 2019/03/14;过去 12 个月发布了 36 个版本。

版本发布日期距今
5.2.2latest2026/11/103 天前
5.2.12026/10/3014 天前
5.2.02026/09/281 个月前
5.1.52026/09/231 个月前
5.1.42026/09/102 个月前
5.1.32026/09/022 个月前

其他发布通道:next → 1.5.10-alpha.0。

关于 @duetds/css 的常见问题

@duetds/css 是什么?

This package includes Duet CSS Framework and related utilities.

如何安装 @duetds/css?

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

@duetds/css 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/duetds__css 是否存在。

@duetds/css 可以商用吗?

@duetds/css 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@duetds/css 的下载量有多少?

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

@duetds/css 还在维护吗?

最新版本 5.2.2 发布于 2026/11/10(3 天前);至今共发布 390 个版本,其中过去 12 个月发布了 36 个;首次发布于 2019/03/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。