@terrazzo/plugin-css 0.1.2 → 0.2.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.
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +6 -0
- package/dist/lib.d.ts +1 -1
- package/package.json +5 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @terrazzo/plugin-css@0.
|
|
2
|
+
> @terrazzo/plugin-css@0.2.0 build /home/runner/work/terrazzo/terrazzo/packages/plugin-css
|
|
3
3
|
> pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-css dist/index.js
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @terrazzo/plugin-css@0.
|
|
6
|
+
> @terrazzo/plugin-css@0.2.0 build:ts /home/runner/work/terrazzo/terrazzo/packages/plugin-css
|
|
7
7
|
> tsc -p tsconfig.build.json
|
|
8
8
|
|
|
9
9
|
|
package/CHANGELOG.md
CHANGED
package/dist/lib.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface CSSPluginOptions {
|
|
|
20
20
|
export interface ModeSelector {
|
|
21
21
|
/** The name of the mode to match */
|
|
22
22
|
mode: string;
|
|
23
|
-
/**
|
|
23
|
+
/** Provide token IDs to match. Globs are allowed (e.g: `["color.*", "shadow.dark"]`) */
|
|
24
24
|
tokens?: string[];
|
|
25
25
|
/** Provide CSS selectors to generate. (e.g.: `["@media (prefers-color-scheme: dark)", "[data-color-theme='dark']"]` ) */
|
|
26
26
|
selectors: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terrazzo/plugin-css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Convert DTCG tokens into CSS variables for use in any web application or native app with webview.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"@terrazzo/cli": "*"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"scule": "^1.3.0"
|
|
30
|
-
"@terrazzo/parser": "^0.1.3",
|
|
31
|
-
"@terrazzo/token-tools": "^0.1.3"
|
|
29
|
+
"scule": "^1.3.0"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
34
|
-
"@terrazzo/cli": "^0.
|
|
32
|
+
"@terrazzo/cli": "^0.2.8",
|
|
33
|
+
"@terrazzo/token-tools": "^0.2.8",
|
|
34
|
+
"@terrazzo/parser": "^0.2.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-css dist/index.js",
|