@univerjs/themes 0.21.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -0
  2. package/package.json +8 -5
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @univerjs/themes
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@univerjs/themes?style=flat-square)](https://npmjs.com/package/@univerjs/themes)
4
+ [![license](https://img.shields.io/npm/l/@univerjs/themes?style=flat-square)](https://npmjs.com/package/@univerjs/themes)
5
+ [![downloads](https://img.shields.io/npm/dm/@univerjs/themes?style=flat-square)](https://npmjs.com/package/@univerjs/themes)
6
+
7
+ `@univerjs/themes` contains built-in Univer theme definitions such as the default theme and green theme.
8
+
9
+ ## Package Overview
10
+
11
+ | Package | UMD global | CSS | Locales | Facade entry |
12
+ | --- | --- | :---: | :---: | :---: |
13
+ | `@univerjs/themes` | `UniverThemes` | No | No | No |
14
+
15
+ ## Installation
16
+
17
+ ```sh
18
+ pnpm add @univerjs/themes
19
+ # or
20
+ npm install @univerjs/themes
21
+ ```
22
+
23
+ Keep all `@univerjs/*` packages on the same version.
24
+
25
+ ## Usage
26
+
27
+ ```ts
28
+ import { defaultTheme, greenTheme } from '@univerjs/themes';
29
+ ```
30
+
31
+ ## Resources
32
+
33
+ - [Documentation](https://docs.univer.ai)
34
+ - [NPM package](https://npmjs.com/package/@univerjs/themes)
35
+ - [GitHub repository](https://github.com/dream-num/univer)
36
+
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@univerjs/themes",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
4
4
  "private": false,
5
- "description": "Themes package for Univer",
6
- "author": "DreamNum <developer@univer.ai>",
5
+ "description": "Built-in theme definitions for Univer.",
6
+ "author": "DreamNum Co., Ltd. <developer@univer.ai>",
7
7
  "license": "Apache-2.0",
8
8
  "funding": {
9
9
  "type": "opencollective",
@@ -19,7 +19,10 @@
19
19
  },
20
20
  "keywords": [
21
21
  "univer",
22
- "theme"
22
+ "theme",
23
+ "themes",
24
+ "design-system",
25
+ "tokens"
23
26
  ],
24
27
  "exports": {
25
28
  ".": {
@@ -46,7 +49,7 @@
46
49
  "lib"
47
50
  ],
48
51
  "devDependencies": {
49
- "@univerjs-infra/shared": "0.21.1"
52
+ "@univerjs-infra/shared": "0.22.0"
50
53
  },
51
54
  "scripts": {
52
55
  "typecheck": "tsc --noEmit",