feat: update ui-settings to use dark/light theme values

- Change UITHEME_DEFAULT from 'polkadot'/'substrate' to 'light'
- Update UITHEMES options to use 'dark'/'light' values
- Update ICONS to use 'pezkuwi'/'bizinikiwi' branding
- Add isPezkuwi check for domain detection
- Bump ui-settings version to 3.16.9
This commit is contained in:
2026-01-07 19:22:05 +03:00
parent 3c1a94af4f
commit 7afaaafd56
11 changed files with 4485 additions and 3996 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/react-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/react-identicon', path: 'auto', type: 'auto', version: '3.16.8' };
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/react-qr', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/react-qr', path: 'auto', type: 'auto', version: '3.16.8' };
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/reactnative-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/reactnative-identicon', path: 'auto', type: 'auto', version: '3.16.8' };
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/ui-keyring', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/ui-keyring', path: 'auto', type: 'auto', version: '3.16.8' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.8",
"version": "3.16.9",
"main": "index.js",
"dependencies": {
"@pezkuwi/networks": "^14.0.5",
+5 -2
View File
@@ -1,5 +1,8 @@
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
// matches https://polkadot.js.org & https://*.polkadot.io
export const isPolkadot = typeof window !== 'undefined' && window.location.host.includes('polkadot');
// matches https://pezkuwichain.io & https://*.pezkuwichain.io
export const isPezkuwi = typeof window !== 'undefined' && window.location.host.includes('pezkuwi');
// Backward compatibility alias
export const isPolkadot = isPezkuwi;
+14 -18
View File
@@ -24,28 +24,24 @@ export const UIMODES: Option[] = [
}
];
export const UITHEME_DEFAULT = isPolkadot
? 'polkadot'
: 'substrate';
export const UITHEME_DEFAULT = 'light';
export const UITHEMES: Option[] = [
{
info: 'polkadot',
text: 'Polkadot',
value: 'polkadot'
info: 'light',
text: 'Light theme',
value: 'light'
},
{
info: 'substrate',
text: 'Substrate',
value: 'substrate'
info: 'dark',
text: 'Dark theme',
value: 'dark'
}
];
export const ICON_DEFAULT = 'default';
export const ICON_DEFAULT_HOST = isPolkadot
? 'polkadot'
: 'substrate';
export const ICON_DEFAULT_HOST = 'pezkuwi';
export const ICONS: Option[] = [
{
@@ -54,14 +50,14 @@ export const ICONS: Option[] = [
value: 'default'
},
{
info: 'polkadot',
text: 'Polkadot',
value: 'polkadot'
info: 'pezkuwi',
text: 'Pezkuwi',
value: 'pezkuwi'
},
{
info: 'substrate',
text: 'Substrate',
value: 'substrate'
info: 'bizinikiwi',
text: 'Bizinikiwi',
value: 'bizinikiwi'
},
{
info: 'beachball',
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/ui-settings', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/ui-settings', path: 'auto', type: 'auto', version: '3.16.9' };
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/ui-shared', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/ui-shared', path: 'auto', type: 'auto', version: '3.16.8' };
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/vue-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/vue-identicon', path: 'auto', type: 'auto', version: '3.16.8' };