@enovaui/mobile-tokens 0.6.0 → 0.7.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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  The following is a curated list of changes in the mobile tokens module, newest changes on the top.
4
4
 
5
+ ## [0.7.0] - 2025-07-04
6
+
7
+ - No significant changes
8
+
5
9
  ## [0.6.0] - 2025-06-11
6
10
 
7
11
  - Initial release
package/README.md CHANGED
@@ -1,14 +1,20 @@
1
- # Mobile Tokens
1
+ # @enovaui/mobile-tokens
2
+ [![npm (scoped)](https://img.shields.io/npm/v/%40enovaui%2Fmobile-tokens)](https://www.npmjs.com/package/@enovaui/mobile-tokens) [![license](https://img.shields.io/github/license/enovaui/design-tokens)](http://www.apache.org/licenses/LICENSE-2.0)
2
3
 
3
- Design tokens for mobile platforms.
4
+ Semantic design tokens for mobile applications in the LG UI Kit design system.
4
5
 
5
6
  ## Overview
6
7
 
7
- This package contains design tokens that define visual attributes for mobile applications. Design tokens help maintain consistency and enable theming across the ecosystem.
8
+ This package contains semantic design tokens specifically crafted for mobile applications. These tokens map primitive values from `@enovaui/core-tokens` to meaningful, context-specific design properties.
8
9
 
9
10
  ### What are Semantic Tokens?
10
11
 
11
- Semantic tokens are design tokens that define the intended meaning or purpose of a design element, rather than its raw value. By abstracting the design intent, semantic tokens enable consistent styling across different components.
12
+ Semantic tokens translate primitive values into purpose-driven design tokens. They provide:
13
+
14
+ * **Meaningful Names**: Tokens are named by their purpose (e.g., `on-background-main`) rather than their value
15
+ * **Context-Aware Values**: Values are appropriate for specific UI contexts in mobile applications
16
+ * **Consistent Theming**: A standardized token structure for mobile theming
17
+ * **Platform Optimization**: Values are optimized for mobile displays
12
18
 
13
19
  ## Installation
14
20
 
@@ -31,6 +37,13 @@ To incorporate these design tokens into your project, follow these simple steps:
31
37
  1. Import the desired token values from this repository.
32
38
  2. Apply the imported tokens to your components and styles.
33
39
 
40
+ ### Token Categories
41
+
42
+ * `color-semantic-lg-brand`: Semantic color tokens optimized for LG brand identity, featuring warm grays and red accent colors with a focus on clean, modern aesthetics
43
+ * `color-semantic-mobile`: Mobile-optimized color tokens using cobalt blue as the primary accent color with crisp, clear states for touch interactions
44
+ * `color-semantic-mono-black`: Dark theme color tokens with mist gray variations, optimized for OLED displays and dark mode interfaces
45
+ * `color-semantic-mono-white`: Light theme color tokens with bright, minimal design using mist gray scales for subtle depth
46
+ * `color-semantic-web`: Web-focused color tokens using blue-gray and blue-green combinations for responsive layouts
34
47
 
35
48
  ## Copyright and License Information
36
49
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  @import "@enovaui/core-tokens/css/color-primitive.css";
@@ -23,7 +23,7 @@ Semantic Color Tokens
23
23
  --semantic-color-surface-default-pressed: var(--primitive-color-warm-gray-75);
24
24
  --semantic-color-surface-default-selected: var(--primitive-color-warm-gray-75);
25
25
  --semantic-color-surface-default-handle: var(--primitive-color-black);
26
- --semantic-color-surface-default-indicator: var(--primitive-color-pink-40);
26
+ --semantic-color-surface-default-indicator: var(--primitive-color-heritage-red-40);
27
27
  --semantic-color-surface-default-notification: var(--primitive-color-active-red-50);
28
28
  --semantic-color-surface-default-placeholder: var(--primitive-color-warm-gray-60);
29
29
  --semantic-color-surface-default-track: var(--primitive-color-warm-gray-75);
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  @import "@enovaui/core-tokens/css/color-primitive.css";
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  @import "@enovaui/core-tokens/css/color-primitive.css";
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  @import "@enovaui/core-tokens/css/color-primitive.css";
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  @import "@enovaui/core-tokens/css/color-primitive.css";
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: Copyright 2025 LG Electronics Inc.
3
- * SPDX-License-Identifier: LicenseRef-LGE-Proprietary
3
+ * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
6
  // This space intentionally left blank
@@ -27,7 +27,7 @@
27
27
  "default-pressed": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/warm-gray-75"},
28
28
  "default-selected": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/warm-gray-75"},
29
29
  "default-handle": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/black"},
30
- "default-indicator": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/pink-40"},
30
+ "default-indicator": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/heritage-red-40"},
31
31
  "default-notification": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/active-red-50"},
32
32
  "default-placeholder": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/warm-gray-60"},
33
33
  "default-track": {"$ref": "core-tokens/json/color-primitive.json#/primitive/color/warm-gray-75"},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enovaui/mobile-tokens",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Theme design tokens for mobile",
5
5
  "main": "index.js",
6
6
  "license": "Apache-2.0",
@@ -10,6 +10,6 @@
10
10
  "mobile"
11
11
  ],
12
12
  "dependencies": {
13
- "@enovaui/core-tokens": "^0.6.0"
13
+ "@enovaui/core-tokens": "^0.7.0"
14
14
  }
15
15
  }