@davincihealthcare/elty-design-system-foundations

中文文档
1.4.1发布于 2026/11/13UNLICENSEDTypeScriptESM + CJS零依赖近 30 天下载 1979

The "@davincihealthcare/elty-design-system-foundations" is a library that provides a set of default configurations for Tailwind CSS, a highly customizable, utility-based CSS framework. This preset is designed for DaVinci Elty.

原始使用文档
文档目录4 节
  1. Installation
  2. How to use
  3. the "preset" way
  4. the "plugin" way

@davincihealthcare/elty-design-system-foundations

The "@davincihealthcare/elty-design-system-foundations" is a library that provides a set of default configurations for Tailwind CSS, a highly customizable, utility-based CSS framework. This preset is designed for DaVinci Elty.

Installation

To install the library, run the following command:

yarn add @davincihealthcare/elty-design-system-foundations

How to use

There are two ways of using this library

the "preset" way

You need to add this preset to your TailwindCSS configuration:

import type { Config } from 'tailwindcss'
import { preset } from '@davincihealthcare/elty-design-system-foundations'

export default {
  presets: [preset],
  content: ['./**/*.{js,ts,jsx,tsx}'],
} satisfies Config

the "plugin" way

or you can use it as a ✨ plugin ✨

import { TailwindPlugin } from '@davincihealthcare/elty-design-system-foundations'

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./src/**/*'],
  plugins: [TailwindPlugin],
}

版本与发布记录

@davincihealthcare/elty-design-system-foundations 共发布 8 个版本,首次发布于 2024/03/18;过去 12 个月发布了 3 个版本。

版本发布日期距今
1.4.1latest2026/11/131 天前
1.4.02026/01/299 个月前
1.3.02026/01/229 个月前
1.2.12024/05/232 年前
1.2.02024/05/232 年前
1.1.02024/03/182 年前

关于 @davincihealthcare/elty-design-system-foundations 的常见问题

@davincihealthcare/elty-design-system-foundations 是什么?

The "@davincihealthcare/elty-design-system-foundations" is a library that provides a set of default configurations for Tailwind CSS, a highly customizable, utility-based CSS framework. This preset is designed for DaVinci Elty.

如何安装 @davincihealthcare/elty-design-system-foundations?

在项目目录运行 npm install @davincihealthcare/elty-design-system-foundations,或使用 pnpm add / yarn add / bun add。

@davincihealthcare/elty-design-system-foundations 支持 TypeScript 吗?

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

@davincihealthcare/elty-design-system-foundations 支持 ESM 还是 CommonJS?

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

@davincihealthcare/elty-design-system-foundations 可以商用吗?

@davincihealthcare/elty-design-system-foundations 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@davincihealthcare/elty-design-system-foundations 的下载量有多少?

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

@davincihealthcare/elty-design-system-foundations 还在维护吗?

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