diff --git a/.github/workflows/android-generated-build.yml b/.github/workflows/android-generated-build.yml index 9d635a8..0381686 100644 --- a/.github/workflows/android-generated-build.yml +++ b/.github/workflows/android-generated-build.yml @@ -2,9 +2,9 @@ name: DroidUI Generated Android Build on: pull_request: - branches: [main] + branches: [main, feat/phase-2h-editor-workspace-controls] push: - branches: [main] + branches: [main, feat/phase-2h-editor-workspace-controls] workflow_dispatch: permissions: @@ -73,6 +73,33 @@ jobs: with: gradle-version: '8.7' + - name: Configure Gradle memory for Android CI + working-directory: ${{ runner.temp }}/droidui-generated-android + shell: bash + run: | + python3 - <<'PY' + from pathlib import Path + import re + + path = Path("gradle.properties") + content = path.read_text() if path.exists() else "" + heap = "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8" + if re.search(r"(?m)^org\.gradle\.jvmargs=.*$", content): + content = re.sub(r"(?m)^org\.gradle\.jvmargs=.*$", heap, content) + else: + content = content.rstrip() + "\n" + heap + "\n" + settings = { + "org.gradle.parallel": "false", + "org.gradle.workers.max": "2", + } + for key, value in settings.items(): + content = re.sub(rf"(?m)^{re.escape(key)}=.*$", f"{key}={value}", content) + if not re.search(rf"(?m)^{re.escape(key)}=", content): + content = content.rstrip() + f"\n{key}={value}\n" + path.write_text(content) + print(path.read_text()) + PY + - name: Build generated debug and release APKs working-directory: ${{ runner.temp }}/droidui-generated-android run: gradle --no-daemon assembleDebug assembleRelease diff --git a/.github/workflows/droidui-dev-apk.yml b/.github/workflows/droidui-dev-apk.yml index 3510e88..ef5c537 100644 --- a/.github/workflows/droidui-dev-apk.yml +++ b/.github/workflows/droidui-dev-apk.yml @@ -3,13 +3,14 @@ name: DroidUI Real Android Dev APK on: workflow_dispatch: pull_request: - branches: [main] + branches: [main, feat/phase-2h-editor-workspace-controls] paths: - 'app/**' - '.github/workflows/droidui-dev-apk.yml' push: branches: - 'feat/phase-2g-release-integrity' + - 'feat/phase-2h-editor-workspace-controls' permissions: contents: read @@ -49,7 +50,7 @@ jobs: - name: Generate native Android project working-directory: app - run: npx expo prebuild --platform android --non-interactive --no-install + run: npx expo prebuild --platform android --no-install - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -67,15 +68,42 @@ jobs: with: gradle-version: '8.6' - - name: Build real DroidUI debug APK + - name: Configure Gradle memory for Android CI working-directory: app/android - run: gradle --no-daemon assembleDebug + shell: bash + run: | + python3 - <<'PY' + from pathlib import Path + import re + + path = Path("gradle.properties") + content = path.read_text() if path.exists() else "" + heap = "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8" + if re.search(r"(?m)^org\.gradle\.jvmargs=.*$", content): + content = re.sub(r"(?m)^org\.gradle\.jvmargs=.*$", heap, content) + else: + content = content.rstrip() + "\n" + heap + "\n" + settings = { + "org.gradle.parallel": "false", + "org.gradle.workers.max": "2", + } + for key, value in settings.items(): + content = re.sub(rf"(?m)^{re.escape(key)}=.*$", f"{key}={value}", content) + if not re.search(rf"(?m)^{re.escape(key)}=", content): + content = content.rstrip() + f"\n{key}={value}\n" + path.write_text(content) + print(path.read_text()) + PY + + - name: Build installable DroidUI release APK + working-directory: app/android + run: gradle --no-daemon assembleRelease - name: Verify real APK output working-directory: app shell: bash run: | - APK="android/app/build/outputs/apk/debug/app-debug.apk" + APK="android/app/build/outputs/apk/release/app-release.apk" test -s "$APK" echo "REAL_DROIDUI_APK=$APK" ls -lh "$APK" @@ -85,24 +113,18 @@ jobs: shell: bash run: | set -euo pipefail - APK="android/app/build/outputs/apk/debug/app-debug.apk" + APK="android/app/build/outputs/apk/release/app-release.apk" AAPT="$ANDROID_HOME/build-tools/34.0.0/aapt" BADGING="$("$AAPT" dump badging "$APK")" grep -F "package: name='com.codephrex.droidstudio'" <<< "$BADGING" - grep -F "application-label:'Droid Studio UI/UX'" <<< "$BADGING" - unzip -l "$APK" | grep -E 'assets/index.android.bundle uses: actions/upload-artifact@v4 - with: - name: droidui-real-dev-apk-${{ github.sha }} - path: app/android/app/build/outputs/apk/debug/app-debug.apk - if-no-files-found: error - retention-days: 14 - + grep -F "application-label:'DroidUI'" <<< "$BADGING" + unzip -l "$APK" | grep -q 'assets/index.android.bundle' echo "Verified: this artifact is the DroidUI application, not the generated test fixture." - name: Upload real DroidUI development APK uses: actions/upload-artifact@v4 with: name: droidui-real-dev-apk-${{ github.sha }} - path: app/android/app/build/outputs/apk/debug/app-debug.apk + path: app/android/app/build/outputs/apk/release/app-release.apk if-no-files-found: error retention-days: 14 diff --git a/.github/workflows/inspection-gates.yml b/.github/workflows/inspection-gates.yml index 552f2ec..e73ad7f 100644 --- a/.github/workflows/inspection-gates.yml +++ b/.github/workflows/inspection-gates.yml @@ -2,9 +2,9 @@ name: DroidUI Inspection Gates on: pull_request: - branches: [main] + branches: [main, feat/phase-2h-editor-workspace-controls] push: - branches: [main] + branches: [main, feat/phase-2h-editor-workspace-controls] workflow_dispatch: permissions: diff --git a/app/App.tsx b/app/App.tsx index 08e61d6..8018b2b 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -23,6 +23,7 @@ import { LayerReorderManager } from './src/components/LayerReorderManager'; import { TemplateLibrary } from './src/templates/TemplateLibrary'; import { ThemeManager } from './src/components/ThemeManager'; import { DesignSystemStudio } from './src/components/DesignSystemStudio'; +import { BrandMark, BrandSplash } from './src/components/DroidUIBrand'; import { ProjectManager } from './src/components/ProjectManager'; import { AssetPickerStudio } from './src/components/AssetPickerStudio'; import { ViewportSelector, VIEWPORTS, ViewportMode } from './src/components/ViewportSelector'; @@ -65,6 +66,7 @@ export default function App() { const [activeViewport, setActiveViewport] = useState('galaxy_s24_ultra'); const [modalVisible, setModalVisible] = useState(false); const [codeOutput, setCodeOutput] = useState(''); + const [showBrandSplash, setShowBrandSplash] = useState(true); const currentVP = activeViewport === 'detected_device' ? detectCurrentDeviceProfile().viewport : (VIEWPORTS[activeViewport as Exclude] || VIEWPORTS.galaxy_s24_ultra); @@ -100,22 +102,22 @@ export default function App() { {/* Studio Top Navigation Header Bar */} - ◈ DroidUI Studio - + + {currentProjectName} - setActiveTab('projects')}> + setActiveTab('projects')}> 📂 Open - + 💾 Save {/* Light / Dark UI Toggle Switch */} @@ -123,10 +125,10 @@ export default function App() { - + ↩ Undo - + ↪ Redo handleExport('tsx')}> @@ -144,8 +146,8 @@ export default function App() { - - + + @@ -291,8 +293,8 @@ export default function App() { handleExport('store')}>Play Store Spec handleExport('droidui')}>.dui Package - - {codeOutput} + + {codeOutput} setModalVisible(false)}> Close Modal @@ -300,32 +302,33 @@ export default function App() { + {showBrandSplash && setShowBrandSplash(false)} />} ); } const styles = StyleSheet.create({ container: { flex: 1 }, - navbar: { flexDirection: 'column', justifyContent: 'center', alignItems: 'stretch', paddingHorizontal: 12, paddingVertical: 10, borderBottomWidth: 1, gap: 8 }, + navbar: { flexDirection: 'column', justifyContent: 'center', alignItems: 'stretch', paddingHorizontal: 14, paddingVertical: 11, borderBottomWidth: 1, borderBottomColor: '#263B68', gap: 9 }, brandGroup: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', gap: 8, width: '100%' }, logoTitle: { fontSize: 17, fontWeight: '900', letterSpacing: 0.3 }, - projectBadge: { paddingHorizontal: 8, paddingVertical: 3, borderRadius: 12 }, + projectBadge: { paddingHorizontal: 10, paddingVertical: 5, borderRadius: 12, borderWidth: 1, borderColor: '#263B68' }, projectBadgeText: { fontSize: 10, fontWeight: 'bold' }, navActions: { flexDirection: 'row', alignItems: 'center', justifyContent: 'flex-end', flexWrap: 'wrap', gap: 6, width: '100%' }, themeToggleBtn: { borderWidth: 1, paddingHorizontal: 10, paddingVertical: 5, borderRadius: 20 }, themeToggleText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, - navBtn: { paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6 }, + navBtn: { paddingHorizontal: 11, paddingVertical: 7, borderRadius: 9, borderWidth: 1, borderColor: '#263B68' }, navBtnText: { fontSize: 11, fontWeight: 'bold' }, - exportBtn: { paddingHorizontal: 12, paddingVertical: 6, borderRadius: 6 }, + exportBtn: { paddingHorizontal: 13, paddingVertical: 7, borderRadius: 9, shadowColor: '#38E8F2', shadowOpacity: 0.18, shadowRadius: 8, elevation: 3 }, exportBtnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, workspace: { flex: 1, flexDirection: 'column' }, canvasArea: { flex: 1, padding: 12, alignItems: 'center' }, deviceFrame: { borderWidth: 2, borderRadius: 24, padding: 12, alignSelf: 'center', shadowColor: '#000', shadowRadius: 10 }, deviceNotch: { width: 60, height: 6, borderRadius: 3, alignSelf: 'center', marginBottom: 8 }, - panelArea: { flex: 1, borderTopWidth: 1 }, + panelArea: { flex: 1, borderTopWidth: 1, borderTopColor: '#263B68' }, tabScroll: { borderBottomWidth: 1, maxHeight: 42 }, tab: { paddingHorizontal: 16, paddingVertical: 10, alignItems: 'center' }, - activeTab: { borderBottomWidth: 2, borderBottomColor: '#2563eb' }, + activeTab: { borderBottomWidth: 2, borderBottomColor: '#38E8F2', backgroundColor: 'rgba(56,232,242,0.07)' }, tabText: { fontSize: 11, fontWeight: 'bold' }, modalOverlay: { flex: 1, backgroundColor: 'rgba(0,0,0,0.8)', justifyContent: 'center', padding: 20 }, modalContent: { padding: 16, borderRadius: 12, maxHeight: '80%' }, @@ -334,6 +337,6 @@ const styles = StyleSheet.create({ codeText: { fontFamily: 'monospace', fontSize: 12 }, closeBtn: { marginTop: 12, padding: 10, borderRadius: 6, alignItems: 'center' }, closeBtnText: { color: '#ffffff', fontWeight: 'bold' }, - presetBtn: { backgroundColor: '#334155', paddingHorizontal: 8, paddingVertical: 5, borderRadius: 4 }, - presetBtnText: { color: '#38bdf8', fontSize: 10, fontWeight: 'bold' }, + presetBtn: { backgroundColor: '#111B35', paddingHorizontal: 8, paddingVertical: 5, borderRadius: 4 }, + presetBtnText: { color: '#38E8F2', fontSize: 10, fontWeight: 'bold' }, }); diff --git a/app/app.json b/app/app.json index 836026f..8c84f96 100644 --- a/app/app.json +++ b/app/app.json @@ -15,7 +15,7 @@ "package": "com.codephrex.droidstudio" }, "splash": { - "backgroundColor": "#0B1020" + "backgroundColor": "#080D1F" }, "plugins": [ "./plugins/withAndroidSplashBackground" diff --git a/app/plugins/withAndroidSplashBackground.js b/app/plugins/withAndroidSplashBackground.js index 612dbe1..3216b30 100644 --- a/app/plugins/withAndroidSplashBackground.js +++ b/app/plugins/withAndroidSplashBackground.js @@ -1,24 +1,20 @@ 'use strict'; -const { withAndroidColors } = require('@expo/config-plugins'); +const { AndroidConfig, withAndroidColors } = require('@expo/config-plugins'); + +const SPLASH_BACKGROUND_COLOR = '#080D1F'; +const SPLASH_BACKGROUND_RESOURCE = 'splashscreen_background'; module.exports = function withAndroidSplashBackground(config) { return withAndroidColors(config, (modConfig) => { - const resources = modConfig.modResults.resources || []; - const existing = resources.find( - (resource) => resource.$ && resource.$.name === 'splashscreen_background' + modConfig.modResults = AndroidConfig.Colors.assignColorValue( + modConfig.modResults, + { + name: SPLASH_BACKGROUND_RESOURCE, + value: SPLASH_BACKGROUND_COLOR + } ); - if (existing) { - existing._ = '#0B1020'; - } else { - resources.push({ - $: { name: 'splashscreen_background' }, - _: '#0B1020' - }); - } - - modConfig.modResults.resources = resources; return modConfig; }); }; diff --git a/app/src/components/AccessibilityStudio.tsx b/app/src/components/AccessibilityStudio.tsx index 97fcd6b..1147404 100644 --- a/app/src/components/AccessibilityStudio.tsx +++ b/app/src/components/AccessibilityStudio.tsx @@ -78,7 +78,7 @@ export const AccessibilityStudio = () => { handleUpdate({ accessibilityLabel: txt })} /> @@ -91,7 +91,7 @@ export const AccessibilityStudio = () => { handleUpdate({ accessibilityHint: txt })} /> @@ -182,20 +182,20 @@ const styles = StyleSheet.create({ container: { padding: 12 }, header: { marginBottom: 14 }, title: { fontSize: 13, fontWeight: 'bold', color: '#10b981', textTransform: 'uppercase' }, - targetBadge: { fontSize: 10, color: '#94a3b8', marginTop: 2 }, + targetBadge: { fontSize: 10, color: '#9AADD6', marginTop: 2 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 6 }, + sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 6 }, buttonRow: { flexDirection: 'row', gap: 6 }, - toggleBtn: { flex: 1, backgroundColor: '#1e293b', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', alignItems: 'center' }, + toggleBtn: { flex: 1, backgroundColor: '#111B35', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', alignItems: 'center' }, activeToggleBtn: { backgroundColor: '#059669', borderColor: '#10b981' }, - btnText: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, - textInput: { backgroundColor: '#0f172a', color: '#f8fafc', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', fontSize: 12 }, - helperText: { color: '#64748b', fontSize: 10, marginTop: 4 }, + btnText: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, + textInput: { backgroundColor: '#080D1F', color: '#F4F7FF', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', fontSize: 12 }, + helperText: { color: '#7186B4', fontSize: 10, marginTop: 4 }, chipGrid: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - chip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#334155' }, + chip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#263B68' }, activeChip: { backgroundColor: '#10b981', borderColor: '#059669' }, - chipText: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, + chipText: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, presetRow: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - presetBtn: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 8, borderRadius: 6, borderWidth: 1, borderColor: '#10b981' }, + presetBtn: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 8, borderRadius: 6, borderWidth: 1, borderColor: '#10b981' }, presetBtnText: { color: '#34d399', fontSize: 11, fontWeight: 'bold' }, }); diff --git a/app/src/components/AndroidProjectExportStudio.tsx b/app/src/components/AndroidProjectExportStudio.tsx index 04331a9..34c5c74 100644 --- a/app/src/components/AndroidProjectExportStudio.tsx +++ b/app/src/components/AndroidProjectExportStudio.tsx @@ -137,43 +137,43 @@ const styles = StyleSheet.create({ content: { padding: 12, paddingBottom: 28 }, header: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12, gap: 8 }, headerCopy: { flex: 1 }, - title: { color: '#f8fafc', fontSize: 16, fontWeight: '800' }, - subtitle: { color: '#94a3b8', fontSize: 11, marginTop: 4 }, + title: { color: '#F4F7FF', fontSize: 16, fontWeight: '800' }, + subtitle: { color: '#9AADD6', fontSize: 11, marginTop: 4 }, status: { paddingHorizontal: 8, paddingVertical: 6, borderRadius: 8 }, statusReady: { backgroundColor: '#064e3b' }, statusError: { backgroundColor: '#7f1d1d' }, statusText: { color: '#fff', fontSize: 10, fontWeight: '700' }, - section: { backgroundColor: '#0f172a', borderColor: '#334155', borderWidth: 1, borderRadius: 10, padding: 12, marginBottom: 12 }, - sectionTitle: { color: '#38bdf8', fontSize: 13, fontWeight: '800', marginBottom: 9 }, + section: { backgroundColor: '#080D1F', borderColor: '#263B68', borderWidth: 1, borderRadius: 10, padding: 12, marginBottom: 12 }, + sectionTitle: { color: '#38E8F2', fontSize: 13, fontWeight: '800', marginBottom: 9 }, sectionHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }, - count: { color: '#94a3b8', fontSize: 10 }, - label: { color: '#cbd5e1', fontSize: 11, marginTop: 8, marginBottom: 5 }, - input: { color: '#f8fafc', backgroundColor: '#1e293b', borderColor: '#475569', borderWidth: 1, borderRadius: 7, paddingHorizontal: 9, paddingVertical: 8, fontSize: 12 }, - frameworkActive: { borderWidth: 1, borderColor: '#2563eb', backgroundColor: '#172554', borderRadius: 8, padding: 10 }, + count: { color: '#9AADD6', fontSize: 10 }, + label: { color: '#C7D5F1', fontSize: 11, marginTop: 8, marginBottom: 5 }, + input: { color: '#F4F7FF', backgroundColor: '#111B35', borderColor: '#475569', borderWidth: 1, borderRadius: 7, paddingHorizontal: 9, paddingVertical: 8, fontSize: 12 }, + frameworkActive: { borderWidth: 1, borderColor: '#398BFF', backgroundColor: '#172554', borderRadius: 8, padding: 10 }, frameworkTitle: { color: '#fff', fontSize: 12, fontWeight: '700' }, - muted: { color: '#94a3b8', fontSize: 10, lineHeight: 15 }, + muted: { color: '#9AADD6', fontSize: 10, lineHeight: 15 }, chips: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - chip: { backgroundColor: '#1e293b', borderColor: '#475569', borderWidth: 1, borderRadius: 7, paddingHorizontal: 9, paddingVertical: 7 }, + chip: { backgroundColor: '#111B35', borderColor: '#475569', borderWidth: 1, borderRadius: 7, paddingHorizontal: 9, paddingVertical: 7 }, chipActive: { backgroundColor: '#1d4ed8', borderColor: '#60a5fa' }, - chipText: { color: '#f8fafc', fontSize: 10, fontWeight: '600' }, - fileRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingVertical: 8, paddingHorizontal: 7, borderBottomWidth: 1, borderBottomColor: '#1e293b' }, + chipText: { color: '#F4F7FF', fontSize: 10, fontWeight: '600' }, + fileRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingVertical: 8, paddingHorizontal: 7, borderBottomWidth: 1, borderBottomColor: '#111B35' }, fileSelected: { backgroundColor: '#172554', borderRadius: 5 }, - fileName: { color: '#cbd5e1', fontSize: 10, flex: 1 }, + fileName: { color: '#C7D5F1', fontSize: 10, flex: 1 }, fileAction: { color: '#60a5fa', fontSize: 10, fontWeight: '700' }, preview: { backgroundColor: '#020617', borderRadius: 8, marginTop: 10, overflow: 'hidden' }, previewHeader: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', padding: 8 }, - previewPath: { color: '#94a3b8', fontSize: 9, flex: 1 }, + previewPath: { color: '#9AADD6', fontSize: 9, flex: 1 }, copySmall: { backgroundColor: '#1e40af', paddingHorizontal: 8, paddingVertical: 5, borderRadius: 5 }, copySmallText: { color: '#fff', fontSize: 9, fontWeight: '700' }, codeScroll: { maxHeight: 240, padding: 10 }, code: { color: '#7dd3fc', fontSize: 10, fontFamily: 'monospace' }, success: { color: '#86efac', fontSize: 11 }, - diagnostic: { paddingVertical: 7, borderBottomWidth: 1, borderBottomColor: '#1e293b' }, + diagnostic: { paddingVertical: 7, borderBottomWidth: 1, borderBottomColor: '#111B35' }, error: { color: '#fca5a5', fontSize: 10, fontWeight: '800' }, warning: { color: '#fcd34d', fontSize: 10, fontWeight: '800' }, - diagnosticMessage: { color: '#cbd5e1', fontSize: 10, marginTop: 3, lineHeight: 15 }, - note: { color: '#94a3b8', fontSize: 10, lineHeight: 15, marginTop: 10 }, - exportButton: { backgroundColor: '#2563eb', borderRadius: 8, padding: 12, alignItems: 'center', marginTop: 10 }, + diagnosticMessage: { color: '#C7D5F1', fontSize: 10, marginTop: 3, lineHeight: 15 }, + note: { color: '#9AADD6', fontSize: 10, lineHeight: 15, marginTop: 10 }, + exportButton: { backgroundColor: '#398BFF', borderRadius: 8, padding: 12, alignItems: 'center', marginTop: 10 }, exportDisabled: { opacity: 0.4 }, exportText: { color: '#fff', fontSize: 11, fontWeight: '800' }, }); diff --git a/app/src/components/AssetPickerStudio.tsx b/app/src/components/AssetPickerStudio.tsx index 14b8c38..1fbdcbd 100644 --- a/app/src/components/AssetPickerStudio.tsx +++ b/app/src/components/AssetPickerStudio.tsx @@ -160,7 +160,7 @@ export const AssetPickerStudio = () => { )} Search Icon Library - + {filteredCategories.map((cat) => ( @@ -179,18 +179,18 @@ export const AssetPickerStudio = () => { const styles = StyleSheet.create({ container: { flex: 1, padding: 12 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc', marginBottom: 10 }, - galleryBtn: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', backgroundColor: '#2563eb', padding: 10, borderRadius: 8, gap: 8, marginBottom: 12 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 10 }, + galleryBtn: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', backgroundColor: '#398BFF', padding: 10, borderRadius: 8, gap: 8, marginBottom: 12 }, galleryBtnIcon: { fontSize: 16 }, galleryBtnText: { color: '#ffffff', fontWeight: 'bold', fontSize: 12 }, - sectionHeader: { fontSize: 12, fontWeight: '600', color: '#38bdf8', marginBottom: 6, marginTop: 6 }, - emptyText: { fontSize: 11, color: '#64748b', marginBottom: 8 }, assetList: { marginBottom: 8 }, - assetRow: { flexDirection: 'row', alignItems: 'center', gap: 6, backgroundColor: '#0f172a', borderWidth: 1, borderColor: '#334155', borderRadius: 7, padding: 6, marginBottom: 5 }, - assetPreview: { width: 34, height: 34, borderRadius: 5, backgroundColor: '#1e293b' }, assetDetails: { flex: 1, minWidth: 80 }, assetName: { color: '#f8fafc', fontSize: 11, fontWeight: '600' }, - assetMeta: { color: '#64748b', fontSize: 9, marginTop: 2 }, renameInput: { color: '#fff', fontSize: 11, borderBottomWidth: 1, borderBottomColor: '#38bdf8', paddingVertical: 2 }, - smallBtn: { paddingHorizontal: 6, paddingVertical: 5, borderRadius: 5, backgroundColor: '#334155' }, deleteBtn: { paddingHorizontal: 6, paddingVertical: 5, borderRadius: 5, backgroundColor: '#7f1d1d' }, smallBtnText: { color: '#fff', fontSize: 9, fontWeight: '700' }, + sectionHeader: { fontSize: 12, fontWeight: '600', color: '#38E8F2', marginBottom: 6, marginTop: 6 }, + emptyText: { fontSize: 11, color: '#7186B4', marginBottom: 8 }, assetList: { marginBottom: 8 }, + assetRow: { flexDirection: 'row', alignItems: 'center', gap: 6, backgroundColor: '#080D1F', borderWidth: 1, borderColor: '#263B68', borderRadius: 7, padding: 6, marginBottom: 5 }, + assetPreview: { width: 34, height: 34, borderRadius: 5, backgroundColor: '#111B35' }, assetDetails: { flex: 1, minWidth: 80 }, assetName: { color: '#F4F7FF', fontSize: 11, fontWeight: '600' }, + assetMeta: { color: '#7186B4', fontSize: 9, marginTop: 2 }, renameInput: { color: '#fff', fontSize: 11, borderBottomWidth: 1, borderBottomColor: '#38E8F2', paddingVertical: 2 }, + smallBtn: { paddingHorizontal: 6, paddingVertical: 5, borderRadius: 5, backgroundColor: '#263B68' }, deleteBtn: { paddingHorizontal: 6, paddingVertical: 5, borderRadius: 5, backgroundColor: '#7f1d1d' }, smallBtnText: { color: '#fff', fontSize: 9, fontWeight: '700' }, missingRow: { backgroundColor: '#451a03', padding: 7, borderRadius: 6, marginBottom: 5 }, missingText: { color: '#fbbf24', fontSize: 10 }, - searchInput: { backgroundColor: '#0f172a', color: '#ffffff', paddingHorizontal: 10, paddingVertical: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', fontSize: 12, marginBottom: 10 }, - iconScroll: { flex: 1 }, categoryBlock: { marginBottom: 14 }, categoryTitle: { fontSize: 11, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 6 }, - iconGrid: { flexDirection: 'row', flexWrap: 'wrap', gap: 8 }, iconTile: { width: 68, height: 58, backgroundColor: '#1e293b', borderRadius: 8, borderWidth: 1, borderColor: '#334155', alignItems: 'center', justifyContent: 'center', padding: 4 }, - iconSymbol: { fontSize: 20 }, iconName: { fontSize: 9, color: '#94a3b8', marginTop: 2, textAlign: 'center' }, + searchInput: { backgroundColor: '#080D1F', color: '#ffffff', paddingHorizontal: 10, paddingVertical: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', fontSize: 12, marginBottom: 10 }, + iconScroll: { flex: 1 }, categoryBlock: { marginBottom: 14 }, categoryTitle: { fontSize: 11, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 6 }, + iconGrid: { flexDirection: 'row', flexWrap: 'wrap', gap: 8 }, iconTile: { width: 68, height: 58, backgroundColor: '#111B35', borderRadius: 8, borderWidth: 1, borderColor: '#263B68', alignItems: 'center', justifyContent: 'center', padding: 4 }, + iconSymbol: { fontSize: 20 }, iconName: { fontSize: 9, color: '#9AADD6', marginTop: 2, textAlign: 'center' }, }); diff --git a/app/src/components/CICDPipelineStudio.tsx b/app/src/components/CICDPipelineStudio.tsx index 62d3225..9ee1b42 100644 --- a/app/src/components/CICDPipelineStudio.tsx +++ b/app/src/components/CICDPipelineStudio.tsx @@ -116,10 +116,10 @@ const styles = StyleSheet.create({ alignItems: 'center', marginBottom: 4, }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 10 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 10 }, copyBtn: { - backgroundColor: '#3b82f6', + backgroundColor: '#398BFF', paddingHorizontal: 10, paddingVertical: 5, borderRadius: 6, @@ -127,37 +127,37 @@ const styles = StyleSheet.create({ copyBtnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, providerRow: { flexDirection: 'row', gap: 6, marginBottom: 12 }, providerChip: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, - activeChip: { backgroundColor: '#3b82f6', borderColor: '#60a5fa' }, - chipText: { color: '#f8fafc', fontSize: 11, fontWeight: '600' }, + activeChip: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, + chipText: { color: '#F4F7FF', fontSize: 11, fontWeight: '600' }, codeBox: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', maxHeight: 260, marginBottom: 12, }, verticalScroll: { padding: 8 }, codeContainer: { flexDirection: 'row' }, - lineNumbers: { paddingRight: 8, borderRightWidth: 1, borderColor: '#334155', marginRight: 8 }, + lineNumbers: { paddingRight: 8, borderRightWidth: 1, borderColor: '#263B68', marginRight: 8 }, lineNumberText: { color: '#475569', fontSize: 10, fontFamily: 'monospace', textAlign: 'right' }, codeLines: { flex: 1 }, - codeLineText: { color: '#38bdf8', fontSize: 11, fontFamily: 'monospace' }, + codeLineText: { color: '#38E8F2', fontSize: 11, fontFamily: 'monospace' }, tipsBox: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, - tipsTitle: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold', marginBottom: 4 }, - tipText: { color: '#94a3b8', fontSize: 10, marginBottom: 2 }, - boldText: { color: '#38bdf8', fontWeight: 'bold' }, + tipsTitle: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold', marginBottom: 4 }, + tipText: { color: '#9AADD6', fontSize: 10, marginBottom: 2 }, + boldText: { color: '#38E8F2', fontWeight: 'bold' }, }); diff --git a/app/src/components/CanvasRenderer.tsx b/app/src/components/CanvasRenderer.tsx index c09fd8f..9bd26e5 100644 --- a/app/src/components/CanvasRenderer.tsx +++ b/app/src/components/CanvasRenderer.tsx @@ -12,7 +12,7 @@ interface Props { node: ComponentNode; } export const CanvasRenderer: React.FC = ({ node }) => { const { selectedNodeId, selectNode, activeSimMode, activeLocale, i18nDict, activeSplashPreview, splashConfig } = useEditorStore(); const isSelected = selectedNodeId === node.id; - const outlineStyle = isSelected ? { borderWidth: 2, borderColor: '#3b82f6' } : { borderWidth: 1, borderColor: 'rgba(255,255,255,0.08)' }; + const outlineStyle = isSelected ? { borderWidth: 2, borderColor: '#398BFF' } : { borderWidth: 1, borderColor: 'rgba(255,255,255,0.08)' }; const acc = node.accessibility; const accProps = acc ? { accessible: acc.accessible !== false, @@ -62,7 +62,7 @@ export const CanvasRenderer: React.FC = ({ node }) => { if (node.type === 'Text') return wrap({text(node.props?.text || 'Text', node.props?.i18nKey)}, { borderRadius: 4, marginVertical: 2 }); - if (node.type === 'Input') return wrap({node.props?.placeholder || 'Enter text...'}, styles.input); + if (node.type === 'Input') return wrap({node.props?.placeholder || 'Enter text...'}, styles.input); if (node.type === 'Badge') return wrap({node.props?.text || 'Badge'}, styles.badge); @@ -73,8 +73,8 @@ export const CanvasRenderer: React.FC = ({ node }) => { const IconSet = iconLibraries[node.props?.iconLibrary || 'MaterialCommunityIcons'] || MaterialCommunityIcons; return wrap( node.props?.iconName - ? - : {node.props?.iconSymbol || '❖'}, + ? + : {node.props?.iconSymbol || '❖'}, { padding: 4, borderRadius: 6, marginVertical: 2 } ); } @@ -83,17 +83,17 @@ export const CanvasRenderer: React.FC = ({ node }) => { if (node.type === 'ProgressBar') { const progress = Math.min(100, Math.max(0, node.props?.progress ?? 65)); - return wrap(<>{node.props?.label || 'Task Completion'}{progress}%, styles.progressWrapper); + return wrap(<>{node.props?.label || 'Task Completion'}{progress}%, styles.progressWrapper); } if (node.type === 'Graph') { const values = node.props?.values || [35, 65, 40, 85, 60, 95]; - return wrap(<>📊 {node.props?.title || 'Analytics Graph'}{values.map((v: number, i: number) => M{i + 1})}, styles.graphWrapper); + return wrap(<>📊 {node.props?.title || 'Analytics Graph'}{values.map((v: number, i: number) => M{i + 1})}, styles.graphWrapper); } if (node.type === 'Switch') { const on = node.props?.value ?? true; - return wrap(<>{node.props?.label || 'Toggle Option'}, styles.switchRow); + return wrap(<>{node.props?.label || 'Toggle Option'}, styles.switchRow); } if (node.type === 'Slider') { @@ -103,7 +103,7 @@ export const CanvasRenderer: React.FC = ({ node }) => { if (node.type === 'Checkbox') { const checked = node.props?.checked ?? true; - return wrap(<>{checked && ✓}{node.props?.label || 'Accept terms and conditions'}, styles.checkboxRow); + return wrap(<>{checked && ✓}{node.props?.label || 'Accept terms and conditions'}, styles.checkboxRow); } if (node.type === 'SvgVector') { @@ -125,28 +125,28 @@ const styles = StyleSheet.create({ containerBase: { minHeight: 40 }, splashOverlay: { position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, zIndex: 9999, justifyContent: 'center', alignItems: 'center', padding: 24 }, splashTitle: { fontSize: 22, fontWeight: 'bold', marginBottom: 6, textAlign: 'center' }, - splashSubtitle: { fontSize: 13, color: '#94a3b8', textAlign: 'center', marginBottom: 24 }, - spinnerContainer: { backgroundColor: 'rgba(56, 189, 248, 0.1)', paddingHorizontal: 16, paddingVertical: 8, borderRadius: 20, borderWidth: 1, borderColor: '#38bdf8' }, - spinnerText: { color: '#38bdf8', fontSize: 12, fontWeight: 'bold' }, - input: { backgroundColor: '#1e293b', borderWidth: 1, borderColor: '#475569', borderRadius: 8, paddingHorizontal: 12, paddingVertical: 8, marginVertical: 4 }, - badge: { backgroundColor: '#3b82f6', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 12, alignSelf: 'flex-start', marginVertical: 2 }, - button: { backgroundColor: '#3b82f6', paddingHorizontal: 16, paddingVertical: 10, borderRadius: 8, alignItems: 'center', justifyContent: 'center' }, - imagePlaceholder: { width: '100%', height: 120, backgroundColor: '#334155', justifyContent: 'center', alignItems: 'center' }, - muted: { color: '#94a3b8', fontSize: 12 }, - progressWrapper: { padding: 10, backgroundColor: '#1e293b', borderRadius: 8, marginVertical: 4 }, + splashSubtitle: { fontSize: 13, color: '#9AADD6', textAlign: 'center', marginBottom: 24 }, + spinnerContainer: { backgroundColor: 'rgba(56, 189, 248, 0.1)', paddingHorizontal: 16, paddingVertical: 8, borderRadius: 20, borderWidth: 1, borderColor: '#38E8F2' }, + spinnerText: { color: '#38E8F2', fontSize: 12, fontWeight: 'bold' }, + input: { backgroundColor: '#111B35', borderWidth: 1, borderColor: '#475569', borderRadius: 8, paddingHorizontal: 12, paddingVertical: 8, marginVertical: 4 }, + badge: { backgroundColor: '#398BFF', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 12, alignSelf: 'flex-start', marginVertical: 2 }, + button: { backgroundColor: '#398BFF', paddingHorizontal: 16, paddingVertical: 10, borderRadius: 8, alignItems: 'center', justifyContent: 'center' }, + imagePlaceholder: { width: '100%', height: 120, backgroundColor: '#263B68', justifyContent: 'center', alignItems: 'center' }, + muted: { color: '#9AADD6', fontSize: 12 }, + progressWrapper: { padding: 10, backgroundColor: '#111B35', borderRadius: 8, marginVertical: 4 }, progressHeader: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 6 }, - progressLabel: { color: '#cbd5e1', fontSize: 12, fontWeight: '600' }, - progressPercent: { color: '#38bdf8', fontSize: 12, fontWeight: 'bold' }, + progressLabel: { color: '#C7D5F1', fontSize: 12, fontWeight: '600' }, + progressPercent: { color: '#38E8F2', fontSize: 12, fontWeight: 'bold' }, progressTrack: { height: 8, borderRadius: 4, overflow: 'hidden' }, progressFill: { height: '100%', borderRadius: 4 }, - graphWrapper: { padding: 12, backgroundColor: '#0f172a', borderRadius: 12, borderWidth: 1, borderColor: '#334155', marginVertical: 6 }, - graphTitle: { color: '#f8fafc', fontSize: 13, fontWeight: 'bold', marginBottom: 10 }, + graphWrapper: { padding: 12, backgroundColor: '#080D1F', borderRadius: 12, borderWidth: 1, borderColor: '#263B68', marginVertical: 6 }, + graphTitle: { color: '#F4F7FF', fontSize: 13, fontWeight: 'bold', marginBottom: 10 }, graphCanvas: { height: 80, flexDirection: 'row', alignItems: 'flex-end', justifyContent: 'space-between', paddingTop: 8 }, - graphColumn: { alignItems: 'center', flex: 1 }, graphBar: { width: 14, borderRadius: 3 }, graphAxisLabel: { color: '#64748b', fontSize: 9, marginTop: 4 }, - switchRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingVertical: 8, paddingHorizontal: 12, backgroundColor: '#1e293b', borderRadius: 8, marginVertical: 4 }, - switchLabel: { fontSize: 13, fontWeight: '600' }, switchTrack: { width: 44, height: 24, borderRadius: 12, padding: 2, justifyContent: 'center' }, switchOn: { backgroundColor: '#3b82f6' }, switchOff: { backgroundColor: '#475569' }, switchThumb: { width: 20, height: 20, borderRadius: 10, backgroundColor: '#fff' }, thumbOn: { alignSelf: 'flex-end' }, thumbOff: { alignSelf: 'flex-start' }, - sliderWrapper: { padding: 10, backgroundColor: '#1e293b', borderRadius: 8, marginVertical: 4 }, sliderHeader: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 6 }, sliderLabel: { color: '#cbd5e1', fontSize: 12, fontWeight: '600' }, sliderValText: { color: '#38bdf8', fontSize: 12, fontWeight: 'bold' }, sliderTrack: { height: 6, backgroundColor: '#334155', borderRadius: 3, justifyContent: 'center', position: 'relative' }, sliderFill: { height: '100%', backgroundColor: '#3b82f6', borderRadius: 3 }, sliderThumb: { position: 'absolute', width: 16, height: 16, borderRadius: 8, backgroundColor: '#fff', borderWidth: 2, borderColor: '#3b82f6' }, - checkboxRow: { flexDirection: 'row', alignItems: 'center', paddingVertical: 6, paddingHorizontal: 8, marginVertical: 2 }, checkboxBox: { width: 20, height: 20, borderRadius: 4, borderWidth: 2, borderColor: '#64748b', justifyContent: 'center', alignItems: 'center', marginRight: 10 }, checkboxBoxChecked: { backgroundColor: '#3b82f6', borderColor: '#3b82f6' }, checkboxCheck: { color: '#fff', fontSize: 12, fontWeight: 'bold' }, checkboxLabel: { fontSize: 13 }, + graphColumn: { alignItems: 'center', flex: 1 }, graphBar: { width: 14, borderRadius: 3 }, graphAxisLabel: { color: '#7186B4', fontSize: 9, marginTop: 4 }, + switchRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingVertical: 8, paddingHorizontal: 12, backgroundColor: '#111B35', borderRadius: 8, marginVertical: 4 }, + switchLabel: { fontSize: 13, fontWeight: '600' }, switchTrack: { width: 44, height: 24, borderRadius: 12, padding: 2, justifyContent: 'center' }, switchOn: { backgroundColor: '#398BFF' }, switchOff: { backgroundColor: '#475569' }, switchThumb: { width: 20, height: 20, borderRadius: 10, backgroundColor: '#fff' }, thumbOn: { alignSelf: 'flex-end' }, thumbOff: { alignSelf: 'flex-start' }, + sliderWrapper: { padding: 10, backgroundColor: '#111B35', borderRadius: 8, marginVertical: 4 }, sliderHeader: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 6 }, sliderLabel: { color: '#C7D5F1', fontSize: 12, fontWeight: '600' }, sliderValText: { color: '#38E8F2', fontSize: 12, fontWeight: 'bold' }, sliderTrack: { height: 6, backgroundColor: '#263B68', borderRadius: 3, justifyContent: 'center', position: 'relative' }, sliderFill: { height: '100%', backgroundColor: '#398BFF', borderRadius: 3 }, sliderThumb: { position: 'absolute', width: 16, height: 16, borderRadius: 8, backgroundColor: '#fff', borderWidth: 2, borderColor: '#398BFF' }, + checkboxRow: { flexDirection: 'row', alignItems: 'center', paddingVertical: 6, paddingHorizontal: 8, marginVertical: 2 }, checkboxBox: { width: 20, height: 20, borderRadius: 4, borderWidth: 2, borderColor: '#7186B4', justifyContent: 'center', alignItems: 'center', marginRight: 10 }, checkboxBoxChecked: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, checkboxCheck: { color: '#fff', fontSize: 12, fontWeight: 'bold' }, checkboxLabel: { fontSize: 13 }, svgFallback: { flex: 1, alignItems: 'center', justifyContent: 'center' }, - animatedAssetCard: { flexDirection: 'row', alignItems: 'center', padding: 10, backgroundColor: 'rgba(59, 130, 246, 0.15)', borderWidth: 1, borderColor: '#3b82f6', borderRadius: 10, marginVertical: 4 }, assetSymbol: { fontSize: 22, marginRight: 10 }, assetInfo: { flex: 1 }, assetName: { color: '#f8fafc', fontSize: 13, fontWeight: 'bold' }, assetTag: { color: '#38bdf8', fontSize: 10, fontWeight: '600' }, + animatedAssetCard: { flexDirection: 'row', alignItems: 'center', padding: 10, backgroundColor: 'rgba(59, 130, 246, 0.15)', borderWidth: 1, borderColor: '#398BFF', borderRadius: 10, marginVertical: 4 }, assetSymbol: { fontSize: 22, marginRight: 10 }, assetInfo: { flex: 1 }, assetName: { color: '#F4F7FF', fontSize: 13, fontWeight: 'bold' }, assetTag: { color: '#38E8F2', fontSize: 10, fontWeight: '600' }, }); diff --git a/app/src/components/ComponentSearchFilter.tsx b/app/src/components/ComponentSearchFilter.tsx index 773c853..cbba284 100644 --- a/app/src/components/ComponentSearchFilter.tsx +++ b/app/src/components/ComponentSearchFilter.tsx @@ -49,7 +49,7 @@ export const ComponentSearchFilter = () => { @@ -111,24 +111,24 @@ export const ComponentSearchFilter = () => { }; const styles = StyleSheet.create({ - container: { flex: 1, padding: 12, backgroundColor: '#0f172a' }, - headerTitle: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc', marginBottom: 8 }, - searchBar: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#1e293b', borderRadius: 8, paddingHorizontal: 10, borderWidth: 1, borderColor: '#334155', marginBottom: 8 }, - searchInput: { flex: 1, color: '#f8fafc', paddingVertical: 8, fontSize: 12 }, + container: { flex: 1, padding: 12, backgroundColor: '#080D1F' }, + headerTitle: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 8 }, + searchBar: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#111B35', borderRadius: 8, paddingHorizontal: 10, borderWidth: 1, borderColor: '#263B68', marginBottom: 8 }, + searchInput: { flex: 1, color: '#F4F7FF', paddingVertical: 8, fontSize: 12 }, clearBtn: { padding: 4 }, - clearBtnText: { color: '#94a3b8', fontSize: 12, fontWeight: 'bold' }, + clearBtnText: { color: '#9AADD6', fontSize: 12, fontWeight: 'bold' }, filterRow: { flexDirection: 'row', gap: 6, marginBottom: 8, flexWrap: 'wrap' }, - filterChip: { backgroundColor: '#1e293b', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 12, borderWidth: 1, borderColor: '#334155' }, - activeChip: { backgroundColor: '#3b82f6', borderColor: '#3b82f6' }, - filterChipText: { color: '#94a3b8', fontSize: 10, fontWeight: 'bold' }, + filterChip: { backgroundColor: '#111B35', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 12, borderWidth: 1, borderColor: '#263B68' }, + activeChip: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, + filterChipText: { color: '#9AADD6', fontSize: 10, fontWeight: 'bold' }, activeChipText: { color: '#ffffff' }, - resultsCount: { fontSize: 10, color: '#64748b', marginBottom: 8, fontWeight: '600' }, + resultsCount: { fontSize: 10, color: '#7186B4', marginBottom: 8, fontWeight: '600' }, resultsList: { flex: 1 }, - resultItem: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, marginBottom: 6, borderWidth: 1, borderColor: '#334155' }, - selectedResultItem: { borderColor: '#3b82f6', backgroundColor: '#1e3a8a' }, + resultItem: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, marginBottom: 6, borderWidth: 1, borderColor: '#263B68' }, + selectedResultItem: { borderColor: '#398BFF', backgroundColor: '#1e3a8a' }, resultHeader: { flexDirection: 'row', alignItems: 'center', gap: 6 }, - resultTypeBadge: { color: '#38bdf8', fontSize: 10, fontWeight: 'bold' }, - resultId: { color: '#f8fafc', fontSize: 12, fontWeight: 'bold' }, - resultSnippet: { color: '#94a3b8', fontSize: 11, fontStyle: 'italic', marginTop: 2 }, - resultPath: { color: '#64748b', fontSize: 9, marginTop: 4 }, + resultTypeBadge: { color: '#38E8F2', fontSize: 10, fontWeight: 'bold' }, + resultId: { color: '#F4F7FF', fontSize: 12, fontWeight: 'bold' }, + resultSnippet: { color: '#9AADD6', fontSize: 11, fontStyle: 'italic', marginTop: 2 }, + resultPath: { color: '#7186B4', fontSize: 9, marginTop: 4 }, }); diff --git a/app/src/components/ComponentToolbar.tsx b/app/src/components/ComponentToolbar.tsx index a821387..6901459 100644 --- a/app/src/components/ComponentToolbar.tsx +++ b/app/src/components/ComponentToolbar.tsx @@ -55,11 +55,11 @@ export const ComponentToolbar = () => { const styles = StyleSheet.create({ container: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', paddingVertical: 8, paddingHorizontal: 12, borderBottomWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', width: '100%', }, headerRow: { @@ -71,21 +71,21 @@ const styles = StyleSheet.create({ title: { fontSize: 11, fontWeight: 'bold', - color: '#38bdf8', + color: '#38E8F2', textTransform: 'uppercase', }, targetLabel: { fontSize: 10, - color: '#94a3b8', + color: '#9AADD6', }, toolbarScroll: { flexDirection: 'row', gap: 6, }, toolBtn: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, @@ -97,7 +97,7 @@ const styles = StyleSheet.create({ fontSize: 12, }, toolLabel: { - color: '#f8fafc', + color: '#F4F7FF', fontSize: 11, fontWeight: 'bold', }, diff --git a/app/src/components/DeepLinkAndIconStudio.tsx b/app/src/components/DeepLinkAndIconStudio.tsx index b70ce18..7b394d1 100644 --- a/app/src/components/DeepLinkAndIconStudio.tsx +++ b/app/src/components/DeepLinkAndIconStudio.tsx @@ -42,7 +42,7 @@ export const DeepLinkAndIconStudio = () => { value={scheme} onChangeText={setScheme} placeholder="e.g. droidui" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -52,7 +52,7 @@ export const DeepLinkAndIconStudio = () => { value={host} onChangeText={setHost} placeholder="e.g. app.example.com" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -114,28 +114,28 @@ export const DeepLinkAndIconStudio = () => { const styles = StyleSheet.create({ container: { padding: 14, flex: 1 }, - title: { fontSize: 15, fontWeight: 'bold', color: '#f8fafc', marginBottom: 2 }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, - card: { backgroundColor: '#1e293b', padding: 12, borderRadius: 8, borderWidth: 1, borderColor: '#334155', marginBottom: 12 }, - cardTitle: { fontSize: 13, fontWeight: 'bold', color: '#f8fafc', marginBottom: 8 }, + title: { fontSize: 15, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 2 }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, + card: { backgroundColor: '#111B35', padding: 12, borderRadius: 8, borderWidth: 1, borderColor: '#263B68', marginBottom: 12 }, + cardTitle: { fontSize: 13, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 8 }, inputRow: { flexDirection: 'row', gap: 10 }, inputGroup: { flex: 1 }, - label: { fontSize: 11, color: '#cbd5e1', marginBottom: 4 }, - input: { backgroundColor: '#0f172a', color: '#38bdf8', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontSize: 12 }, - routeRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', backgroundColor: '#0f172a', padding: 8, borderRadius: 6, marginBottom: 6 }, + label: { fontSize: 11, color: '#C7D5F1', marginBottom: 4 }, + input: { backgroundColor: '#080D1F', color: '#38E8F2', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontSize: 12 }, + routeRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', backgroundColor: '#080D1F', padding: 8, borderRadius: 6, marginBottom: 6 }, routeInfo: { flex: 1 }, - routeUrl: { fontSize: 12, fontWeight: 'bold', color: '#38bdf8', fontFamily: 'monospace' }, - routeDesc: { fontSize: 10, color: '#94a3b8', marginTop: 2 }, - screenTag: { backgroundColor: '#3b82f6', color: '#ffffff', fontSize: 10, fontWeight: 'bold', paddingHorizontal: 6, paddingVertical: 2, borderRadius: 4 }, + routeUrl: { fontSize: 12, fontWeight: 'bold', color: '#38E8F2', fontFamily: 'monospace' }, + routeDesc: { fontSize: 10, color: '#9AADD6', marginTop: 2 }, + screenTag: { backgroundColor: '#398BFF', color: '#ffffff', fontSize: 10, fontWeight: 'bold', paddingHorizontal: 6, paddingVertical: 2, borderRadius: 4 }, tabRow: { flexDirection: 'row', gap: 6, marginBottom: 10 }, - tabBtn: { flex: 1, paddingVertical: 6, backgroundColor: '#0f172a', borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#334155' }, - activeTabBtn: { backgroundColor: '#2563eb', borderColor: '#3b82f6' }, - tabBtnText: { fontSize: 10, color: '#94a3b8', fontWeight: 'bold' }, + tabBtn: { flex: 1, paddingVertical: 6, backgroundColor: '#080D1F', borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#263B68' }, + activeTabBtn: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, + tabBtnText: { fontSize: 10, color: '#9AADD6', fontWeight: 'bold' }, activeTabBtnText: { color: '#ffffff' }, codeHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 6 }, - codeTitle: { fontSize: 11, color: '#cbd5e1', fontWeight: 'bold' }, - copyBtn: { backgroundColor: '#334155', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, - copyBtnText: { fontSize: 10, color: '#f8fafc', fontWeight: 'bold' }, - codeScroll: { backgroundColor: '#0f172a', padding: 10, borderRadius: 6 }, - codeText: { color: '#38bdf8', fontFamily: 'monospace', fontSize: 11 }, + codeTitle: { fontSize: 11, color: '#C7D5F1', fontWeight: 'bold' }, + copyBtn: { backgroundColor: '#263B68', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, + copyBtnText: { fontSize: 10, color: '#F4F7FF', fontWeight: 'bold' }, + codeScroll: { backgroundColor: '#080D1F', padding: 10, borderRadius: 6 }, + codeText: { color: '#38E8F2', fontFamily: 'monospace', fontSize: 11 }, }); diff --git a/app/src/components/DesignSystemStudio.tsx b/app/src/components/DesignSystemStudio.tsx index c38e4db..8fe396d 100644 --- a/app/src/components/DesignSystemStudio.tsx +++ b/app/src/components/DesignSystemStudio.tsx @@ -5,7 +5,7 @@ import { useEditorStore } from '../store/useEditorStore'; type Tokens = { primary: string; surface: string; canvas: string; text: string; muted: string; radius: number; spacing: number; fontSize: number }; const PRESETS: Array<{ name: string; tokens: Tokens }> = [ - { name:'Midnight Blue',tokens:{primary:'#3b82f6',surface:'#1e293b',canvas:'#0f172a',text:'#f8fafc',muted:'#94a3b8',radius:12,spacing:16,fontSize:16}}, + { name:'DroidUI Midnight',tokens:{primary:'#398BFF',surface:'#111B35',canvas:'#080D1F',text:'#F4F7FF',muted:'#9AADD6',radius:12,spacing:16,fontSize:16}}, { name:'Emerald',tokens:{primary:'#10b981',surface:'#064e3b',canvas:'#022c22',text:'#ecfdf5',muted:'#a7f3d0',radius:14,spacing:16,fontSize:16}}, { name:'Warm Editorial',tokens:{primary:'#b45309',surface:'#fffbeb',canvas:'#fef3c7',text:'#292524',muted:'#78716c',radius:8,spacing:20,fontSize:17}}, { name:'Violet Glass',tokens:{primary:'#a78bfa',surface:'#272044',canvas:'#120d24',text:'#f5f3ff',muted:'#c4b5fd',radius:18,spacing:18,fontSize:16}} @@ -44,4 +44,4 @@ export const DesignSystemStudio=()=>{ Mapping: Container = canvas; Card = surface; Button and Badge = primary; Input = surface and text; Text = primary text and base size. All mapped nodes receive the selected corner radius. Save or export the project to preserve applied styles. ; }; -const styles=StyleSheet.create({container:{padding:14},title:{fontSize:18,fontWeight:'800',color:'#f8fafc'},help:{fontSize:11,lineHeight:17,color:'#94a3b8',marginTop:6,marginBottom:14},heading:{fontSize:13,fontWeight:'700',color:'#38bdf8',marginTop:14,marginBottom:8},row:{flexDirection:'row',flexWrap:'wrap',gap:8},preset:{width:'48%',padding:10,borderRadius:8,borderWidth:1,borderColor:'#475569',backgroundColor:'#1e293b'},selected:{borderColor:'#3b82f6',borderWidth:2},swatches:{flexDirection:'row',gap:6,marginBottom:7},dot:{width:18,height:18,borderRadius:9,borderWidth:1,borderColor:'#64748b'},presetText:{fontSize:11,color:'#f8fafc',fontWeight:'600'},field:{flexDirection:'row',alignItems:'center',gap:8,marginBottom:8},label:{flex:1,fontSize:11,color:'#cbd5e1'},input:{width:104,backgroundColor:'#0f172a',color:'#f8fafc',padding:8,borderRadius:6,borderWidth:1,borderColor:'#475569',fontSize:12},sample:{width:28,height:28,borderRadius:6,borderWidth:1,borderColor:'#64748b'},preview:{padding:14,borderWidth:1,borderColor:'#475569',marginTop:4},previewCard:{marginTop:12},previewButton:{alignSelf:'flex-start',paddingHorizontal:14,paddingVertical:9,marginTop:12},apply:{marginTop:16,padding:13,backgroundColor:'#2563eb',borderRadius:8,alignItems:'center'},applyText:{color:'#fff',fontSize:12,fontWeight:'800'},note:{fontSize:10,color:'#94a3b8',lineHeight:15,marginTop:8}}); +const styles=StyleSheet.create({container:{padding:14},title:{fontSize:18,fontWeight:'800',color:'#F4F7FF'},help:{fontSize:11,lineHeight:17,color:'#9AADD6',marginTop:6,marginBottom:14},heading:{fontSize:13,fontWeight:'700',color:'#38E8F2',marginTop:14,marginBottom:8},row:{flexDirection:'row',flexWrap:'wrap',gap:8},preset:{width:'48%',padding:10,borderRadius:8,borderWidth:1,borderColor:'#344A76',backgroundColor:'#111B35'},selected:{borderColor:'#398BFF',borderWidth:2},swatches:{flexDirection:'row',gap:6,marginBottom:7},dot:{width:18,height:18,borderRadius:9,borderWidth:1,borderColor:'#7186B4'},presetText:{fontSize:11,color:'#F4F7FF',fontWeight:'600'},field:{flexDirection:'row',alignItems:'center',gap:8,marginBottom:8},label:{flex:1,fontSize:11,color:'#C7D5F1'},input:{width:104,backgroundColor:'#080D1F',color:'#F4F7FF',padding:8,borderRadius:6,borderWidth:1,borderColor:'#344A76',fontSize:12},sample:{width:28,height:28,borderRadius:6,borderWidth:1,borderColor:'#7186B4'},preview:{padding:14,borderWidth:1,borderColor:'#344A76',marginTop:4},previewCard:{marginTop:12},previewButton:{alignSelf:'flex-start',paddingHorizontal:14,paddingVertical:9,marginTop:12},apply:{marginTop:16,padding:13,backgroundColor:'#398BFF',borderRadius:8,alignItems:'center'},applyText:{color:'#fff',fontSize:12,fontWeight:'800'},note:{fontSize:10,color:'#9AADD6',lineHeight:15,marginTop:8}}); diff --git a/app/src/components/DeviceDetectionStudio.tsx b/app/src/components/DeviceDetectionStudio.tsx index c1be367..87638de 100644 --- a/app/src/components/DeviceDetectionStudio.tsx +++ b/app/src/components/DeviceDetectionStudio.tsx @@ -13,18 +13,18 @@ export function DeviceDetectionStudio({ onDetected }: { onDetected?: () => void const name = `${detected.brand} ${detected.modelName} Design`.trim(); createNewProject(name); const rootId = useEditorStore.getState().rootNode.id; - updateStyle(rootId, { width: detected.widthDp, minHeight: detected.heightDp, padding: 16, backgroundColor: '#0b1220' }); + updateStyle(rootId, { width: detected.widthDp, minHeight: detected.heightDp, padding: 16, backgroundColor: '#080D1F' }); addChildNode(rootId, 'Text'); const headingId = useEditorStore.getState().selectedNodeId; if (headingId) { updateProps(headingId, { text: name }); - updateStyle(headingId, { fontSize: 22, fontWeight: '700', color: '#f8fafc', marginBottom: 12 }); + updateStyle(headingId, { fontSize: 22, fontWeight: '700', color: '#F4F7FF', marginBottom: 12 }); } addChildNode(rootId, 'Text'); const captionId = useEditorStore.getState().selectedNodeId; if (captionId) { updateProps(captionId, { text: `${detected.widthDp} × ${detected.heightDp} dp · ${detected.pixelRatio}x density` }); - updateStyle(captionId, { fontSize: 12, color: '#94a3b8' }); + updateStyle(captionId, { fontSize: 12, color: '#9AADD6' }); } setStatus('Template created in the editor'); Alert.alert('Design template created', `A new project sized for ${detected.modelName} is ready. Save it to keep it.`); @@ -57,4 +57,4 @@ export function DeviceDetectionStudio({ onDetected }: { onDetected?: () => void Detection uses device metadata plus React Native window/screen metrics. Available window dp is the recommended initial design canvas; physical pixels are shown separately. Foldables and multi-window layouts should be re-detected when the display configuration changes. ; } -const s=StyleSheet.create({root:{flex:1,backgroundColor:'#0b1220',padding:14},hero:{backgroundColor:'#14243a',borderColor:'#2b4564',borderWidth:1,borderRadius:16,padding:16,marginBottom:12},kicker:{color:'#38bdf8',fontSize:10,fontWeight:'900',letterSpacing:1.5},title:{color:'#f8fafc',fontSize:23,fontWeight:'900',marginTop:6},copy:{color:'#9aacc4',fontSize:12,lineHeight:18,marginTop:7},primary:{backgroundColor:'#2563eb',borderRadius:10,padding:13,alignItems:'center',marginTop:14},primaryText:{color:'#fff',fontWeight:'900',fontSize:12},card:{backgroundColor:'#15243a',borderColor:'#2c405a',borderWidth:1,borderRadius:14,padding:14},row:{paddingVertical:8,borderBottomWidth:1,borderBottomColor:'#283a52'},label:{color:'#8295ae',fontSize:9,fontWeight:'900',letterSpacing:1},value:{color:'#f1f5f9',fontSize:12,fontWeight:'700',marginTop:3},empty:{alignItems:'center',padding:30,backgroundColor:'#14243a',borderRadius:14,borderWidth:1,borderColor:'#2b405c'},emptyIcon:{fontSize:34,color:'#38bdf8'},emptyTitle:{fontSize:15,fontWeight:'800',color:'#fff',marginTop:8},status:{color:'#38bdf8',fontSize:11,fontWeight:'700',marginTop:12},note:{color:'#71839b',fontSize:10,lineHeight:16,marginTop:14}}); +const s=StyleSheet.create({root:{flex:1,backgroundColor:'#080D1F',padding:14},hero:{backgroundColor:'#111B35',borderColor:'#263B68',borderWidth:1,borderRadius:16,padding:16,marginBottom:12},kicker:{color:'#38E8F2',fontSize:10,fontWeight:'900',letterSpacing:1.5},title:{color:'#F4F7FF',fontSize:23,fontWeight:'900',marginTop:6},copy:{color:'#9AADD6',fontSize:12,lineHeight:18,marginTop:7},primary:{backgroundColor:'#398BFF',borderRadius:10,padding:13,alignItems:'center',marginTop:14},primaryText:{color:'#fff',fontWeight:'900',fontSize:12},card:{backgroundColor:'#111B35',borderColor:'#263B68',borderWidth:1,borderRadius:14,padding:14},row:{paddingVertical:8,borderBottomWidth:1,borderBottomColor:'#263B68'},label:{color:'#9AADD6',fontSize:9,fontWeight:'900',letterSpacing:1},value:{color:'#F4F7FF',fontSize:12,fontWeight:'700',marginTop:3},empty:{alignItems:'center',padding:30,backgroundColor:'#111B35',borderRadius:14,borderWidth:1,borderColor:'#263B68'},emptyIcon:{fontSize:34,color:'#38E8F2'},emptyTitle:{fontSize:15,fontWeight:'800',color:'#fff',marginTop:8},status:{color:'#38E8F2',fontSize:11,fontWeight:'700',marginTop:12},note:{color:'#7186B4',fontSize:10,lineHeight:16,marginTop:14}}); diff --git a/app/src/components/DroidUIBrand.tsx b/app/src/components/DroidUIBrand.tsx new file mode 100644 index 0000000..230615f --- /dev/null +++ b/app/src/components/DroidUIBrand.tsx @@ -0,0 +1,86 @@ +import React, { useEffect, useRef } from 'react'; +import { Animated, Easing, StyleSheet, Text, View } from 'react-native'; +import Svg, { Circle, Defs, LinearGradient, Path, Stop } from 'react-native-svg'; + +const BRAND = { navy: '#080D1F', blue: '#398BFF', cyan: '#38E8F2', violet: '#9065FF', white: '#F4F7FF' }; + +export const BrandMark: React.FC<{ size?: number; showWordmark?: boolean; compact?: boolean }> = ({ size = 42, showWordmark = true, compact = false }) => ( + + + + + + + + + + + + + + + + + + {showWordmark && + DroidUI + {!compact && DESIGN • BUILD • INSPIRE} + } + +); + +export const BrandSplash: React.FC<{ onFinish?: () => void }> = ({ onFinish }) => { + const opacity = useRef(new Animated.Value(0)).current; + const scale = useRef(new Animated.Value(0.82)).current; + const glow = useRef(new Animated.Value(0.35)).current; + const onFinishRef = useRef(onFinish); + + useEffect(() => { + onFinishRef.current = onFinish; + }, [onFinish]); + + useEffect(() => { + Animated.parallel([ + Animated.sequence([ + Animated.timing(opacity, { toValue: 1, duration: 420, easing: Easing.out(Easing.cubic), useNativeDriver: true }), + Animated.delay(1250), + Animated.timing(opacity, { toValue: 0, duration: 420, easing: Easing.in(Easing.cubic), useNativeDriver: true }) + ]), + Animated.spring(scale, { toValue: 1, speed: 1.5, bounciness: 8, useNativeDriver: true }), + Animated.sequence([ + Animated.timing(glow, { toValue: 1, duration: 650, useNativeDriver: true }), + Animated.timing(glow, { toValue: 0.45, duration: 700, useNativeDriver: true }) + ]) + ]).start(({ finished }) => { if (finished) onFinishRef.current?.(); }); + }, [opacity, scale, glow]); + + return ( + + + + + DroidUI + DESIGN • BUILD • INSPIRE + + + YOUR CREATIVE WORKSPACE + + ); +}; + +const styles = StyleSheet.create({ + brandRow: { flexDirection: 'row', alignItems: 'center', gap: 9 }, + wordmarkWrap: { justifyContent: 'center' }, + wordmark: { color: BRAND.white, fontSize: 20, fontWeight: '900', letterSpacing: -0.6 }, + compactWordmark: { fontSize: 17 }, + wordmarkAccent: { color: BRAND.cyan }, + wordmarkCaption: { color: '#8DA4D0', fontSize: 7, fontWeight: '800', letterSpacing: 1.7, marginTop: 1 }, + splash: { ...StyleSheet.absoluteFillObject, zIndex: 9999, elevation: 30, backgroundColor: BRAND.navy, alignItems: 'center', justifyContent: 'center' }, + orb: { position: 'absolute', width: 260, height: 260, borderRadius: 130, backgroundColor: '#2357B9', shadowColor: BRAND.cyan, shadowOpacity: 0.8, shadowRadius: 60, elevation: 20 }, + splashTitle: { color: BRAND.white, fontSize: 42, fontWeight: '900', letterSpacing: -1.5, marginTop: 16 }, + splashAccent: { color: BRAND.cyan }, + splashTagline: { color: '#A7B8E2', fontSize: 10, fontWeight: '800', letterSpacing: 3, marginTop: 8 }, + progressTrack: { width: 128, height: 3, borderRadius: 3, backgroundColor: '#263454', overflow: 'hidden', marginTop: 34 }, + progressFill: { width: '72%', height: 3, backgroundColor: BRAND.cyan, borderRadius: 3 }, + splashFooter: { position: 'absolute', bottom: 42, color: '#6E82B1', fontSize: 9, fontWeight: '700', letterSpacing: 2.2 } +}); diff --git a/app/src/components/FontLibraryStudio.tsx b/app/src/components/FontLibraryStudio.tsx index c68e852..0a4ff7e 100644 --- a/app/src/components/FontLibraryStudio.tsx +++ b/app/src/components/FontLibraryStudio.tsx @@ -100,7 +100,7 @@ export const FontLibraryStudio = () => { value={customText} onChangeText={setCustomText} placeholder="Test custom font preview..." - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -158,51 +158,51 @@ export const FontLibraryStudio = () => { const styles = StyleSheet.create({ container: { padding: 12, flex: 1 }, - title: { fontSize: 16, fontWeight: 'bold', color: '#f8fafc', marginBottom: 2 }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, + title: { fontSize: 16, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 2 }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, fontRow: { maxHeight: 90, marginBottom: 12 }, fontCard: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', padding: 10, borderRadius: 8, marginRight: 8, width: 120, justifyContent: 'center', }, - selectedFontCard: { borderColor: '#3b82f6', backgroundColor: '#0f172a' }, - fontCategory: { fontSize: 9, color: '#38bdf8', fontWeight: 'bold', textTransform: 'uppercase' }, - fontName: { fontSize: 13, fontWeight: 'bold', color: '#f8fafc', marginTop: 2 }, - fontPreviewText: { fontSize: 11, color: '#94a3b8', marginTop: 4 }, + selectedFontCard: { borderColor: '#398BFF', backgroundColor: '#080D1F' }, + fontCategory: { fontSize: 9, color: '#38E8F2', fontWeight: 'bold', textTransform: 'uppercase' }, + fontName: { fontSize: 13, fontWeight: 'bold', color: '#F4F7FF', marginTop: 2 }, + fontPreviewText: { fontSize: 11, color: '#9AADD6', marginTop: 4 }, sampleBox: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', padding: 12, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', marginBottom: 12, }, - sampleLabel: { fontSize: 10, color: '#64748b', textTransform: 'uppercase', marginBottom: 6 }, + sampleLabel: { fontSize: 10, color: '#7186B4', textTransform: 'uppercase', marginBottom: 6 }, specimenText: { color: '#ffffff', marginBottom: 8, minHeight: 32 }, specimenInput: { - backgroundColor: '#1e293b', - color: '#f8fafc', + backgroundColor: '#111B35', + color: '#F4F7FF', padding: 6, borderRadius: 4, fontSize: 11, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, controlsRow: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 12, gap: 8 }, controlGroup: { flex: 1 }, - controlLabel: { fontSize: 11, color: '#94a3b8', marginBottom: 4 }, + controlLabel: { fontSize: 11, color: '#9AADD6', marginBottom: 4 }, chipGroup: { flexDirection: 'row', gap: 4 }, - chip: { backgroundColor: '#334155', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, - activeChip: { backgroundColor: '#3b82f6' }, + chip: { backgroundColor: '#263B68', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, + activeChip: { backgroundColor: '#398BFF' }, chipText: { color: '#fff', fontSize: 10, fontWeight: 'bold' }, actionRow: { flexDirection: 'row', gap: 8 }, - applyBtn: { flex: 1, backgroundColor: '#3b82f6', padding: 10, borderRadius: 6, alignItems: 'center' }, + applyBtn: { flex: 1, backgroundColor: '#398BFF', padding: 10, borderRadius: 6, alignItems: 'center' }, globalBtn: { backgroundColor: '#8b5cf6', padding: 10, borderRadius: 6, alignItems: 'center' }, disabledBtn: { backgroundColor: '#475569', opacity: 0.6 }, btnText: { color: '#fff', fontSize: 11, fontWeight: 'bold' }, diff --git a/app/src/components/IconGalleryStudio.tsx b/app/src/components/IconGalleryStudio.tsx index 8422bc9..871e316 100644 --- a/app/src/components/IconGalleryStudio.tsx +++ b/app/src/components/IconGalleryStudio.tsx @@ -22,7 +22,7 @@ export function IconGalleryStudio() { const [family, setFamily] = useState('MaterialCommunityIcons'); const [query, setQuery] = useState(''); const [selected, setSelected] = useState(null); - const [iconColor, setIconColor] = useState('#38bdf8'); + const [iconColor, setIconColor] = useState('#38E8F2'); const [iconSize, setIconSize] = useState('28'); const current = FAMILIES.find(f => f.id === family)!; const filtered = useMemo(() => current.names.filter(n => n.toLowerCase().includes(query.trim().toLowerCase())), [current, query]); @@ -67,5 +67,5 @@ export function IconGalleryStudio() { ; } const s=StyleSheet.create({ - root:{flex:1,backgroundColor:'#0b1220'},content:{padding:16,paddingBottom:32},hero:{padding:16,backgroundColor:'#15243a',borderWidth:1,borderColor:'#263b57',borderRadius:16,marginBottom:14},eyebrow:{fontSize:10,fontWeight:'800',letterSpacing:1.6,color:'#38bdf8'},title:{fontSize:24,fontWeight:'800',color:'#f8fafc',marginTop:5},subtitle:{fontSize:12,color:'#9fb0c7',marginTop:5,lineHeight:18},search:{backgroundColor:'#162338',borderColor:'#34465f',borderWidth:1,borderRadius:11,paddingHorizontal:14,paddingVertical:11,color:'#fff',marginBottom:10},familyRow:{gap:8,paddingBottom:12},family:{paddingHorizontal:13,paddingVertical:9,backgroundColor:'#17253a',borderRadius:20,borderWidth:1,borderColor:'#33445c'},familyActive:{backgroundColor:'#1d4ed8',borderColor:'#60a5fa'},familyText:{fontSize:11,color:'#b6c4d7',fontWeight:'700'},familyTextActive:{color:'#fff'},previewCard:{flexDirection:'row',alignItems:'center',gap:12,padding:12,backgroundColor:'#17263c',borderRadius:14,borderWidth:1,borderColor:'#314760'},previewIcon:{width:56,height:56,backgroundColor:'#0b1424',borderRadius:12,alignItems:'center',justifyContent:'center'},previewTitle:{fontSize:13,fontWeight:'800',color:'#fff'},previewMeta:{fontSize:10,color:'#94a3b8',marginTop:3},apply:{backgroundColor:'#2563eb',paddingHorizontal:14,paddingVertical:9,borderRadius:9},applyText:{color:'#fff',fontWeight:'800',fontSize:11},customRow:{flexDirection:'row',gap:10,marginTop:12,marginBottom:14},fieldLabel:{fontSize:9,color:'#8292aa',fontWeight:'800',letterSpacing:1,marginBottom:5},field:{backgroundColor:'#162338',borderColor:'#34465f',borderWidth:1,borderRadius:8,paddingHorizontal:10,paddingVertical:8,color:'#fff',fontSize:12},section:{fontSize:13,fontWeight:'800',color:'#e5edf8',marginBottom:10},count:{color:'#7f91aa',fontWeight:'500'},grid:{flexDirection:'row',flexWrap:'wrap',gap:8},tile:{width:'23%',minHeight:76,backgroundColor:'#15243a',borderWidth:1,borderColor:'#2c405a',borderRadius:11,alignItems:'center',justifyContent:'center',padding:6},tileSelected:{backgroundColor:'#1d4ed8',borderColor:'#60a5fa'},iconLabel:{fontSize:9,color:'#aebbd0',marginTop:6,textAlign:'center'},empty:{color:'#9fb0c7',textAlign:'center',padding:20},footnote:{fontSize:10,color:'#71839b',lineHeight:16,marginTop:18} + root:{flex:1,backgroundColor:'#080D1F'},content:{padding:16,paddingBottom:32},hero:{padding:16,backgroundColor:'#111B35',borderWidth:1,borderColor:'#263b57',borderRadius:16,marginBottom:14},eyebrow:{fontSize:10,fontWeight:'800',letterSpacing:1.6,color:'#38E8F2'},title:{fontSize:24,fontWeight:'800',color:'#F4F7FF',marginTop:5},subtitle:{fontSize:12,color:'#9fb0c7',marginTop:5,lineHeight:18},search:{backgroundColor:'#162338',borderColor:'#34465f',borderWidth:1,borderRadius:11,paddingHorizontal:14,paddingVertical:11,color:'#fff',marginBottom:10},familyRow:{gap:8,paddingBottom:12},family:{paddingHorizontal:13,paddingVertical:9,backgroundColor:'#17253a',borderRadius:20,borderWidth:1,borderColor:'#33445c'},familyActive:{backgroundColor:'#1d4ed8',borderColor:'#60a5fa'},familyText:{fontSize:11,color:'#b6c4d7',fontWeight:'700'},familyTextActive:{color:'#fff'},previewCard:{flexDirection:'row',alignItems:'center',gap:12,padding:12,backgroundColor:'#17263c',borderRadius:14,borderWidth:1,borderColor:'#314760'},previewIcon:{width:56,height:56,backgroundColor:'#0b1424',borderRadius:12,alignItems:'center',justifyContent:'center'},previewTitle:{fontSize:13,fontWeight:'800',color:'#fff'},previewMeta:{fontSize:10,color:'#9AADD6',marginTop:3},apply:{backgroundColor:'#398BFF',paddingHorizontal:14,paddingVertical:9,borderRadius:9},applyText:{color:'#fff',fontWeight:'800',fontSize:11},customRow:{flexDirection:'row',gap:10,marginTop:12,marginBottom:14},fieldLabel:{fontSize:9,color:'#8292aa',fontWeight:'800',letterSpacing:1,marginBottom:5},field:{backgroundColor:'#162338',borderColor:'#34465f',borderWidth:1,borderRadius:8,paddingHorizontal:10,paddingVertical:8,color:'#fff',fontSize:12},section:{fontSize:13,fontWeight:'800',color:'#e5edf8',marginBottom:10},count:{color:'#7f91aa',fontWeight:'500'},grid:{flexDirection:'row',flexWrap:'wrap',gap:8},tile:{width:'23%',minHeight:76,backgroundColor:'#111B35',borderWidth:1,borderColor:'#263B68',borderRadius:11,alignItems:'center',justifyContent:'center',padding:6},tileSelected:{backgroundColor:'#1d4ed8',borderColor:'#60a5fa'},iconLabel:{fontSize:9,color:'#aebbd0',marginTop:6,textAlign:'center'},empty:{color:'#9fb0c7',textAlign:'center',padding:20},footnote:{fontSize:10,color:'#7186B4',lineHeight:16,marginTop:18} }); diff --git a/app/src/components/LayerReorderManager.tsx b/app/src/components/LayerReorderManager.tsx index 4e9d8a7..00ef84e 100644 --- a/app/src/components/LayerReorderManager.tsx +++ b/app/src/components/LayerReorderManager.tsx @@ -29,6 +29,6 @@ export const LayerReorderManager = () => { }; const styles = StyleSheet.create({ - row: { padding: 8, backgroundColor: '#1e293b', borderRadius: 6 }, - selectedRow: { borderColor: '#3b82f6', borderWidth: 1 }, + row: { padding: 8, backgroundColor: '#111B35', borderRadius: 6 }, + selectedRow: { borderColor: '#398BFF', borderWidth: 1 }, }); diff --git a/app/src/components/LiveCodePreview.tsx b/app/src/components/LiveCodePreview.tsx index f1b4d75..c0dcbd6 100644 --- a/app/src/components/LiveCodePreview.tsx +++ b/app/src/components/LiveCodePreview.tsx @@ -98,19 +98,19 @@ export const LiveCodePreview = () => { const styles = StyleSheet.create({ container: { flex: 1, padding: 12, backgroundColor: '#090d16' }, header: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 }, - title: { fontSize: 13, fontWeight: 'bold', color: '#f8fafc' }, - copyBtn: { backgroundColor: '#3b82f6', paddingHorizontal: 10, paddingVertical: 4, borderRadius: 4 }, + title: { fontSize: 13, fontWeight: 'bold', color: '#F4F7FF' }, + copyBtn: { backgroundColor: '#398BFF', paddingHorizontal: 10, paddingVertical: 4, borderRadius: 4 }, copyBtnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, langRow: { flexDirection: 'row', gap: 6, marginBottom: 10, flexWrap: 'wrap' }, - langChip: { backgroundColor: '#1e293b', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, borderWidth: 1, borderColor: '#334155' }, - activeLangChip: { backgroundColor: '#2563eb', borderColor: '#3b82f6' }, - langText: { color: '#94a3b8', fontSize: 10, fontWeight: 'bold' }, + langChip: { backgroundColor: '#111B35', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, borderWidth: 1, borderColor: '#263B68' }, + activeLangChip: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, + langText: { color: '#9AADD6', fontSize: 10, fontWeight: 'bold' }, activeLangText: { color: '#ffffff' }, - codeBox: { flex: 1, backgroundColor: '#0f172a', borderRadius: 8, borderWidth: 1, borderColor: '#1e293b' }, + codeBox: { flex: 1, backgroundColor: '#080D1F', borderRadius: 8, borderWidth: 1, borderColor: '#111B35' }, verticalScroll: { padding: 10 }, codeContainer: { flexDirection: 'row' }, - lineNumbers: { paddingRight: 10, borderRightWidth: 1, borderColor: '#334155', marginRight: 10 }, + lineNumbers: { paddingRight: 10, borderRightWidth: 1, borderColor: '#263B68', marginRight: 10 }, lineNumberText: { color: '#475569', fontFamily: 'monospace', fontSize: 11, textAlign: 'right' }, codeLines: { flex: 1 }, - codeLineText: { color: '#38bdf8', fontFamily: 'monospace', fontSize: 11 }, + codeLineText: { color: '#38E8F2', fontFamily: 'monospace', fontSize: 11 }, }); diff --git a/app/src/components/LocalizationStudio.tsx b/app/src/components/LocalizationStudio.tsx index 6874fe3..ca6503c 100644 --- a/app/src/components/LocalizationStudio.tsx +++ b/app/src/components/LocalizationStudio.tsx @@ -107,21 +107,21 @@ export const LocalizationStudio = () => { @@ -148,29 +148,29 @@ export const LocalizationStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, - title: { fontSize: 15, fontWeight: 'bold', color: '#f8fafc', marginBottom: 12 }, + title: { fontSize: 15, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 12 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 8, textTransform: 'uppercase' }, + sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 8, textTransform: 'uppercase' }, localeScroll: { flexDirection: 'row', gap: 6 }, - localeChip: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#1e293b', borderWidth: 1, borderColor: '#334155', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 20, gap: 6, marginRight: 6 }, - activeLocaleChip: { backgroundColor: '#3b82f6', borderColor: '#60a5fa' }, + localeChip: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#111B35', borderWidth: 1, borderColor: '#263B68', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 20, gap: 6, marginRight: 6 }, + activeLocaleChip: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, flagText: { fontSize: 14 }, - localeText: { fontSize: 11, color: '#94a3b8', fontWeight: 'bold' }, + localeText: { fontSize: 11, color: '#9AADD6', fontWeight: 'bold' }, activeLocaleText: { color: '#ffffff' }, - sectionCard: { backgroundColor: '#0f172a', padding: 12, borderRadius: 10, borderWidth: 1, borderColor: '#334155', marginBottom: 16 }, - cardTitle: { fontSize: 13, fontWeight: 'bold', color: '#38bdf8', marginBottom: 6 }, - nodeBadge: { fontSize: 11, color: '#94a3b8', marginBottom: 4 }, - keyLabel: { fontSize: 11, color: '#cbd5e1', fontWeight: '600', marginBottom: 8 }, + sectionCard: { backgroundColor: '#080D1F', padding: 12, borderRadius: 10, borderWidth: 1, borderColor: '#263B68', marginBottom: 16 }, + cardTitle: { fontSize: 13, fontWeight: 'bold', color: '#38E8F2', marginBottom: 6 }, + nodeBadge: { fontSize: 11, color: '#9AADD6', marginBottom: 4 }, + keyLabel: { fontSize: 11, color: '#C7D5F1', fontWeight: '600', marginBottom: 8 }, keyChipsRow: { flexDirection: 'row', gap: 6, marginVertical: 4 }, - keyChip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 5, borderRadius: 6, borderWidth: 1, borderColor: '#475569', marginRight: 6 }, + keyChip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 5, borderRadius: 6, borderWidth: 1, borderColor: '#475569', marginRight: 6 }, activeKeyChip: { backgroundColor: '#10b981', borderColor: '#34d399' }, keyChipText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, - presetBtn: { backgroundColor: 'rgba(59, 130, 246, 0.2)', borderWidth: 1, borderColor: '#3b82f6', padding: 10, borderRadius: 8, alignItems: 'center' }, - presetBtnText: { color: '#38bdf8', fontSize: 11, fontWeight: 'bold' }, - input: { backgroundColor: '#1e293b', color: '#ffffff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', marginBottom: 8, fontSize: 12 }, - addKeyBtn: { backgroundColor: '#3b82f6', padding: 10, borderRadius: 6, alignItems: 'center', marginTop: 4 }, + presetBtn: { backgroundColor: 'rgba(59, 130, 246, 0.2)', borderWidth: 1, borderColor: '#398BFF', padding: 10, borderRadius: 8, alignItems: 'center' }, + presetBtnText: { color: '#38E8F2', fontSize: 11, fontWeight: 'bold' }, + input: { backgroundColor: '#111B35', color: '#ffffff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', marginBottom: 8, fontSize: 12 }, + addKeyBtn: { backgroundColor: '#398BFF', padding: 10, borderRadius: 6, alignItems: 'center', marginTop: 4 }, addKeyBtnText: { color: '#ffffff', fontSize: 12, fontWeight: 'bold' }, - dictRow: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155', marginBottom: 8 }, - dictKey: { fontSize: 12, fontWeight: 'bold', color: '#38bdf8', marginBottom: 4 }, - dictVal: { fontSize: 11, color: '#cbd5e1' }, + dictRow: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68', marginBottom: 8 }, + dictKey: { fontSize: 12, fontWeight: 'bold', color: '#38E8F2', marginBottom: 4 }, + dictVal: { fontSize: 11, color: '#C7D5F1' }, }); diff --git a/app/src/components/PerformanceProfilerStudio.tsx b/app/src/components/PerformanceProfilerStudio.tsx index c165b55..484eb9f 100644 --- a/app/src/components/PerformanceProfilerStudio.tsx +++ b/app/src/components/PerformanceProfilerStudio.tsx @@ -127,10 +127,10 @@ const styles = StyleSheet.create({ alignItems: 'center', marginBottom: 12, }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - subtitle: { fontSize: 10, color: '#94a3b8' }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + subtitle: { fontSize: 10, color: '#9AADD6' }, profileToggleBtn: { - backgroundColor: '#3b82f6', + backgroundColor: '#398BFF', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, @@ -144,16 +144,16 @@ const styles = StyleSheet.create({ marginBottom: 16, }, metricCard: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', borderRadius: 8, padding: 10, flex: 1, minWidth: 120, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, - metricVal: { fontSize: 18, fontWeight: 'bold', color: '#38bdf8' }, - metricLabel: { fontSize: 10, color: '#94a3b8', marginVertical: 2 }, + metricVal: { fontSize: 18, fontWeight: 'bold', color: '#38E8F2' }, + metricLabel: { fontSize: 10, color: '#9AADD6', marginVertical: 2 }, healthTag: { backgroundColor: 'rgba(16, 185, 129, 0.15)', paddingHorizontal: 6, @@ -164,30 +164,30 @@ const styles = StyleSheet.create({ }, healthText: { color: '#10b981', fontSize: 9, fontWeight: 'bold' }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: '600', color: '#cbd5e1', marginBottom: 8 }, + sectionTitle: { fontSize: 12, fontWeight: '600', color: '#C7D5F1', marginBottom: 8 }, auditCard: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', padding: 12, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, auditRow: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 6, }, - auditLabel: { fontSize: 12, color: '#f8fafc', fontWeight: 'bold' }, + auditLabel: { fontSize: 12, color: '#F4F7FF', fontWeight: 'bold' }, auditVal: { fontSize: 12, fontWeight: 'bold' }, okVal: { color: '#10b981' }, warnVal: { color: '#f59e0b' }, - auditDesc: { fontSize: 11, color: '#94a3b8', lineHeight: 16 }, + auditDesc: { fontSize: 11, color: '#9AADD6', lineHeight: 16 }, checkCard: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', padding: 12, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, - checkItem: { fontSize: 11, color: '#cbd5e1', marginBottom: 6 }, + checkItem: { fontSize: 11, color: '#C7D5F1', marginBottom: 6 }, }); diff --git a/app/src/components/PressStateStudio.tsx b/app/src/components/PressStateStudio.tsx index 0673012..e4b25c4 100644 --- a/app/src/components/PressStateStudio.tsx +++ b/app/src/components/PressStateStudio.tsx @@ -105,7 +105,7 @@ export const PressStateStudio = () => { { label: 'Danger Red', color: '#b91c1c' }, { label: 'Success Green', color: '#15803d' }, { label: 'Amber Accent', color: '#b45309' }, - { label: 'Dark Charcoal', color: '#0f172a' }, + { label: 'Dark Charcoal', color: '#080D1F' }, ].map((item) => ( { {[ { label: 'Cyan Ring', color: '#00f0ff' }, - { label: 'Blue Highlight', color: '#3b82f6' }, + { label: 'Blue Highlight', color: '#398BFF' }, { label: 'Purple Glow', color: '#a855f7' }, { label: 'Gold Ring', color: '#eab308' }, ].map((item) => ( @@ -151,16 +151,16 @@ export const PressStateStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, header: { marginBottom: 12 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - targetBadge: { fontSize: 10, color: '#38bdf8', marginTop: 2 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + targetBadge: { fontSize: 10, color: '#38E8F2', marginTop: 2 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 8 }, + sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 8 }, simRow: { flexDirection: 'row', gap: 6 }, - simBtn: { backgroundColor: '#1e293b', borderWidth: 1, borderColor: '#334155', paddingVertical: 8, paddingHorizontal: 12, borderRadius: 6, flex: 1, alignItems: 'center' }, - activeSimBtn: { backgroundColor: '#3b82f6', borderColor: '#60a5fa' }, - simBtnText: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, + simBtn: { backgroundColor: '#111B35', borderWidth: 1, borderColor: '#263B68', paddingVertical: 8, paddingHorizontal: 12, borderRadius: 6, flex: 1, alignItems: 'center' }, + activeSimBtn: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, + simBtnText: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, chipRow: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - chip: { backgroundColor: '#1e293b', borderWidth: 1, borderColor: '#334155', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6 }, - activeChip: { borderColor: '#3b82f6', backgroundColor: '#334155' }, - chipText: { color: '#f8fafc', fontSize: 11 }, + chip: { backgroundColor: '#111B35', borderWidth: 1, borderColor: '#263B68', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6 }, + activeChip: { borderColor: '#398BFF', backgroundColor: '#263B68' }, + chipText: { color: '#F4F7FF', fontSize: 11 }, }); diff --git a/app/src/components/ProjectFileIOStudio.tsx b/app/src/components/ProjectFileIOStudio.tsx index fd6dbae..4e59d74 100644 --- a/app/src/components/ProjectFileIOStudio.tsx +++ b/app/src/components/ProjectFileIOStudio.tsx @@ -30,7 +30,7 @@ export const SAMPLE_DROID_PROJECTS: { name: string; filename: string; descriptio title: 'Storefront Mobile', subtitle: 'Seamless Checkout', logoIcon: '🛒', - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', titleColor: '#ffffff', durationMs: 2000, showSpinner: true, @@ -43,11 +43,11 @@ export const SAMPLE_DROID_PROJECTS: { name: string; filename: string; descriptio rootNode: { id: 'root_container', type: 'Container', - style: { flexDirection: 'column', padding: 16, backgroundColor: '#1e293b', borderRadius: 12 }, + style: { flexDirection: 'column', padding: 16, backgroundColor: '#111B35', borderRadius: 12 }, children: [ - { id: 'cart_header', type: 'Text', props: { text: 'Order Summary', i18nKey: 'checkout_title' }, style: { fontSize: 20, color: '#f8fafc', fontWeight: 'bold', marginBottom: 12 } }, - { id: 'item_card', type: 'Card', style: { padding: 12, backgroundColor: '#0f172a', borderRadius: 8, marginBottom: 12 }, children: [ - { id: 'item_title', type: 'Text', props: { text: 'Wireless Noise-Canceling Headphones' }, style: { fontSize: 14, color: '#38bdf8', fontWeight: 'bold' } }, + { id: 'cart_header', type: 'Text', props: { text: 'Order Summary', i18nKey: 'checkout_title' }, style: { fontSize: 20, color: '#F4F7FF', fontWeight: 'bold', marginBottom: 12 } }, + { id: 'item_card', type: 'Card', style: { padding: 12, backgroundColor: '#080D1F', borderRadius: 8, marginBottom: 12 }, children: [ + { id: 'item_title', type: 'Text', props: { text: 'Wireless Noise-Canceling Headphones' }, style: { fontSize: 14, color: '#38E8F2', fontWeight: 'bold' } }, { id: 'item_price', type: 'Text', props: { text: '$129.99 • Qty 1' }, style: { fontSize: 12, color: '#10b981', marginTop: 4 } }, ]}, { id: 'btn_pay', type: 'Button', props: { label: 'Pay $129.99 Now', i18nKey: 'pay_btn' }, style: { backgroundColor: '#10b981', padding: 12, borderRadius: 8, alignItems: 'center' } }, @@ -201,7 +201,7 @@ export const ProjectFileIOStudio = () => { style={styles.importArea} multiline={true} placeholder="Paste .dui JSON project package here..." - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" value={importInput} onChangeText={setImportInput} /> @@ -256,24 +256,24 @@ const styles = StyleSheet.create({ headerTitle: { fontSize: 15, fontWeight: 'bold', - color: '#f8fafc', + color: '#F4F7FF', marginBottom: 2, }, subtitle: { fontSize: 11, - color: '#94a3b8', + color: '#9AADD6', marginBottom: 14, }, highlightText: { - color: '#38bdf8', + color: '#38E8F2', fontWeight: 'bold', }, card: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', padding: 12, borderRadius: 10, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', marginBottom: 14, }, cardHeaderRow: { @@ -285,10 +285,10 @@ const styles = StyleSheet.create({ cardHeaderTitle: { fontSize: 13, fontWeight: 'bold', - color: '#f8fafc', + color: '#F4F7FF', }, extBadge: { - backgroundColor: '#3b82f6', + backgroundColor: '#398BFF', color: '#ffffff', fontSize: 10, fontWeight: 'bold', @@ -298,28 +298,28 @@ const styles = StyleSheet.create({ }, cardDesc: { fontSize: 11, - color: '#cbd5e1', + color: '#C7D5F1', marginBottom: 10, }, specBox: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', padding: 10, borderRadius: 6, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', marginBottom: 10, }, specLabel: { fontSize: 11, - color: '#94a3b8', + color: '#9AADD6', marginBottom: 3, }, specVal: { - color: '#38bdf8', + color: '#38E8F2', fontWeight: 'bold', }, copyBtn: { - backgroundColor: '#2563eb', + backgroundColor: '#398BFF', padding: 10, borderRadius: 6, alignItems: 'center', @@ -330,8 +330,8 @@ const styles = StyleSheet.create({ fontSize: 12, }, importArea: { - backgroundColor: '#0f172a', - color: '#38bdf8', + backgroundColor: '#080D1F', + color: '#38E8F2', fontFamily: 'monospace', fontSize: 11, padding: 10, @@ -366,11 +366,11 @@ const styles = StyleSheet.create({ fontSize: 12, }, sampleCard: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', padding: 10, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', marginBottom: 8, }, sampleHeaderRow: { @@ -380,17 +380,17 @@ const styles = StyleSheet.create({ marginBottom: 4, }, sampleName: { - color: '#f8fafc', + color: '#F4F7FF', fontSize: 12, fontWeight: 'bold', }, sampleFileTag: { - color: '#38bdf8', + color: '#38E8F2', fontSize: 10, fontFamily: 'monospace', }, sampleDesc: { - color: '#94a3b8', + color: '#9AADD6', fontSize: 11, }, }); diff --git a/app/src/components/ProjectManager.tsx b/app/src/components/ProjectManager.tsx index 4275aa4..b82c054 100644 --- a/app/src/components/ProjectManager.tsx +++ b/app/src/components/ProjectManager.tsx @@ -50,7 +50,7 @@ export const ProjectManager = () => { value={projectNameInput} onChangeText={setProjectNameInput} placeholder="Project Name" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -103,31 +103,31 @@ const styles = StyleSheet.create({ title: { fontSize: 16, fontWeight: 'bold', - color: '#f8fafc', + color: '#F4F7FF', marginBottom: 2, }, subtitle: { fontSize: 12, - color: '#94a3b8', + color: '#9AADD6', marginBottom: 16, }, card: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', padding: 14, borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', marginBottom: 16, }, cardHeader: { fontSize: 13, fontWeight: '600', - color: '#cbd5e1', + color: '#C7D5F1', marginBottom: 8, }, textInput: { - backgroundColor: '#0f172a', - color: '#f8fafc', + backgroundColor: '#080D1F', + color: '#F4F7FF', padding: 10, borderRadius: 6, borderWidth: 1, @@ -140,13 +140,13 @@ const styles = StyleSheet.create({ }, saveBtn: { flex: 1, - backgroundColor: '#3b82f6', + backgroundColor: '#398BFF', padding: 10, borderRadius: 6, alignItems: 'center', }, newBtn: { - backgroundColor: '#334155', + backgroundColor: '#263B68', padding: 10, borderRadius: 6, alignItems: 'center', @@ -166,7 +166,7 @@ const styles = StyleSheet.create({ maxHeight: 280, }, emptyText: { - color: '#64748b', + color: '#7186B4', fontSize: 12, fontStyle: 'italic', textAlign: 'center', @@ -176,16 +176,16 @@ const styles = StyleSheet.create({ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', - backgroundColor: '#1e293b', + backgroundColor: '#111B35', padding: 12, borderRadius: 6, marginBottom: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, activeProjectRow: { - borderColor: '#3b82f6', - backgroundColor: '#1e293b', + borderColor: '#398BFF', + backgroundColor: '#111B35', }, projectInfo: { flex: 1, @@ -193,11 +193,11 @@ const styles = StyleSheet.create({ projectName: { fontSize: 13, fontWeight: 'bold', - color: '#f8fafc', + color: '#F4F7FF', }, projectMeta: { fontSize: 11, - color: '#94a3b8', + color: '#9AADD6', marginTop: 2, }, projectActions: { @@ -205,7 +205,7 @@ const styles = StyleSheet.create({ gap: 6, }, loadBtn: { - backgroundColor: '#2563eb', + backgroundColor: '#398BFF', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 4, diff --git a/app/src/components/PropertyInspector.tsx b/app/src/components/PropertyInspector.tsx index b2a4c4c..580d79b 100644 --- a/app/src/components/PropertyInspector.tsx +++ b/app/src/components/PropertyInspector.tsx @@ -254,19 +254,19 @@ export const PropertyInspector = () => { const styles = StyleSheet.create({ container: { padding: 12 }, emptyContainer: { padding: 20, alignItems: 'center' }, - emptyText: { color: '#64748b', fontSize: 12 }, - header: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - typeTag: { fontSize: 11, color: '#3b82f6', marginBottom: 12 }, + emptyText: { color: '#7186B4', fontSize: 12 }, + header: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + typeTag: { fontSize: 11, color: '#398BFF', marginBottom: 12 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: '600', color: '#cbd5e1', marginBottom: 8 }, - helperText: { fontSize: 10, color: '#94a3b8', marginBottom: 8, lineHeight: 14 }, + sectionTitle: { fontSize: 12, fontWeight: '600', color: '#C7D5F1', marginBottom: 8 }, + helperText: { fontSize: 10, color: '#9AADD6', marginBottom: 8, lineHeight: 14 }, addBtnGrid: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, - addBtn: { backgroundColor: '#334155', padding: 8, borderRadius: 6, flex: 1, minWidth: '45%', alignItems: 'center' }, + addBtn: { backgroundColor: '#263B68', padding: 8, borderRadius: 6, flex: 1, minWidth: '45%', alignItems: 'center' }, addBtnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, - input: { backgroundColor: '#0f172a', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569' }, + input: { backgroundColor: '#080D1F', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#344A76' }, chipRow: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, - chip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#475569' }, - activeChip: { backgroundColor: '#3b82f6', borderColor: '#3b82f6' }, - chipText: { color: '#94a3b8', fontSize: 11 }, + chip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#344A76' }, + activeChip: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, + chipText: { color: '#9AADD6', fontSize: 11 }, activeChipText: { color: '#ffffff', fontWeight: 'bold' }, }); diff --git a/app/src/components/PropertyPresetsStudio.tsx b/app/src/components/PropertyPresetsStudio.tsx index 77e1cfa..9a03c63 100644 --- a/app/src/components/PropertyPresetsStudio.tsx +++ b/app/src/components/PropertyPresetsStudio.tsx @@ -18,7 +18,7 @@ const PRESETS: PresetItem[] = [ name: 'Primary Action', category: 'Button', icon: '🔵', - style: { backgroundColor: '#3b82f6', borderRadius: 8, padding: 12, alignItems: 'center' }, + style: { backgroundColor: '#398BFF', borderRadius: 8, padding: 12, alignItems: 'center' }, }, { id: 'btn_danger', @@ -32,7 +32,7 @@ const PRESETS: PresetItem[] = [ name: 'Outline Border', category: 'Button', icon: '🔳', - style: { backgroundColor: 'transparent', borderWidth: 2, borderColor: '#3b82f6', borderRadius: 8, padding: 10, alignItems: 'center' }, + style: { backgroundColor: 'transparent', borderWidth: 2, borderColor: '#398BFF', borderRadius: 8, padding: 10, alignItems: 'center' }, }, { id: 'btn_ghost', @@ -62,7 +62,7 @@ const PRESETS: PresetItem[] = [ name: 'Elevated Dark Card', category: 'Card', icon: '🃏', - style: { backgroundColor: '#1e293b', borderRadius: 12, padding: 16, borderWidth: 1, borderColor: '#334155' }, + style: { backgroundColor: '#111B35', borderRadius: 12, padding: 16, borderWidth: 1, borderColor: '#263B68' }, }, { id: 'card_cyber', @@ -78,21 +78,21 @@ const PRESETS: PresetItem[] = [ name: 'Hero Display Title', category: 'Text', icon: '👑', - style: { fontSize: 26, fontWeight: 'bold', color: '#f8fafc', marginBottom: 8 }, + style: { fontSize: 26, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 8 }, }, { id: 'txt_section', name: 'Section Heading', category: 'Text', icon: '📌', - style: { fontSize: 18, fontWeight: '700', color: '#38bdf8', marginBottom: 6 }, + style: { fontSize: 18, fontWeight: '700', color: '#38E8F2', marginBottom: 6 }, }, { id: 'txt_subtle', name: 'Subtle Metadata', category: 'Text', icon: '💬', - style: { fontSize: 13, color: '#94a3b8', marginBottom: 4 }, + style: { fontSize: 13, color: '#9AADD6', marginBottom: 4 }, }, // Badge Presets @@ -170,15 +170,15 @@ export const PropertyPresetsStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, emptyContainer: { padding: 20, alignItems: 'center' }, - emptyText: { color: '#64748b', fontSize: 12 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc', marginBottom: 2 }, - targetTag: { fontSize: 11, color: '#38bdf8', marginBottom: 12 }, + emptyText: { color: '#7186B4', fontSize: 12 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 2 }, + targetTag: { fontSize: 11, color: '#38E8F2', marginBottom: 12 }, grid: { gap: 8 }, - presetCard: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, + presetCard: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, cardHeader: { flexDirection: 'row', alignItems: 'center', gap: 8, marginBottom: 6 }, presetIcon: { fontSize: 18 }, presetMeta: { flex: 1 }, - presetName: { color: '#f8fafc', fontSize: 12, fontWeight: 'bold' }, - presetCategory: { color: '#94a3b8', fontSize: 10 }, - applyLabel: { color: '#3b82f6', fontSize: 10, fontWeight: 'bold', textAlign: 'right' }, + presetName: { color: '#F4F7FF', fontSize: 12, fontWeight: 'bold' }, + presetCategory: { color: '#9AADD6', fontSize: 10 }, + applyLabel: { color: '#398BFF', fontSize: 10, fontWeight: 'bold', textAlign: 'right' }, }); diff --git a/app/src/components/ReleaseVersionStudio.tsx b/app/src/components/ReleaseVersionStudio.tsx index 4b5182f..d651192 100644 --- a/app/src/components/ReleaseVersionStudio.tsx +++ b/app/src/components/ReleaseVersionStudio.tsx @@ -112,7 +112,7 @@ export const ReleaseVersionStudio = () => { value={currentVersion} onChangeText={setCurrentVersion} placeholder="1.0.0" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -123,7 +123,7 @@ export const ReleaseVersionStudio = () => { onChangeText={setCurrentVersionCode} placeholder="10000" keyboardType="numeric" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> @@ -134,7 +134,7 @@ export const ReleaseVersionStudio = () => { value={releaseTitle} onChangeText={setReleaseTitle} placeholder="Brief release summary..." - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" /> {/* Result Preview Box */} @@ -188,32 +188,32 @@ export const ReleaseVersionStudio = () => { const styles = StyleSheet.create({ container: { padding: 14, flex: 1 }, - title: { fontSize: 15, fontWeight: 'bold', color: '#f8fafc', marginBottom: 2 }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, - highlight: { color: '#38bdf8', fontWeight: 'bold' }, - card: { backgroundColor: '#1e293b', padding: 12, borderRadius: 8, borderWidth: 1, borderColor: '#334155', marginBottom: 12 }, - cardHeader: { fontSize: 12, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 8 }, + title: { fontSize: 15, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 2 }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, + highlight: { color: '#38E8F2', fontWeight: 'bold' }, + card: { backgroundColor: '#111B35', padding: 12, borderRadius: 8, borderWidth: 1, borderColor: '#263B68', marginBottom: 12 }, + cardHeader: { fontSize: 12, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 8 }, bumpRow: { flexDirection: 'row', gap: 6, marginBottom: 12 }, - bumpBtn: { flex: 1, paddingVertical: 6, backgroundColor: '#0f172a', borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#334155' }, - activeBumpBtn: { backgroundColor: '#2563eb', borderColor: '#3b82f6' }, - bumpBtnText: { fontSize: 11, fontWeight: 'bold', color: '#94a3b8' }, + bumpBtn: { flex: 1, paddingVertical: 6, backgroundColor: '#080D1F', borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#263B68' }, + activeBumpBtn: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, + bumpBtnText: { fontSize: 11, fontWeight: 'bold', color: '#9AADD6' }, activeBumpText: { color: '#ffffff' }, inputGrid: { flexDirection: 'row', gap: 8, marginBottom: 8 }, - inputLabel: { fontSize: 10, color: '#94a3b8', marginBottom: 4, fontWeight: 'bold' }, - textInput: { backgroundColor: '#0f172a', color: '#f8fafc', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontSize: 11, marginBottom: 8 }, + inputLabel: { fontSize: 10, color: '#9AADD6', marginBottom: 4, fontWeight: 'bold' }, + textInput: { backgroundColor: '#080D1F', color: '#F4F7FF', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontSize: 11, marginBottom: 8 }, versionBadgeRow: { flexDirection: 'row', gap: 8, marginTop: 4 }, - versionPill: { flex: 1, backgroundColor: '#0f172a', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', alignItems: 'center' }, - pillLabel: { fontSize: 10, color: '#94a3b8' }, + versionPill: { flex: 1, backgroundColor: '#080D1F', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', alignItems: 'center' }, + pillLabel: { fontSize: 10, color: '#9AADD6' }, pillValue: { fontSize: 14, fontWeight: 'bold', color: '#10b981', marginTop: 2 }, - codeCard: { backgroundColor: '#0f172a', borderRadius: 8, borderWidth: 1, borderColor: '#334155', padding: 10, marginBottom: 16 }, + codeCard: { backgroundColor: '#080D1F', borderRadius: 8, borderWidth: 1, borderColor: '#263B68', padding: 10, marginBottom: 16 }, codeHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 }, tabToggleRow: { flexDirection: 'row', gap: 6 }, - toggleTab: { paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, backgroundColor: '#1e293b' }, - activeToggleTab: { backgroundColor: '#3b82f6' }, - toggleTabText: { fontSize: 10, color: '#94a3b8', fontWeight: 'bold' }, + toggleTab: { paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4, backgroundColor: '#111B35' }, + activeToggleTab: { backgroundColor: '#398BFF' }, + toggleTabText: { fontSize: 10, color: '#9AADD6', fontWeight: 'bold' }, activeToggleText: { color: '#ffffff' }, - copyBtn: { backgroundColor: '#334155', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, - copyBtnText: { fontSize: 10, color: '#f8fafc', fontWeight: 'bold' }, - codeScroll: { backgroundColor: '#1e293b', padding: 10, borderRadius: 6 }, - codeText: { color: '#f8fafc', fontFamily: 'monospace', fontSize: 11, lineHeight: 16 }, + copyBtn: { backgroundColor: '#263B68', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, + copyBtnText: { fontSize: 10, color: '#F4F7FF', fontWeight: 'bold' }, + codeScroll: { backgroundColor: '#111B35', padding: 10, borderRadius: 6 }, + codeText: { color: '#F4F7FF', fontFamily: 'monospace', fontSize: 11, lineHeight: 16 }, }); diff --git a/app/src/components/SoundEffectsStudio.tsx b/app/src/components/SoundEffectsStudio.tsx index 3688ed5..63e2d6c 100644 --- a/app/src/components/SoundEffectsStudio.tsx +++ b/app/src/components/SoundEffectsStudio.tsx @@ -90,17 +90,17 @@ export const SoundEffectsStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, header: { marginBottom: 4 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - targetBadge: { fontSize: 10, color: '#38bdf8', marginTop: 2, fontWeight: 'bold' }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + targetBadge: { fontSize: 10, color: '#38E8F2', marginTop: 2, fontWeight: 'bold' }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, soundList: { gap: 8 }, - soundCard: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, - activeCard: { borderColor: '#3b82f6', backgroundColor: '#1e3a8a' }, + soundCard: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, + activeCard: { borderColor: '#398BFF', backgroundColor: '#1e3a8a' }, soundHeader: { flexDirection: 'row', alignItems: 'center', gap: 10 }, soundIcon: { fontSize: 20 }, soundMeta: { flex: 1 }, - soundName: { fontSize: 12, fontWeight: 'bold', color: '#f8fafc' }, - soundDesc: { fontSize: 10, color: '#94a3b8', marginTop: 2 }, - testBtn: { backgroundColor: '#334155', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, - testBtnText: { color: '#38bdf8', fontSize: 10, fontWeight: 'bold' }, + soundName: { fontSize: 12, fontWeight: 'bold', color: '#F4F7FF' }, + soundDesc: { fontSize: 10, color: '#9AADD6', marginTop: 2 }, + testBtn: { backgroundColor: '#263B68', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, + testBtnText: { color: '#38E8F2', fontSize: 10, fontWeight: 'bold' }, }); diff --git a/app/src/components/SpacingAlignmentStudio.tsx b/app/src/components/SpacingAlignmentStudio.tsx index 3f46250..86bcd51 100644 --- a/app/src/components/SpacingAlignmentStudio.tsx +++ b/app/src/components/SpacingAlignmentStudio.tsx @@ -132,16 +132,16 @@ export const SpacingAlignmentStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, header: { marginBottom: 14 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - targetBadge: { fontSize: 11, color: '#38bdf8', fontWeight: 'bold', marginTop: 2 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + targetBadge: { fontSize: 11, color: '#38E8F2', fontWeight: 'bold', marginTop: 2 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 8 }, + sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 8 }, buttonGroup: { flexDirection: 'row', gap: 8 }, - flexBtn: { flex: 1, backgroundColor: '#1e293b', padding: 10, borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#334155' }, - activeBtn: { backgroundColor: '#2563eb', borderColor: '#60a5fa' }, + flexBtn: { flex: 1, backgroundColor: '#111B35', padding: 10, borderRadius: 6, alignItems: 'center', borderWidth: 1, borderColor: '#263B68' }, + activeBtn: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, btnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, chipRow: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - chip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#334155' }, - activeChip: { backgroundColor: '#3b82f6', borderColor: '#60a5fa' }, - chipText: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, + chip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#263B68' }, + activeChip: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, + chipText: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, }); diff --git a/app/src/components/SplashScreenStudio.tsx b/app/src/components/SplashScreenStudio.tsx index 3c913f1..279d1fb 100644 --- a/app/src/components/SplashScreenStudio.tsx +++ b/app/src/components/SplashScreenStudio.tsx @@ -3,7 +3,7 @@ import { StyleSheet, Text, View, TouchableOpacity, TextInput, ScrollView } from import { useEditorStore } from '../store/useEditorStore'; const LOGO_PRESETS = ['🚀', '📱', '⚡', '❖', '🔥', '🛡️', '💎', '🎨', '🌟', '⚙️']; -const BG_COLOR_PRESETS = ['#0f172a', '#1e1b4b', '#18181b', '#022c22', '#2a0a18', '#111827']; +const BG_COLOR_PRESETS = ['#080D1F', '#1e1b4b', '#18181b', '#022c22', '#2a0a18', '#111827']; export const SplashScreenStudio = () => { const { splashConfig, updateSplashConfig, triggerSplashPreview } = useEditorStore(); @@ -128,22 +128,22 @@ export const SplashScreenStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, header: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 12 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - previewBtn: { backgroundColor: '#3b82f6', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + previewBtn: { backgroundColor: '#398BFF', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6 }, previewBtnText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: '600', color: '#cbd5e1', marginBottom: 8 }, - inputLabel: { fontSize: 10, color: '#94a3b8', marginBottom: 4 }, - input: { backgroundColor: '#0f172a', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', marginBottom: 8, fontSize: 12 }, + sectionTitle: { fontSize: 12, fontWeight: '600', color: '#C7D5F1', marginBottom: 8 }, + inputLabel: { fontSize: 10, color: '#9AADD6', marginBottom: 4 }, + input: { backgroundColor: '#080D1F', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', marginBottom: 8, fontSize: 12 }, iconRow: { flexDirection: 'row', gap: 8 }, - iconChip: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, - activeChip: { borderColor: '#3b82f6', backgroundColor: '#1e3a8a' }, + iconChip: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, + activeChip: { borderColor: '#398BFF', backgroundColor: '#1e3a8a' }, colorRow: { flexDirection: 'row', gap: 8 }, - colorSwatch: { width: 32, height: 32, borderRadius: 16, borderWidth: 1, borderColor: '#334155' }, - activeSwatch: { borderWidth: 3, borderColor: '#38bdf8' }, + colorSwatch: { width: 32, height: 32, borderRadius: 16, borderWidth: 1, borderColor: '#263B68' }, + activeSwatch: { borderWidth: 3, borderColor: '#38E8F2' }, chipRow: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, - chip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#334155' }, - chipText: { color: '#94a3b8', fontSize: 11, fontWeight: '600' }, - codeBlock: { backgroundColor: '#0f172a', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, - codeText: { color: '#38bdf8', fontFamily: 'monospace', fontSize: 10 }, + chip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#263B68' }, + chipText: { color: '#9AADD6', fontSize: 11, fontWeight: '600' }, + codeBlock: { backgroundColor: '#080D1F', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, + codeText: { color: '#38E8F2', fontFamily: 'monospace', fontSize: 10 }, }); diff --git a/app/src/components/StoreMetadataStudio.tsx b/app/src/components/StoreMetadataStudio.tsx index 775ff77..50baaca 100644 --- a/app/src/components/StoreMetadataStudio.tsx +++ b/app/src/components/StoreMetadataStudio.tsx @@ -54,7 +54,7 @@ export const StoreMetadataStudio = () => { onChangeText={setAppName} style={styles.input} placeholder="My Android App" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" accessibilityLabel="App name" /> @@ -64,7 +64,7 @@ export const StoreMetadataStudio = () => { onChangeText={setShortDesc} style={[styles.input, styles.multiline]} placeholder="Describe the app" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" multiline accessibilityLabel="Short description" /> @@ -75,7 +75,7 @@ export const StoreMetadataStudio = () => { onChangeText={setCategory} style={styles.input} placeholder="Tools & Productivity" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" accessibilityLabel="App category" /> @@ -87,7 +87,7 @@ export const StoreMetadataStudio = () => { keyboardType="email-address" autoCapitalize="none" placeholder="support@example.com" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" accessibilityLabel="Support email" /> @@ -99,7 +99,7 @@ export const StoreMetadataStudio = () => { keyboardType="url" autoCapitalize="none" placeholder="https://example.com/privacy" - placeholderTextColor="#64748b" + placeholderTextColor="#7186B4" accessibilityLabel="Privacy policy URL" /> @@ -134,22 +134,22 @@ export const StoreMetadataStudio = () => { }; const styles = StyleSheet.create({ - container: { flex: 1, backgroundColor: '#0f172a' }, + container: { flex: 1, backgroundColor: '#080D1F' }, content: { padding: 16, paddingBottom: 40, gap: 16 }, header: { gap: 6 }, - title: { color: '#f8fafc', fontSize: 24, fontWeight: '700' }, - subtitle: { color: '#94a3b8', fontSize: 14, lineHeight: 20 }, + title: { color: '#F4F7FF', fontSize: 24, fontWeight: '700' }, + subtitle: { color: '#9AADD6', fontSize: 14, lineHeight: 20 }, card: { backgroundColor: '#111827', borderRadius: 12, padding: 16, gap: 8 }, - sectionTitle: { color: '#f8fafc', fontSize: 17, fontWeight: '700', marginBottom: 4 }, - label: { color: '#cbd5e1', fontSize: 13, fontWeight: '600', marginTop: 6 }, + sectionTitle: { color: '#F4F7FF', fontSize: 17, fontWeight: '700', marginBottom: 4 }, + label: { color: '#C7D5F1', fontSize: 13, fontWeight: '600', marginTop: 6 }, input: { minHeight: 44, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', borderRadius: 8, paddingHorizontal: 12, - color: '#f8fafc', - backgroundColor: '#0f172a', + color: '#F4F7FF', + backgroundColor: '#080D1F', }, multiline: { minHeight: 76, paddingTop: 10, textAlignVertical: 'top' }, tabs: { flexDirection: 'row', gap: 8 }, @@ -159,10 +159,10 @@ const styles = StyleSheet.create({ borderRadius: 8, alignItems: 'center', justifyContent: 'center', - backgroundColor: '#1e293b', + backgroundColor: '#111B35', }, - activeTab: { backgroundColor: '#334155' }, - tabText: { color: '#f8fafc', fontWeight: '600' }, + activeTab: { backgroundColor: '#263B68' }, + tabText: { color: '#F4F7FF', fontWeight: '600' }, outputCard: { backgroundColor: '#111827', borderRadius: 12, padding: 16 }, - output: { color: '#cbd5e1', fontSize: 13, lineHeight: 20, fontFamily: 'monospace' }, + output: { color: '#C7D5F1', fontSize: 13, lineHeight: 20, fontFamily: 'monospace' }, }); diff --git a/app/src/components/SvgImporterStudio.tsx b/app/src/components/SvgImporterStudio.tsx index 8fe03b1..4b79f8f 100644 --- a/app/src/components/SvgImporterStudio.tsx +++ b/app/src/components/SvgImporterStudio.tsx @@ -12,13 +12,13 @@ export const SVG_PRESETS: SvgPresetItem[] = [ { id: 'android_mascot', name: 'Android Bot Mascot', category: 'Branding', iconSymbol: '🤖', defaultColor: '#a4c639', svgXml: '' }, { id: 'star_sparkle', name: 'Star Rating Sparkle', category: 'Symbols', iconSymbol: '⭐', defaultColor: '#f59e0b', svgXml: '' }, { id: 'shield_security', name: 'Shield Security Vault', category: 'Security', iconSymbol: '🛡️', defaultColor: '#10b981', svgXml: '' }, - { id: 'cyber_ring', name: 'Cyber Ring Progress', category: 'Analytics', iconSymbol: '⭕', defaultColor: '#38bdf8', svgXml: '' }, + { id: 'cyber_ring', name: 'Cyber Ring Progress', category: 'Analytics', iconSymbol: '⭕', defaultColor: '#38E8F2', svgXml: '' }, { id: 'analytics_wave', name: 'Analytics Line Wave', category: 'Analytics', iconSymbol: '📈', defaultColor: '#8b5cf6', svgXml: '' }, - { id: 'search_magnifier', name: 'Search Glass Vector', category: 'Controls', iconSymbol: '🔍', defaultColor: '#38bdf8', svgXml: '' }, + { id: 'search_magnifier', name: 'Search Glass Vector', category: 'Controls', iconSymbol: '🔍', defaultColor: '#38E8F2', svgXml: '' }, { id: 'heart_favorite', name: 'Heart Favorite Emblem', category: 'Symbols', iconSymbol: '❤️', defaultColor: '#ef4444', svgXml: '' }, - { id: 'bell_notification', name: 'Bell Notification Badge', category: 'Status', iconSymbol: '🔔', defaultColor: '#3b82f6', svgXml: '' }, + { id: 'bell_notification', name: 'Bell Notification Badge', category: 'Status', iconSymbol: '🔔', defaultColor: '#398BFF', svgXml: '' }, { id: 'shopping_cart', name: 'Shopping Cart Vector', category: 'Commerce', iconSymbol: '🛒', defaultColor: '#10b981', svgXml: '' }, - { id: 'gear_settings', name: 'Gear Settings Engine', category: 'Controls', iconSymbol: '⚙️', defaultColor: '#64748b', svgXml: '' }, + { id: 'gear_settings', name: 'Gear Settings Engine', category: 'Controls', iconSymbol: '⚙️', defaultColor: '#7186B4', svgXml: '' }, { id: 'checkmark_circle', name: 'Checkmark Circle Badge', category: 'Status', iconSymbol: '✓', defaultColor: '#10b981', svgXml: '' }, { id: 'flame_trend', name: 'Flame Trending Symbol', category: 'Status', iconSymbol: '🔥', defaultColor: '#f97316', svgXml: '' } ]; @@ -64,16 +64,16 @@ export const SvgImporterStudio = () => { return ( SVG Vector Importer & StudioTarget Container: [{targetParentId}] - 1. Vector Name & Label + 1. Vector Name & Label 2. Built-in Vector Asset Presets{SVG_PRESETS.map(p => handleSelectPreset(p)}>{p.iconSymbol}{p.name}{p.category})} - 3. Raw SVG XML Code{validation.valid ? '✓ SVG validated' : `✕ ${validation.error}`} + 3. Raw SVG XML Code{validation.valid ? '✓ SVG validated' : `✕ ${validation.error}`} 4. Live SVG Preview{validation.valid && validation.svgXml ? : Invalid} - 5. Dimensions & Color Tuning{[24, 32, 48, 64, 96].map(sz => setVectorSize(sz)}>{sz}px)}{['#38bdf8', '#3b82f6', '#10b981', '#a4c639', '#8b5cf6', '#ef4444', '#f59e0b', '#ffffff'].map(col => setVectorColor(col)} />)} + 5. Dimensions & Color Tuning{[24, 32, 48, 64, 96].map(sz => setVectorSize(sz)}>{sz}px)}{['#38E8F2', '#398BFF', '#10b981', '#a4c639', '#8b5cf6', '#ef4444', '#f59e0b', '#ffffff'].map(col => setVectorColor(col)} />)} ➕ Insert SVG Vector↗ Copy SVG ); }; const styles = StyleSheet.create({ - container: { padding: 12 }, header: { marginBottom: 12 }, title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, targetLabel: { fontSize: 11, color: '#38bdf8', marginTop: 2 }, section: { marginBottom: 14 }, sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#cbd5e1', marginBottom: 6 }, input: { backgroundColor: '#0f172a', color: '#38bdf8', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#334155', fontSize: 11, fontFamily: 'monospace' }, xmlBox: { minHeight: 110, textAlignVertical: 'top' }, validation: { fontSize: 10, marginTop: 5 }, presetScroll: { flexDirection: 'row', gap: 6 }, presetCard: { backgroundColor: '#1e293b', borderWidth: 1, borderColor: '#334155', padding: 8, borderRadius: 8, minWidth: 100, alignItems: 'center' }, presetSymbol: { fontSize: 18, marginBottom: 2 }, presetName: { fontSize: 10, fontWeight: 'bold', color: '#f8fafc', textAlign: 'center' }, presetCategory: { fontSize: 9, color: '#94a3b8', marginTop: 2 }, preview: { alignItems: 'center', justifyContent: 'center', backgroundColor: '#0f172a', borderWidth: 1, borderColor: '#334155', borderRadius: 8, alignSelf: 'center' }, previewError: { color: '#ef4444', fontSize: 10 }, row: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, sizeChip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#334155' }, activeChip: { backgroundColor: '#2563eb', borderColor: '#3b82f6' }, chipText: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, colorSwatch: { width: 26, height: 26, borderRadius: 13, borderWidth: 1, borderColor: '#475569' }, activeSwatch: { borderWidth: 3, borderColor: '#38bdf8' }, actionRow: { flexDirection: 'row', gap: 8, marginBottom: 24 }, insertBtn: { flex: 1, backgroundColor: '#2563eb', padding: 12, borderRadius: 8, alignItems: 'center' }, exportBtn: { flex: 1, backgroundColor: '#0f766e', padding: 12, borderRadius: 8, alignItems: 'center' }, disabledBtn: { opacity: 0.45 }, insertBtnText: { color: '#fff', fontWeight: 'bold', fontSize: 11, textAlign: 'center' }, + container: { padding: 12 }, header: { marginBottom: 12 }, title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, targetLabel: { fontSize: 11, color: '#38E8F2', marginTop: 2 }, section: { marginBottom: 14 }, sectionTitle: { fontSize: 11, fontWeight: 'bold', color: '#C7D5F1', marginBottom: 6 }, input: { backgroundColor: '#080D1F', color: '#38E8F2', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#263B68', fontSize: 11, fontFamily: 'monospace' }, xmlBox: { minHeight: 110, textAlignVertical: 'top' }, validation: { fontSize: 10, marginTop: 5 }, presetScroll: { flexDirection: 'row', gap: 6 }, presetCard: { backgroundColor: '#111B35', borderWidth: 1, borderColor: '#263B68', padding: 8, borderRadius: 8, minWidth: 100, alignItems: 'center' }, presetSymbol: { fontSize: 18, marginBottom: 2 }, presetName: { fontSize: 10, fontWeight: 'bold', color: '#F4F7FF', textAlign: 'center' }, presetCategory: { fontSize: 9, color: '#9AADD6', marginTop: 2 }, preview: { alignItems: 'center', justifyContent: 'center', backgroundColor: '#080D1F', borderWidth: 1, borderColor: '#263B68', borderRadius: 8, alignSelf: 'center' }, previewError: { color: '#ef4444', fontSize: 10 }, row: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, sizeChip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#263B68' }, activeChip: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, chipText: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, colorSwatch: { width: 26, height: 26, borderRadius: 13, borderWidth: 1, borderColor: '#475569' }, activeSwatch: { borderWidth: 3, borderColor: '#38E8F2' }, actionRow: { flexDirection: 'row', gap: 8, marginBottom: 24 }, insertBtn: { flex: 1, backgroundColor: '#398BFF', padding: 12, borderRadius: 8, alignItems: 'center' }, exportBtn: { flex: 1, backgroundColor: '#0f766e', padding: 12, borderRadius: 8, alignItems: 'center' }, disabledBtn: { opacity: 0.45 }, insertBtnText: { color: '#fff', fontWeight: 'bold', fontSize: 11, textAlign: 'center' }, }); diff --git a/app/src/components/ThemeExportImportStudio.tsx b/app/src/components/ThemeExportImportStudio.tsx index 74db59a..d61423f 100644 --- a/app/src/components/ThemeExportImportStudio.tsx +++ b/app/src/components/ThemeExportImportStudio.tsx @@ -53,8 +53,8 @@ export const ThemeExportImportStudio = () => { }; const presetPalettes: Array<{ id: ThemeMode; name: string; primary: string; bg: string }> = [ - { id: 'dark', name: 'Dark Studio', primary: '#3b82f6', bg: '#0f172a' }, - { id: 'light', name: 'Clean Light', primary: '#2563eb', bg: '#f8fafc' }, + { id: 'dark', name: 'Dark Studio', primary: '#398BFF', bg: '#080D1F' }, + { id: 'light', name: 'Clean Light', primary: '#398BFF', bg: '#F4F7FF' }, { id: 'material_you', name: 'Material You', primary: '#d0bcff', bg: '#1c1b1f' }, { id: 'cyberpunk', name: 'Cyberpunk Neon', primary: '#ff0055', bg: '#05050d' }, ]; @@ -92,7 +92,7 @@ export const ThemeExportImportStudio = () => { style={styles.hexInput} value={customPrimary} onChangeText={setCustomPrimary} - placeholder="#3b82f6" + placeholder="#398BFF" /> @@ -134,24 +134,24 @@ export const ThemeExportImportStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, - title: { fontSize: 15, fontWeight: 'bold', color: '#f8fafc' }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, - section: { marginBottom: 16, backgroundColor: '#0f172a', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, - sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#38bdf8', marginBottom: 8 }, + title: { fontSize: 15, fontWeight: 'bold', color: '#F4F7FF' }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, + section: { marginBottom: 16, backgroundColor: '#080D1F', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, + sectionTitle: { fontSize: 12, fontWeight: 'bold', color: '#38E8F2', marginBottom: 8 }, headerRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }, presetGrid: { flexDirection: 'row', flexWrap: 'wrap', gap: 6 }, - presetCard: { backgroundColor: '#1e293b', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', width: '48%' }, - activePresetCard: { borderColor: '#3b82f6', borderWidth: 2 }, + presetCard: { backgroundColor: '#111B35', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', width: '48%' }, + activePresetCard: { borderColor: '#398BFF', borderWidth: 2 }, colorDotRow: { flexDirection: 'row', gap: 4, marginBottom: 4 }, colorDot: { width: 14, height: 14, borderRadius: 7, borderWidth: 1, borderColor: '#fff' }, - presetName: { color: '#f8fafc', fontSize: 11, fontWeight: 'bold' }, + presetName: { color: '#F4F7FF', fontSize: 11, fontWeight: 'bold' }, colorRow: { flexDirection: 'row', gap: 8, alignItems: 'center' }, - hexInput: { flex: 1, backgroundColor: '#1e293b', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontFamily: 'monospace' }, + hexInput: { flex: 1, backgroundColor: '#111B35', color: '#fff', padding: 8, borderRadius: 6, borderWidth: 1, borderColor: '#475569', fontFamily: 'monospace' }, previewSwatch: { width: 36, height: 36, borderRadius: 6, borderWidth: 1, borderColor: '#fff' }, - copyBtn: { backgroundColor: '#3b82f6', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, + copyBtn: { backgroundColor: '#398BFF', paddingHorizontal: 8, paddingVertical: 4, borderRadius: 4 }, copyBtnText: { color: '#fff', fontSize: 10, fontWeight: 'bold' }, - jsonBox: { backgroundColor: '#1e293b', color: '#38bdf8', padding: 8, borderRadius: 6, fontFamily: 'monospace', fontSize: 10, height: 100 }, - importInput: { backgroundColor: '#1e293b', color: '#fff', padding: 8, borderRadius: 6, fontFamily: 'monospace', fontSize: 10, height: 80, marginBottom: 8 }, + jsonBox: { backgroundColor: '#111B35', color: '#38E8F2', padding: 8, borderRadius: 6, fontFamily: 'monospace', fontSize: 10, height: 100 }, + importInput: { backgroundColor: '#111B35', color: '#fff', padding: 8, borderRadius: 6, fontFamily: 'monospace', fontSize: 10, height: 80, marginBottom: 8 }, applyBtn: { backgroundColor: '#10b981', padding: 10, borderRadius: 6, alignItems: 'center' }, applyBtnText: { color: '#fff', fontWeight: 'bold', fontSize: 11 }, }); diff --git a/app/src/components/ThemeManager.tsx b/app/src/components/ThemeManager.tsx index 29dda7b..f200d8e 100644 --- a/app/src/components/ThemeManager.tsx +++ b/app/src/components/ThemeManager.tsx @@ -35,10 +35,10 @@ export const ThemeManager = () => { const styles = StyleSheet.create({ container: { padding: 12 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc', marginBottom: 8 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF', marginBottom: 8 }, grid: { flexDirection: 'row', flexWrap: 'wrap', gap: 8 }, - themeCard: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, width: '48%', borderWidth: 1, borderColor: '#334155' }, - selectedCard: { borderColor: '#3b82f6' }, + themeCard: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, width: '48%', borderWidth: 1, borderColor: '#263B68' }, + selectedCard: { borderColor: '#398BFF' }, swatchRow: { flexDirection: 'row', gap: 4, marginTop: 6 }, swatch: { width: 14, height: 14, borderRadius: 7 }, }); diff --git a/app/src/components/TransitionsStudio.tsx b/app/src/components/TransitionsStudio.tsx index bb89247..d623761 100644 --- a/app/src/components/TransitionsStudio.tsx +++ b/app/src/components/TransitionsStudio.tsx @@ -118,19 +118,19 @@ export const TransitionsStudio = () => { const styles = StyleSheet.create({ container: { padding: 12 }, header: { marginBottom: 4 }, - title: { fontSize: 14, fontWeight: 'bold', color: '#f8fafc' }, - targetBadge: { fontSize: 10, color: '#38bdf8', marginTop: 2, fontWeight: 'bold' }, - subtitle: { fontSize: 11, color: '#94a3b8', marginBottom: 12 }, + title: { fontSize: 14, fontWeight: 'bold', color: '#F4F7FF' }, + targetBadge: { fontSize: 10, color: '#38E8F2', marginTop: 2, fontWeight: 'bold' }, + subtitle: { fontSize: 11, color: '#9AADD6', marginBottom: 12 }, section: { marginBottom: 16 }, - sectionTitle: { fontSize: 12, fontWeight: '600', color: '#cbd5e1', marginBottom: 8 }, + sectionTitle: { fontSize: 12, fontWeight: '600', color: '#C7D5F1', marginBottom: 8 }, grid: { gap: 8 }, - transCard: { backgroundColor: '#1e293b', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#334155' }, - activeCard: { borderColor: '#3b82f6', backgroundColor: '#1e3a8a' }, + transCard: { backgroundColor: '#111B35', padding: 10, borderRadius: 8, borderWidth: 1, borderColor: '#263B68' }, + activeCard: { borderColor: '#398BFF', backgroundColor: '#1e3a8a' }, transIcon: { fontSize: 18, marginBottom: 2 }, - transName: { fontSize: 12, fontWeight: 'bold', color: '#f8fafc' }, - transDesc: { fontSize: 10, color: '#94a3b8', marginTop: 2 }, + transName: { fontSize: 12, fontWeight: 'bold', color: '#F4F7FF' }, + transDesc: { fontSize: 10, color: '#9AADD6', marginTop: 2 }, chipRow: { flexDirection: 'row', gap: 6, flexWrap: 'wrap' }, - chip: { backgroundColor: '#1e293b', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#334155' }, - activeChip: { borderColor: '#3b82f6', backgroundColor: '#2563eb' }, + chip: { backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 6, borderRadius: 6, borderWidth: 1, borderColor: '#263B68' }, + activeChip: { borderColor: '#398BFF', backgroundColor: '#398BFF' }, chipText: { color: '#ffffff', fontSize: 11, fontWeight: 'bold' }, }); diff --git a/app/src/components/UnitTestGeneratorStudio.tsx b/app/src/components/UnitTestGeneratorStudio.tsx index 7b566c5..3f56281 100644 --- a/app/src/components/UnitTestGeneratorStudio.tsx +++ b/app/src/components/UnitTestGeneratorStudio.tsx @@ -99,14 +99,14 @@ const styles = StyleSheet.create({ title: { fontSize: 14, fontWeight: 'bold', - color: '#f8fafc', + color: '#F4F7FF', }, subtitle: { fontSize: 10, - color: '#38bdf8', + color: '#38E8F2', }, copyBtn: { - backgroundColor: '#3b82f6', + backgroundColor: '#398BFF', paddingHorizontal: 12, paddingVertical: 6, borderRadius: 6, @@ -123,7 +123,7 @@ const styles = StyleSheet.create({ flexWrap: 'wrap', }, toggleChip: { - backgroundColor: '#1e293b', + backgroundColor: '#111B35', borderWidth: 1, borderColor: '#475569', paddingHorizontal: 8, @@ -132,18 +132,18 @@ const styles = StyleSheet.create({ }, activeChip: { backgroundColor: '#0284c7', - borderColor: '#38bdf8', + borderColor: '#38E8F2', }, chipText: { - color: '#f8fafc', + color: '#F4F7FF', fontSize: 10, fontWeight: 'bold', }, codeBox: { - backgroundColor: '#0f172a', + backgroundColor: '#080D1F', borderRadius: 8, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', flex: 1, }, verticalScroll: { @@ -155,7 +155,7 @@ const styles = StyleSheet.create({ lineNumbers: { marginRight: 12, borderRightWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', paddingRight: 8, }, lineNumberText: { @@ -166,7 +166,7 @@ const styles = StyleSheet.create({ }, codeLines: {}, codeLineText: { - color: '#38bdf8', + color: '#38E8F2', fontFamily: 'monospace', fontSize: 11, }, diff --git a/app/src/components/ViewportSelector.tsx b/app/src/components/ViewportSelector.tsx index f2e486b..012d2de 100644 --- a/app/src/components/ViewportSelector.tsx +++ b/app/src/components/ViewportSelector.tsx @@ -138,22 +138,22 @@ export const ViewportSelector: React.FC = ({ activeViewport, onSelectView const styles = StyleSheet.create({ container: { width: '100%', marginBottom: 8 }, headerRow: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 4 }, - label: { color: '#38bdf8', fontSize: 11, fontWeight: 'bold' }, - activeMeta: { color: '#cbd5e1', fontSize: 10, fontWeight: '600' }, + label: { color: '#38E8F2', fontSize: 11, fontWeight: 'bold' }, + activeMeta: { color: '#C7D5F1', fontSize: 10, fontWeight: '600' }, row: { flexDirection: 'row', gap: 6, paddingVertical: 2 }, btn: { flexDirection: 'row', alignItems: 'center', gap: 4, - backgroundColor: '#1e293b', + backgroundColor: '#111B35', paddingHorizontal: 10, paddingVertical: 5, borderRadius: 6, borderWidth: 1, - borderColor: '#334155', + borderColor: '#263B68', }, - activeBtn: { backgroundColor: '#2563eb', borderColor: '#3b82f6' }, + activeBtn: { backgroundColor: '#398BFF', borderColor: '#398BFF' }, btnIcon: { fontSize: 12 }, - btnText: { color: '#94a3b8', fontSize: 10, fontWeight: 'bold' }, + btnText: { color: '#9AADD6', fontSize: 10, fontWeight: 'bold' }, activeBtnText: { color: '#ffffff' }, }); diff --git a/app/src/templates/TemplateLibrary.tsx b/app/src/templates/TemplateLibrary.tsx index 1587508..1614367 100644 --- a/app/src/templates/TemplateLibrary.tsx +++ b/app/src/templates/TemplateLibrary.tsx @@ -15,15 +15,15 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 'login_card', type: 'Card', - style: { flexDirection: 'column', padding: 16, backgroundColor: '#1e293b', borderRadius: 12, marginVertical: 6 }, + style: { flexDirection: 'column', padding: 16, backgroundColor: '#111B35', borderRadius: 12, marginVertical: 6 }, animation: { preset: 'fadeIn', duration: 400, delay: 100 }, children: [ { id: 'lbl_title', type: 'Text', props: { text: 'Welcome Back' }, style: { fontSize: 18, color: '#ffffff', fontWeight: 'bold', marginBottom: 4 } }, - { id: 'lbl_sub', type: 'Text', props: { text: 'Sign in to access your account' }, style: { fontSize: 12, color: '#94a3b8', marginBottom: 12 } }, + { id: 'lbl_sub', type: 'Text', props: { text: 'Sign in to access your account' }, style: { fontSize: 12, color: '#9AADD6', marginBottom: 12 } }, { id: 'inp_email', type: 'Input', props: { placeholder: 'user@domain.com' }, style: { marginBottom: 8 } }, { id: 'inp_pass', type: 'Input', props: { placeholder: '••••••••' }, style: { marginBottom: 12 } }, { id: 'chk_remember', type: 'Checkbox', props: { label: 'Remember login session', checked: true }, style: { marginBottom: 14 } }, - { id: 'btn_login', type: 'Button', props: { label: 'Sign In' }, style: { backgroundColor: '#2563eb', padding: 12, borderRadius: 8, alignItems: 'center' } }, + { id: 'btn_login', type: 'Button', props: { label: 'Sign In' }, style: { backgroundColor: '#398BFF', padding: 12, borderRadius: 8, alignItems: 'center' } }, ], }, }, @@ -36,19 +36,19 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 'kpi_card', type: 'Card', - style: { flexDirection: 'column', padding: 16, backgroundColor: '#0f172a', borderRadius: 12, borderWidth: 1, borderColor: '#334155', marginVertical: 6 }, + style: { flexDirection: 'column', padding: 16, backgroundColor: '#080D1F', borderRadius: 12, borderWidth: 1, borderColor: '#263B68', marginVertical: 6 }, children: [ { id: 'kpi_header', type: 'Container', style: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 }, children: [ - { id: 'kpi_title', type: 'Text', props: { text: 'Monthly Revenue' }, style: { fontSize: 12, color: '#94a3b8', fontWeight: 'bold' } }, + { id: 'kpi_title', type: 'Text', props: { text: 'Monthly Revenue' }, style: { fontSize: 12, color: '#9AADD6', fontWeight: 'bold' } }, { id: 'kpi_badge', type: 'Badge', props: { text: '+24.8% Growth' }, style: { backgroundColor: '#10b981', padding: 4, borderRadius: 12 } }, ], }, - { id: 'kpi_val', type: 'Text', props: { text: '$128,450.00' }, style: { fontSize: 24, color: '#38bdf8', fontWeight: 'bold', marginBottom: 10 } }, - { id: 'kpi_prog', type: 'ProgressBar', style: {}, props: { label: 'Target Completion', progress: 82, barColor: '#38bdf8' } }, + { id: 'kpi_val', type: 'Text', props: { text: '$128,450.00' }, style: { fontSize: 24, color: '#38E8F2', fontWeight: 'bold', marginBottom: 10 } }, + { id: 'kpi_prog', type: 'ProgressBar', style: {}, props: { label: 'Target Completion', progress: 82, barColor: '#38E8F2' } }, { id: 'kpi_chart', type: 'Graph', style: {}, props: { title: 'Q3 Growth Trend', values: [45, 60, 55, 80, 75, 95] } }, ], }, @@ -62,15 +62,15 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 's24_hero', type: 'Card', - style: { flexDirection: 'column', padding: 16, backgroundColor: 'rgba(30, 41, 59, 0.9)', borderRadius: 16, borderWidth: 1, borderColor: '#38bdf8', marginVertical: 6 }, + style: { flexDirection: 'column', padding: 16, backgroundColor: 'rgba(30, 41, 59, 0.9)', borderRadius: 16, borderWidth: 1, borderColor: '#38E8F2', marginVertical: 6 }, children: [ { id: 's24_row1', type: 'Container', style: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 12 }, children: [ - { id: 's24_dev', type: 'Text', props: { text: 'Galaxy S24 Ultra' }, style: { fontSize: 14, color: '#f8fafc', fontWeight: 'bold' } }, - { id: 's24_bat', type: 'Badge', props: { text: '🔋 98% Super Fast' }, style: { backgroundColor: '#3b82f6' } }, + { id: 's24_dev', type: 'Text', props: { text: 'Galaxy S24 Ultra' }, style: { fontSize: 14, color: '#F4F7FF', fontWeight: 'bold' } }, + { id: 's24_bat', type: 'Badge', props: { text: '🔋 98% Super Fast' }, style: { backgroundColor: '#398BFF' } }, ], }, { id: 's24_sw1', type: 'Switch', style: {}, props: { label: 'Adaptive 120Hz Refresh', value: true } }, @@ -87,24 +87,24 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 'fold_container', type: 'Container', - style: { flexDirection: 'row', padding: 12, backgroundColor: '#0f172a', borderRadius: 12, gap: 10, marginVertical: 6 }, + style: { flexDirection: 'row', padding: 12, backgroundColor: '#080D1F', borderRadius: 12, gap: 10, marginVertical: 6 }, children: [ { id: 'fold_pane_left', type: 'Card', - style: { flex: 1, padding: 12, backgroundColor: '#1e293b', borderRadius: 10 }, + style: { flex: 1, padding: 12, backgroundColor: '#111B35', borderRadius: 10 }, children: [ - { id: 'p1_title', type: 'Text', props: { text: 'System Status' }, style: { fontSize: 14, color: '#38bdf8', fontWeight: 'bold', marginBottom: 8 } }, + { id: 'p1_title', type: 'Text', props: { text: 'System Status' }, style: { fontSize: 14, color: '#38E8F2', fontWeight: 'bold', marginBottom: 8 } }, { id: 'p1_prog', type: 'ProgressBar', style: {}, props: { label: 'CPU Load', progress: 42, barColor: '#10b981' } }, ], }, { id: 'fold_pane_right', type: 'Card', - style: { flex: 1, padding: 12, backgroundColor: '#1e293b', borderRadius: 10 }, + style: { flex: 1, padding: 12, backgroundColor: '#111B35', borderRadius: 10 }, children: [ - { id: 'p2_title', type: 'Text', props: { text: 'Quick Controls' }, style: { fontSize: 14, color: '#f8fafc', fontWeight: 'bold', marginBottom: 8 } }, - { id: 'p2_btn', type: 'Button', props: { label: 'Sync Workspace' }, style: { backgroundColor: '#3b82f6', padding: 8, borderRadius: 6, alignItems: 'center' } }, + { id: 'p2_title', type: 'Text', props: { text: 'Quick Controls' }, style: { fontSize: 14, color: '#F4F7FF', fontWeight: 'bold', marginBottom: 8 } }, + { id: 'p2_btn', type: 'Button', props: { label: 'Sync Workspace' }, style: { backgroundColor: '#398BFF', padding: 8, borderRadius: 6, alignItems: 'center' } }, ], }, ], @@ -119,7 +119,7 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 'watch_tile', type: 'Card', - style: { flexDirection: 'column', padding: 12, backgroundColor: '#000000', borderRadius: 24, borderWidth: 2, borderColor: '#3b82f6', alignItems: 'center', marginVertical: 6 }, + style: { flexDirection: 'column', padding: 12, backgroundColor: '#000000', borderRadius: 24, borderWidth: 2, borderColor: '#398BFF', alignItems: 'center', marginVertical: 6 }, children: [ { id: 'w_icon', type: 'Icon', props: { iconSymbol: '❤️' }, style: { fontSize: 24, color: '#ef4444' } }, { id: 'w_hr', type: 'Text', props: { text: '138 BPM' }, style: { fontSize: 18, color: '#ffffff', fontWeight: 'bold', marginVertical: 2 } }, @@ -137,11 +137,11 @@ export const PREBUILT_TEMPLATES: { id: string; name: string; deviceTag: string; node: { id: 'tv_banner', type: 'Card', - style: { flexDirection: 'column', padding: 16, backgroundColor: '#0f172a', borderRadius: 12, borderWidth: 2, borderColor: '#3b82f6', marginVertical: 6 }, + style: { flexDirection: 'column', padding: 16, backgroundColor: '#080D1F', borderRadius: 12, borderWidth: 2, borderColor: '#398BFF', marginVertical: 6 }, children: [ { id: 'tv_badge', type: 'Badge', props: { text: '⭐ 4.9 | 4K Ultra HD' }, style: { backgroundColor: '#f59e0b', marginBottom: 6 } }, { id: 'tv_title', type: 'Text', props: { text: 'Cyberpunk Mobile Warfare' }, style: { fontSize: 20, color: '#ffffff', fontWeight: 'bold', marginBottom: 4 } }, - { id: 'tv_desc', type: 'Text', props: { text: 'Stream the ultimate high-framerate action series natively on Android TV.' }, style: { fontSize: 12, color: '#cbd5e1', marginBottom: 12 } }, + { id: 'tv_desc', type: 'Text', props: { text: 'Stream the ultimate high-framerate action series natively on Android TV.' }, style: { fontSize: 12, color: '#C7D5F1', marginBottom: 12 } }, { id: 'tv_btn', type: 'Button', props: { label: '▶ Play Feature' }, style: { backgroundColor: '#ef4444', padding: 10, borderRadius: 8, alignItems: 'center' } }, ], }, @@ -183,7 +183,7 @@ export const TemplateLibrary = () => { value={search} onChangeText={setSearch} placeholder="Search screens, headers, forms, cards..." - placeholderTextColor="#94a3b8" + placeholderTextColor="#9AADD6" style={styles.search} /> @@ -193,7 +193,7 @@ export const TemplateLibrary = () => { ))} - Save your own variation☆ Save selection as preset + Save your own variation☆ Save selection as preset {filtered.length} DESIGNS & COMPONENT KITS {filtered.map((item) => ( @@ -225,34 +225,34 @@ export const TemplateLibrary = () => { const styles = StyleSheet.create({ container: { flex: 1, padding: 12 }, - savePanel: { backgroundColor: '#0f172a', borderColor: '#334155', borderWidth: 1, borderRadius: 12, padding: 10, gap: 7, marginTop: 8 }, - saveTitle: { color: '#e2e8f0', fontSize: 11, fontWeight: '800' }, + savePanel: { backgroundColor: '#080D1F', borderColor: '#263B68', borderWidth: 1, borderRadius: 12, padding: 10, gap: 7, marginTop: 8 }, + saveTitle: { color: '#E5EDFF', fontSize: 11, fontWeight: '800' }, saveBtn: { backgroundColor: '#0f766e', padding: 10, borderRadius: 8, alignItems: 'center' }, - previewFrame: { height: 112, overflow: 'hidden', backgroundColor: '#f8fafc', borderRadius: 8, padding: 7, marginBottom: 9 }, + previewFrame: { height: 112, overflow: 'hidden', backgroundColor: '#F4F7FF', borderRadius: 8, padding: 7, marginBottom: 9 }, deleteBtn: { padding: 7 }, deleteText: { color: '#fca5a5', fontSize: 10, fontWeight: '700' }, - title: { fontSize: 17, fontWeight: '900', color: '#f8fafc', letterSpacing: 0.2 }, - subtitle: { fontSize: 11, color: '#94a3b8', marginTop: 4, marginBottom: 8, lineHeight: 16 }, - search: { backgroundColor: '#0f172a', color: '#f8fafc', borderWidth: 1, borderColor: '#334155', borderRadius: 10, paddingHorizontal: 12, paddingVertical: 10, fontSize: 12 }, + title: { fontSize: 17, fontWeight: '900', color: '#F4F7FF', letterSpacing: 0.2 }, + subtitle: { fontSize: 11, color: '#9AADD6', marginTop: 4, marginBottom: 8, lineHeight: 16 }, + search: { backgroundColor: '#080D1F', color: '#F4F7FF', borderWidth: 1, borderColor: '#263B68', borderRadius: 10, paddingHorizontal: 12, paddingVertical: 10, fontSize: 12 }, categoryRow: { flexDirection: 'row', gap: 7, paddingVertical: 10 }, - categoryChip: { borderWidth: 1, borderColor: '#475569', borderRadius: 18, paddingHorizontal: 11, paddingVertical: 7, backgroundColor: '#1e293b' }, - categoryActive: { backgroundColor: '#2563eb', borderColor: '#60a5fa' }, - categoryText: { color: '#cbd5e1', fontSize: 10, fontWeight: '600' }, + categoryChip: { borderWidth: 1, borderColor: '#344A76', borderRadius: 18, paddingHorizontal: 11, paddingVertical: 7, backgroundColor: '#111B35' }, + categoryActive: { backgroundColor: '#398BFF', borderColor: '#60a5fa' }, + categoryText: { color: '#C7D5F1', fontSize: 10, fontWeight: '600' }, categoryTextActive: { color: '#ffffff' }, - resultCount: { color: '#38bdf8', fontSize: 9, fontWeight: '800', letterSpacing: 0.8, marginTop: 2 }, - card: { backgroundColor: '#1e293b', padding: 13, borderRadius: 13, marginBottom: 10, borderWidth: 1, borderColor: '#334155' }, + resultCount: { color: '#38E8F2', fontSize: 9, fontWeight: '800', letterSpacing: 0.8, marginTop: 2 }, + card: { backgroundColor: '#111B35', padding: 13, borderRadius: 13, marginBottom: 10, borderWidth: 1, borderColor: '#263B68' }, cardHeader: { flexDirection: 'row', alignItems: 'center', gap: 9, marginBottom: 5 }, cardIcon: { fontSize: 23, width: 30, textAlign: 'center' }, cardMeta: { flex: 1 }, cardTitle: { fontSize: 13, fontWeight: '800', color: '#ffffff' }, - deviceTag: { fontSize: 9, color: '#38bdf8', fontWeight: '700', marginTop: 3 }, - cardDesc: { fontSize: 11, color: '#cbd5e1', marginBottom: 10, lineHeight: 16 }, + deviceTag: { fontSize: 9, color: '#38E8F2', fontWeight: '700', marginTop: 3 }, + cardDesc: { fontSize: 11, color: '#C7D5F1', marginBottom: 10, lineHeight: 16 }, actionRow: { flexDirection: 'row', flexWrap: 'wrap', gap: 7 }, - insertBtn: { backgroundColor: '#2563eb', paddingVertical: 9, paddingHorizontal: 11, borderRadius: 8, flexGrow: 1, alignItems: 'center' }, + insertBtn: { backgroundColor: '#398BFF', paddingVertical: 9, paddingHorizontal: 11, borderRadius: 8, flexGrow: 1, alignItems: 'center' }, insertBtnText: { color: '#ffffff', fontSize: 10, fontWeight: '800' }, - startBtn: { backgroundColor: '#334155', paddingVertical: 9, paddingHorizontal: 11, borderRadius: 8, flexGrow: 1, alignItems: 'center', borderWidth: 1, borderColor: '#64748b' }, - startBtnText: { color: '#e2e8f0', fontSize: 10, fontWeight: '800' }, - empty: { color: '#94a3b8', textAlign: 'center', padding: 24, fontSize: 12 }, + startBtn: { backgroundColor: '#263B68', paddingVertical: 9, paddingHorizontal: 11, borderRadius: 8, flexGrow: 1, alignItems: 'center', borderWidth: 1, borderColor: '#7186B4' }, + startBtnText: { color: '#E5EDFF', fontSize: 10, fontWeight: '800' }, + empty: { color: '#9AADD6', textAlign: 'center', padding: 24, fontSize: 12 }, }); @@ -260,8 +260,8 @@ const PresetMiniPreview: React.FC<{ node: ComponentNode }> = ({ node }) => { const children = node.children || []; const style: any = node.style || {}; const simple = node.type === 'Text' || node.type === 'Button' || children.length === 0; const label = node.props?.text || node.props?.label || node.props?.placeholder || node.type; - return - {simple && {String(label)}} + return + {simple && {String(label)}} {children.slice(0, 5).map(child => )} ; }; diff --git a/app/src/theme/themeConfig.ts b/app/src/theme/themeConfig.ts index 383c6f5..0d83b61 100644 --- a/app/src/theme/themeConfig.ts +++ b/app/src/theme/themeConfig.ts @@ -17,14 +17,14 @@ export const THEMES: Record = { dark: { id: 'dark', name: 'Dark Studio (Default)', - bgCanvas: '#0f172a', - bgSurface: '#1e293b', - primary: '#3b82f6', - secondary: '#64748b', - textPrimary: '#f8fafc', - textSecondary: '#94a3b8', - border: '#334155', - accent: '#8b5cf6', + bgCanvas: '#080D1F', + bgSurface: '#111B35', + primary: '#398BFF', + secondary: '#38E8F2', + textPrimary: '#F4F7FF', + textSecondary: '#9AADD6', + border: '#263B68', + accent: '#9065FF', }, light: { id: 'light', diff --git a/docs/DROIDUI_BRAND_GUIDELINES.md b/docs/DROIDUI_BRAND_GUIDELINES.md new file mode 100644 index 0000000..d2b3dfc --- /dev/null +++ b/docs/DROIDUI_BRAND_GUIDELINES.md @@ -0,0 +1,62 @@ +# DroidUI Brand System + +## Official identity +- Product: DroidUI +- Wordmark: DroidUI, with UI highlighted in cyan. +- Symbol: geometric six-sided device frame enclosing a friendly, abstract creative-robot face, with cyan/blue/violet gradient. +- Brand line: **DESIGN • BUILD • INSPIRE** +- Palette: Midnight Navy `#080D1F`, Electric Blue `#398BFF`, Cyan `#38E8F2`, Violet `#9065FF`, Cloud White `#F4F7FF`. + +## Interface direction +Use midnight navy as the default canvas, layered blue-black surfaces, fine cool-blue borders, cyan for active states and primary emphasis, and violet as a restrained secondary accent. Use consistent rounded cards, clear typography hierarchy, generous spacing, and high-contrast controls. Avoid emoji as substitutes for core product identity or navigation icons. + +## Logo usage +Use the shared `BrandMark` component for in-app identity. Keep the mark's aspect ratio and gradient. Do not recolor, crop, stretch, or replace it with text glyphs. The wordmark may be hidden only where space requires a symbol-only treatment. + +## Launch experience +The in-app launch overlay uses the same mark and palette, a brief scale/glow reveal, the brand line, and a smooth fade into the editor. The native OS splash remains a solid midnight-navy surface while JavaScript initializes. + +## Implementation notes +The logo is rendered as vector paths with `react-native-svg`, already present in the project's dependency baseline. This avoids introducing a new runtime dependency. A dedicated vector source and app-ready raster launcher exports can be added in the app-icon phase. + + +# DroidUI Studio Interface System + +This document extends the official brand identity into the editor experience. The brand should be visible in every workspace surface, not only the launch screen. + +## Visual principles +- **Midnight workspace:** use `#080D1F` for the primary application canvas and deep editor backgrounds. +- **Layered panels:** use `#111B35` for cards, toolbars, inputs, and secondary surfaces. +- **Electric action:** use `#398BFF` for primary actions, selection states, and key controls. +- **Cyan focus:** use `#38E8F2` for active tabs, section labels, focus indicators, and small highlights. +- **Violet accent:** use `#9065FF` for secondary brand emphasis and creative accents. +- **Readable text:** use `#F4F7FF` for primary text and `#9AADD6` for supporting text. +- **Quiet boundaries:** use `#263B68` for panel edges and dividers. + +## Component treatment +- Cards and studio panels use layered navy surfaces, fine blue borders, and consistent rounded corners. +- Inputs use a deep navy field, a clear border, and a high-contrast focus treatment. +- Selected tabs and selected inspector controls use cyan/blue accents rather than generic grey. +- Primary actions use electric blue; destructive actions retain a clear warning/red treatment. +- Keep spacing, labels, and section hierarchy consistent. Avoid dense clusters of controls without grouping. + +## Covered surfaces in this pass +- Main editor header, workspace actions, panel navigation, and export modal. +- Component toolbar and quick-add controls. +- Property inspector and selected-node controls. +- Template library, preset cards, search, category chips, and save actions. +- Asset library, import controls, asset rows, and icon gallery. +- Layer hierarchy and selection state. +- Theme manager and design-system preset studio. + +## Theme behavior +The DroidUI Midnight palette is the default dark identity. Light, Material You, and Cyberpunk remain available as alternate themes; they should remain usable and should not be silently replaced by the brand default. + +## Maintenance rule +When adding a new studio or editor panel, use this palette and component treatment from the start. Do not introduce unrelated one-off navy/blue hex values unless a state has a clear semantic reason (for example, warning, success, or destructive feedback). + + +## Specialist studio coverage +The same palette is applied across the specialist editor studios, including accessibility, native Android export, CI/CD generation, deep links and app icons, device detection, typography, icon gallery, localization, performance profiling, press states, project file I/O, project management, property presets, release/versioning, sound effects, spacing/alignment, splash screen design, store metadata, SVG importing, theme import/export, transitions, unit-test generation, and viewport selection. + +These are presentation-only color-token updates. They must not change the underlying editor store actions, generated source output, export formats, or platform behavior. Preserve semantic warning, error, and success colors where they communicate status. New controls should maintain readable contrast and visible selected/focused states.