@lgtm-hq/turbo-themes 0.28.6 → 0.28.7
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/dist/adapters/tailwind/{colors-DkQuLirO.js → colors-BF9oTt-B.js} +8 -7
- package/dist/adapters/tailwind/colors.js +1 -1
- package/dist/adapters/tailwind/preset.js +1 -1
- package/dist/tokens/style-dictionary/themes.json +2 -2
- package/dist/tokens/style-dictionary/tokens.json +2 -2
- package/package.json +1 -1
- package/packages/adapters/tailwind/dist/{colors-DkQuLirO.js → colors-BF9oTt-B.js} +8 -7
- package/packages/adapters/tailwind/dist/{colors-DkQuLirO.js.map → colors-BF9oTt-B.js.map} +1 -1
- package/packages/adapters/tailwind/dist/colors.js +1 -1
- package/packages/adapters/tailwind/dist/preset.js +1 -1
- package/packages/core/dist/catalog/index.d.ts.map +1 -1
- package/packages/core/dist/catalog/index.js +5 -4
- package/packages/core/dist/catalog/index.js.map +1 -1
- package/packages/core/dist/themes/tokens.json +2 -2
- package/packages/theme-selector/dist/index.js +3 -3
- package/packages/theme-selector/dist/index.js.map +1 -1
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var tokens = {
|
|
4
4
|
$schema: "https://design-tokens.org/schema.json",
|
|
5
5
|
$description: "Turbo Themes - Flat tokens for 27 themes",
|
|
6
|
-
$version: "0.28.
|
|
7
|
-
$generated: "
|
|
6
|
+
$version: "0.28.7",
|
|
7
|
+
$generated: "2876da76eee982a5b5ec8ea32d4b8556345e78c02a728eb9d0163f3f1e56f874",
|
|
8
8
|
meta: {
|
|
9
9
|
"themeIds": [
|
|
10
10
|
"bulma-dark",
|
|
@@ -265,13 +265,14 @@ flavors.map((f) => [f.id, getShortLabel(f.id)]);
|
|
|
265
265
|
*/
|
|
266
266
|
var KNOWN_THEME_IDS = new Set(themeIds);
|
|
267
267
|
/**
|
|
268
|
-
* Emit a dev-time warning for unknown IDs.
|
|
269
|
-
* `process
|
|
270
|
-
*
|
|
268
|
+
* Emit a dev-time warning for unknown IDs. The `typeof` guard is safe even
|
|
269
|
+
* when `process` is an undeclared identifier (browsers/workers without a
|
|
270
|
+
* shim), and keeps the contiguous `process.env.NODE_ENV` token sequence so
|
|
271
|
+
* bundler define-replacement and dead-code elimination still apply.
|
|
271
272
|
*/
|
|
272
273
|
function warnInvalidIds(source, ids) {
|
|
273
274
|
if (ids.length === 0) return;
|
|
274
|
-
if (process.env.NODE_ENV === "production") return;
|
|
275
|
+
if (typeof process !== "undefined" && process.env.NODE_ENV === "production") return;
|
|
275
276
|
console.warn(`[catalog] createThemeCatalog: ignoring unknown ${source} theme ID(s): ${ids.join(", ")}. Valid IDs come from the exported \`themeIds\`.`);
|
|
276
277
|
}
|
|
277
278
|
/**
|
|
@@ -448,4 +449,4 @@ function createThemeCssVariables(themeId) {
|
|
|
448
449
|
//#endregion
|
|
449
450
|
export { themeIds as a, getTheme as i, createThemeCssVariables as n, themesById as o, getAllThemeColors as r, createColorMappings as t };
|
|
450
451
|
|
|
451
|
-
//# sourceMappingURL=colors-
|
|
452
|
+
//# sourceMappingURL=colors-BF9oTt-B.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createThemeCssVariables, r as getAllThemeColors, t as createColorMappings } from "./colors-
|
|
1
|
+
import { n as createThemeCssVariables, r as getAllThemeColors, t as createColorMappings } from "./colors-BF9oTt-B.js";
|
|
2
2
|
export { createColorMappings, createThemeCssVariables, getAllThemeColors };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as themeIds, i as getTheme, o as themesById, t as createColorMappings } from "./colors-
|
|
1
|
+
import { a as themeIds, i as getTheme, o as themesById, t as createColorMappings } from "./colors-BF9oTt-B.js";
|
|
2
2
|
//#region preset.ts
|
|
3
3
|
/**
|
|
4
4
|
* Tailwind CSS preset for Turbo Themes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://design-tokens.org/schema.json",
|
|
3
3
|
"$description": "Turbo Themes - Design tokens for 27 themes",
|
|
4
|
-
"$version": "0.28.
|
|
5
|
-
"$generated": "
|
|
4
|
+
"$version": "0.28.7",
|
|
5
|
+
"$generated": "e664143f89369e352f44bd87306352d85da279a97d6f54c920ba24e8fd0e7721",
|
|
6
6
|
"meta": {
|
|
7
7
|
"themeIds": [
|
|
8
8
|
"bulma-dark",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://design-tokens.org/schema.json",
|
|
3
3
|
"$description": "Turbo Themes - Flat tokens for 27 themes",
|
|
4
|
-
"$version": "0.28.
|
|
5
|
-
"$generated": "
|
|
4
|
+
"$version": "0.28.7",
|
|
5
|
+
"$generated": "2876da76eee982a5b5ec8ea32d4b8556345e78c02a728eb9d0163f3f1e56f874",
|
|
6
6
|
"meta": {
|
|
7
7
|
"themeIds": [
|
|
8
8
|
"bulma-dark",
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var tokens = {
|
|
4
4
|
$schema: "https://design-tokens.org/schema.json",
|
|
5
5
|
$description: "Turbo Themes - Flat tokens for 27 themes",
|
|
6
|
-
$version: "0.28.
|
|
7
|
-
$generated: "
|
|
6
|
+
$version: "0.28.7",
|
|
7
|
+
$generated: "2876da76eee982a5b5ec8ea32d4b8556345e78c02a728eb9d0163f3f1e56f874",
|
|
8
8
|
meta: {
|
|
9
9
|
"themeIds": [
|
|
10
10
|
"bulma-dark",
|
|
@@ -265,13 +265,14 @@ flavors.map((f) => [f.id, getShortLabel(f.id)]);
|
|
|
265
265
|
*/
|
|
266
266
|
var KNOWN_THEME_IDS = new Set(themeIds);
|
|
267
267
|
/**
|
|
268
|
-
* Emit a dev-time warning for unknown IDs.
|
|
269
|
-
* `process
|
|
270
|
-
*
|
|
268
|
+
* Emit a dev-time warning for unknown IDs. The `typeof` guard is safe even
|
|
269
|
+
* when `process` is an undeclared identifier (browsers/workers without a
|
|
270
|
+
* shim), and keeps the contiguous `process.env.NODE_ENV` token sequence so
|
|
271
|
+
* bundler define-replacement and dead-code elimination still apply.
|
|
271
272
|
*/
|
|
272
273
|
function warnInvalidIds(source, ids) {
|
|
273
274
|
if (ids.length === 0) return;
|
|
274
|
-
if (process.env.NODE_ENV === "production") return;
|
|
275
|
+
if (typeof process !== "undefined" && process.env.NODE_ENV === "production") return;
|
|
275
276
|
console.warn(`[catalog] createThemeCatalog: ignoring unknown ${source} theme ID(s): ${ids.join(", ")}. Valid IDs come from the exported \`themeIds\`.`);
|
|
276
277
|
}
|
|
277
278
|
/**
|
|
@@ -448,4 +449,4 @@ function createThemeCssVariables(themeId) {
|
|
|
448
449
|
//#endregion
|
|
449
450
|
export { themeIds as a, getTheme as i, createThemeCssVariables as n, themesById as o, getAllThemeColors as r, createColorMappings as t };
|
|
450
451
|
|
|
451
|
-
//# sourceMappingURL=colors-
|
|
452
|
+
//# sourceMappingURL=colors-BF9oTt-B.js.map
|