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:
Kurdistan Tech Ministry committed 2026-01-07 19:22:05 +03:00
1 parent 3c1a94af4f
commit 7afaaafd56
11 files changed
+4485 -3996

No files matched your search

+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // 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 // 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 // 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 // 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" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "3.16.8", "version": "3.16.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@pezkuwi/networks": "^14.0.5", "@pezkuwi/networks": "^14.0.5",
+5 -2
View File
@@ -1,5 +1,8 @@
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors // Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// matches https://polkadot.js.org & https://*.polkadot.io // matches https://pezkuwichain.io & https://*.pezkuwichain.io
export const isPolkadot = typeof window !== 'undefined' && window.location.host.includes('polkadot'); 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 export const UITHEME_DEFAULT = 'light';
? 'polkadot'
: 'substrate';
export const UITHEMES: Option[] = [ export const UITHEMES: Option[] = [
{ {
info: 'polkadot', info: 'light',
text: 'Polkadot', text: 'Light theme',
value: 'polkadot' value: 'light'
}, },
{ {
info: 'substrate', info: 'dark',
text: 'Substrate', text: 'Dark theme',
value: 'substrate' value: 'dark'
} }
]; ];
export const ICON_DEFAULT = 'default'; export const ICON_DEFAULT = 'default';
export const ICON_DEFAULT_HOST = isPolkadot export const ICON_DEFAULT_HOST = 'pezkuwi';
? 'polkadot'
: 'substrate';
export const ICONS: Option[] = [ export const ICONS: Option[] = [
{ {
@@ -54,14 +50,14 @@ export const ICONS: Option[] = [
value: 'default' value: 'default'
}, },
{ {
info: 'polkadot', info: 'pezkuwi',
text: 'Polkadot', text: 'Pezkuwi',
value: 'polkadot' value: 'pezkuwi'
}, },
{ {
info: 'substrate', info: 'bizinikiwi',
text: 'Substrate', text: 'Bizinikiwi',
value: 'substrate' value: 'bizinikiwi'
}, },
{ {
info: 'beachball', info: 'beachball',
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // 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 // 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 // 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' };
+4458 -3968
View File
File diff suppressed because it is too large. Load diff