@cyclone-ui/shiki

中文文档
0.0.55发布于 2026/11/11ES Module零依赖构建来源已验证近 30 天下载 8362

Cyclone UI Shiki themes package

原始使用文档
文档目录17 节
  1. 💻 Visit stormsoftware.com to stay up to date with this deve…
  2. Quick Features
  3. Installing
  4. Usage
  5. Reduced Package Size
  6. Development
  7. Building
  8. Running unit tests
  9. Linting
  10. Storm Workspaces
  11. Roadmap
  12. Support
  13. License
  14. Documentation
  15. Changelog
  16. Contributing
  17. Contributors
Storm Software


This package is part of the 🌀 Cyclone UI monorepo. The repository contains Tamagui based design components used by Storm Software. Like Shadcn UI, the components are copied into other repositories via the Cyclone CLI.

💻 Visit stormsoftware.com to stay up to date with this developer

Version Nx NextJs Commitizen friendly Semantic-Release documented with docusaurus GitHub Workflow Status (with event)

[!IMPORTANT] This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.


Cyclone UI - Shiki Themes

A package containing various shiki themes for the Cyclone UI.

Quick Features

  • Six Shiki themes: light, light dimmed, light high contrast, dark, dark dimmed, and dark high contrast
  • Theme colors generated from the Cyclone UI design tokens
  • Plain JSON files with no runtime code

Installing

Using pnpm:

pnpm add -D @cyclone-ui/shiki
Using npm
npm install -D @cyclone-ui/shiki
Using yarn
yarn add -D @cyclone-ui/shiki

Usage

Register a theme when you create a highlighter, then pass the theme id:

import { createHighlighter } from "shiki";
import theme from "@cyclone-ui/shiki/dark/theme.json" with { type: "json" };

const highlighter = await createHighlighter({
  themes: [theme],
  langs: ["javascript"]
});

const html = highlighter.codeToHtml("const x = 1", {
  lang: "javascript",
  theme: "cyclone-dark"
});

The theme ids are cyclone-light, cyclone-light-dimmed, cyclone-light-high-contrast, cyclone-dark, cyclone-dark-dimmed, and cyclone-dark-high-contrast. See the package documentation for details.

Reduced Package Size

This project has no bundling step. The build copies the src folder, which holds the generated theme JSON files, to dist.

Development

This project is built using Nx. As a result, many of the usual commands are available to assist in development.

To set up a checkout, clone the repository and run pnpm install in the repository root. Razorwind generates the theme files. Do not edit them by hand. Change the token JSON files in packages/tokens/src/tokens, then run pnpm nx run monorepo:generate-themes.

Building

Run nx build shiki to build the library.

Running unit tests

Run nx test shiki to execute the unit tests via Vitest.

Linting

Run nx lint shiki to run ESLint on the package.

Storm Workspaces

Storm workspaces are built using Nx, a set of extensible dev tools for monorepos, which helps you develop like Google, Facebook, and Microsoft. Building on top of Nx, the Open System provides a set of tools and patterns that help you scale your monorepo to many teams while keeping the codebase maintainable.


Roadmap

See the open issues for a list of proposed features (and known issues).


Support

Reach out to the maintainer at one of the following places:


License

This project is licensed under the Apache License, Version 2.0. Feel free to edit and distribute this template as you like.

  Copyright (C) 2023 - 2024 Storm Software

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

See LICENSE for more information.

Documentation

All documentation is licensed under the Creative Commons (attribute) license.


Changelog

This project adheres to Semantic Versioning. Every release, along with the migration instructions, is documented in the CHANGELOG file


Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Please adhere to this project's code of conduct.

You can use markdownlint-cli to check for common markdown style inconsistency.


Contributors

Thanks goes to these wonderful people (emoji key):

Patrick Sullivan
Patrick Sullivan

🎨 💻 🔧 📖 ⚠️
Tyler Benning
Tyler Benning

🎨
Stormie
Stormie

🚧
All Contributors Add your contributions

This project follows the all-contributors specification. Contributions of any kind welcome!




Storm Software

Fingerprint: 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D

Storm Software is an open source software development organization and creator of Acidic, StormStack and StormCloud.

Our mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.

If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our website!


### 💻 Visit [stormsoftware.com](https://stormsoftware.com) to stay up to date with this developer

版本与发布记录

@cyclone-ui/shiki 共发布 53 个版本,首次发布于 2026/10/12;过去 12 个月发布了 53 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.55latest2026/11/11今天
0.0.542026/11/10今天
0.0.532026/11/091 天前
0.0.522026/11/092 天前
0.0.512026/11/092 天前
0.0.502026/11/092 天前

关于 @cyclone-ui/shiki 的常见问题

@cyclone-ui/shiki 是什么?

Cyclone UI Shiki themes package

如何安装 @cyclone-ui/shiki?

在项目目录运行 npm install @cyclone-ui/shiki,或使用 pnpm add / yarn add / bun add。

@cyclone-ui/shiki 支持 TypeScript 吗?

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

@cyclone-ui/shiki 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@cyclone-ui/shiki 可以商用吗?

@cyclone-ui/shiki 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@cyclone-ui/shiki 的下载量有多少?

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

@cyclone-ui/shiki 还在维护吗?

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