@particle-network/ui-shared 0.3.2-beta.2 → 0.3.2-beta.4

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.
@@ -1,5 +1,5 @@
1
1
  import { type UXColor } from './color';
2
- export type ThemeId = 'ux-purple-gold-dark' | 'ux-purple-gold-light' | 'ux-green-red-dark' | 'ux-green-red-light' | 'ux-green-red-soft-dark' | 'ux-green-red-soft-light' | 'gmgn-dark' | 'axiom-dark' | 'hyperliquid-dark' | 'phantom-dark' | 'binance-dark' | 'bullx-dark' | 'custom';
2
+ export type ThemeId = 'ux-purple-gold-dark' | 'ux-purple-gold-light' | 'ux-green-red-dark' | 'ux-green-red-light' | 'ux-green-red-soft-dark' | 'ux-green-red-soft-light' | 'gmgn-dark' | 'axiom-dark' | 'hyperliquid-dark' | 'phantom-dark' | 'binance-dark' | 'bullx-dark' | 'product-test';
3
3
  export type ColorScheme = 'dark' | 'light';
4
4
  export interface ThemeItemType {
5
5
  id: ThemeId;
@@ -10,5 +10,6 @@ export interface ThemeItemType {
10
10
  colorVariables: Record<Exclude<UXColor, 'transparent' | 'white'>, string>;
11
11
  }
12
12
  export declare const DEFAULT_THEME_ID = "ux-green-red-soft-dark";
13
+ export declare const DEFAULT_MARKET_THEME_ID = "ux-purple-gold-dark";
13
14
  export declare const themeData: ThemeItemType[];
14
15
  export declare const themeKeys: ThemeId[];
@@ -1,4 +1,5 @@
1
1
  const DEFAULT_THEME_ID = 'ux-green-red-soft-dark';
2
+ const DEFAULT_MARKET_THEME_ID = 'ux-purple-gold-dark';
2
3
  const themeData = [
3
4
  {
4
5
  id: 'ux-green-red-soft-dark',
@@ -316,7 +317,7 @@ const themeData = [
316
317
  }
317
318
  },
318
319
  {
319
- id: 'custom',
320
+ id: 'product-test',
320
321
  zhName: '产品测试',
321
322
  enName: 'Product Test',
322
323
  colorScheme: 'dark',
@@ -343,4 +344,4 @@ const themeData = [
343
344
  }
344
345
  ];
345
346
  const themeKeys = themeData.map((theme)=>theme.id);
346
- export { DEFAULT_THEME_ID, themeData, themeKeys };
347
+ export { DEFAULT_MARKET_THEME_ID, DEFAULT_THEME_ID, themeData, themeKeys };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-shared",
3
- "version": "0.3.2-beta.2",
3
+ "version": "0.3.2-beta.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "react-native": "./dist/index.js",
@@ -44,8 +44,8 @@
44
44
  "@rsbuild/plugin-react": "^1.3.5",
45
45
  "@rslib/core": "^0.12.3",
46
46
  "@types/react": "^19.1.10",
47
- "@particle-network/eslint-config": "0.3.0",
48
- "@particle-network/lintstaged-config": "0.1.0"
47
+ "@particle-network/lintstaged-config": "0.1.0",
48
+ "@particle-network/eslint-config": "0.3.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "rslib build",