Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
088222d
feat: add official DroidUI brand mark and animated splash
CodePhrex Nov 5, 2026
acc294f
docs: define official DroidUI brand and UI guidelines
CodePhrex Nov 5, 2026
b28a4ae
feat: apply DroidUI brand identity across app shell
CodePhrex Nov 5, 2026
ac06ee8
style: align default dark theme with DroidUI brand palette
CodePhrex Nov 5, 2026
1228be3
style: set native splash background to DroidUI midnight navy
CodePhrex Nov 5, 2026
5ea0f6d
style: align DesignSystemStudio.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
222d908
style: align TemplateLibrary.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
61860ea
style: align PropertyInspector.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
496e293
style: align ThemeManager.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
b520eee
style: align AssetPickerStudio.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
627eff3
style: align LayerReorderManager.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
5b8f0ce
style: align ComponentToolbar.tsx with DroidUI brand system
CodePhrex Nov 5, 2026
8ad1999
style: finish DroidUI branded workspace shell
CodePhrex Nov 5, 2026
7486096
docs: extend DroidUI brand guidelines to editor surfaces
CodePhrex Nov 5, 2026
27d5da9
style: apply DroidUI brand palette to AccessibilityStudio.tsx
CodePhrex Nov 5, 2026
d9fb791
style: apply DroidUI brand palette to AndroidProjectExportStudio.tsx
CodePhrex Nov 5, 2026
9293280
style: apply DroidUI brand palette to CICDPipelineStudio.tsx
CodePhrex Nov 5, 2026
618f52a
style: apply DroidUI brand palette to CanvasRenderer.tsx
CodePhrex Nov 5, 2026
8687409
style: apply DroidUI brand palette to ComponentSearchFilter.tsx
CodePhrex Nov 5, 2026
dcbdddc
style: apply DroidUI brand palette to DeepLinkAndIconStudio.tsx
CodePhrex Nov 5, 2026
e8624a0
style: apply DroidUI brand palette to DeviceDetectionStudio.tsx
CodePhrex Nov 5, 2026
d45e1fd
style: apply DroidUI brand palette to FontLibraryStudio.tsx
CodePhrex Nov 5, 2026
5faa38a
style: apply DroidUI brand palette to IconGalleryStudio.tsx
CodePhrex Nov 5, 2026
fb1656e
style: apply DroidUI brand palette to LiveCodePreview.tsx
CodePhrex Nov 5, 2026
90e10a1
style: apply DroidUI brand palette to LocalizationStudio.tsx
CodePhrex Nov 5, 2026
07c154f
style: apply DroidUI brand palette to PerformanceProfilerStudio.tsx
CodePhrex Nov 5, 2026
afe87d0
style: apply DroidUI brand palette to PressStateStudio.tsx
CodePhrex Nov 5, 2026
654d4b8
style: apply DroidUI brand palette to ProjectFileIOStudio.tsx
CodePhrex Nov 5, 2026
d46f705
style: apply DroidUI brand palette to ProjectManager.tsx
CodePhrex Nov 5, 2026
ab08b5f
style: apply DroidUI brand palette to PropertyPresetsStudio.tsx
CodePhrex Nov 5, 2026
0cf7441
style: apply DroidUI brand palette to ReleaseVersionStudio.tsx
CodePhrex Nov 5, 2026
827bd98
style: apply DroidUI brand palette to SoundEffectsStudio.tsx
CodePhrex Nov 5, 2026
47f56d8
style: apply DroidUI brand palette to SpacingAlignmentStudio.tsx
CodePhrex Nov 5, 2026
5824c22
style: apply DroidUI brand palette to SplashScreenStudio.tsx
CodePhrex Nov 5, 2026
73cacb0
style: apply DroidUI brand palette to StoreMetadataStudio.tsx
CodePhrex Nov 5, 2026
67dfb80
style: apply DroidUI brand palette to SvgImporterStudio.tsx
CodePhrex Nov 5, 2026
4d1bafe
style: apply DroidUI brand palette to ThemeExportImportStudio.tsx
CodePhrex Nov 5, 2026
6d7dcb8
style: apply DroidUI brand palette to TransitionsStudio.tsx
CodePhrex Nov 5, 2026
7812936
style: apply DroidUI brand palette to UnitTestGeneratorStudio.tsx
CodePhrex Nov 5, 2026
86e8d03
style: apply DroidUI brand palette to ViewportSelector.tsx
CodePhrex Nov 5, 2026
0b7a047
docs: document branded specialist studio coverage
CodePhrex Nov 5, 2026
6330331
ci: run inspection gates on DroidUI editor feature branch
CodePhrex Nov 5, 2026
259570e
ci: run Android fixture build on DroidUI editor feature branch
CodePhrex Nov 5, 2026
0ca1a36
ci: enable DroidUI feature branch APK build and repair verification step
CodePhrex Nov 5, 2026
d13e688
ci: execute DroidUI validation on editor feature branch pushes
CodePhrex Nov 5, 2026
305b801
ci: execute DroidUI validation on editor feature branch pushes
CodePhrex Nov 5, 2026
6439a47
fix: use Expo Android resource helper for splash background
CodePhrex Nov 5, 2026
75eeeb7
ci: use supported Expo prebuild flags
CodePhrex Nov 5, 2026
50ab084
ci: verify APK label against DroidUI app identity
CodePhrex Nov 5, 2026
7327e5e
fix: keep brand splash animation stable across parent renders
CodePhrex Nov 5, 2026
b6bf351
ci: increase Gradle heap and limit Android build workers
CodePhrex Nov 5, 2026
e2059c0
ci: increase Gradle heap and limit Android build workers
CodePhrex Nov 5, 2026
5031970
fix: correct Gradle memory configuration in Android CI
CodePhrex Nov 5, 2026
effe3ad
fix: correct Gradle memory configuration in Android CI
CodePhrex Nov 5, 2026
b76d2c2
ci(android): bundle JS in installable release APK
CodePhrex Nov 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions .github/workflows/android-generated-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
52 changes: 37 additions & 15 deletions .github/workflows/droidui-dev-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/inspection-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
41 changes: 22 additions & 19 deletions app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -65,6 +66,7 @@ export default function App() {
const [activeViewport, setActiveViewport] = useState<ViewportMode>('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<ViewportMode, 'detected_device'>] || VIEWPORTS.galaxy_s24_ultra);

Expand Down Expand Up @@ -100,33 +102,33 @@ export default function App() {
{/* Studio Top Navigation Header Bar */}
<View style={[styles.navbar, { backgroundColor: theme.bgSurface, borderColor: theme.border }]}>
<View style={styles.brandGroup}>
<Text style={[styles.logoTitle, { color: theme.textPrimary }]}>◈ DroidUI Studio</Text>
<View style={[styles.projectBadge, { backgroundColor: isLightMode ? '#e2e8f0' : '#334155' }]}>
<BrandMark size={34} compact />
<View style={[styles.projectBadge, { backgroundColor: isLightMode ? '#E5EDFF' : '#111B35' }]}>
<Text style={[styles.projectBadgeText, { color: theme.textSecondary }]}>{currentProjectName}</Text>
</View>
</View>

<View style={styles.navActions}>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#e2e8f0' : '#334155' }]} onPress={() => setActiveTab('projects')}>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#E5EDFF' : '#111B35' }]} onPress={() => setActiveTab('projects')}>
<Text style={[styles.navBtnText, { color: theme.textPrimary }]}>📂 Open</Text>
</TouchableOpacity>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#e2e8f0' : '#334155' }]} onPress={handleSaveProject}>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#E5EDFF' : '#111B35' }]} onPress={handleSaveProject}>
<Text style={[styles.navBtnText, { color: theme.textPrimary }]}>💾 Save</Text>
</TouchableOpacity>
{/* Light / Dark UI Toggle Switch */}
<TouchableOpacity
style={[styles.themeToggleBtn, { backgroundColor: isLightMode ? '#3b82f6' : '#334155', borderColor: theme.border }]}
style={[styles.themeToggleBtn, { backgroundColor: isLightMode ? '#398BFF' : '#111B35', borderColor: theme.border }]}
onPress={toggleThemeMode}
>
<Text style={styles.themeToggleText}>
{isLightMode ? '☀️ Light Mode' : '🌙 Dark Mode'}
</Text>
</TouchableOpacity>

<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#e2e8f0' : '#334155' }]} onPress={undo}>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#E5EDFF' : '#111B35' }]} onPress={undo}>
<Text style={[styles.navBtnText, { color: theme.textPrimary }]}>↩ Undo</Text>
</TouchableOpacity>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#e2e8f0' : '#334155' }]} onPress={redo}>
<TouchableOpacity style={[styles.navBtn, { backgroundColor: isLightMode ? '#E5EDFF' : '#111B35' }]} onPress={redo}>
<Text style={[styles.navBtnText, { color: theme.textPrimary }]}>↪ Redo</Text>
</TouchableOpacity>
<TouchableOpacity style={[styles.exportBtn, { backgroundColor: theme.primary }]} onPress={() => handleExport('tsx')}>
Expand All @@ -144,8 +146,8 @@ export default function App() {
<View style={styles.canvasArea}>
<ViewportSelector activeViewport={activeViewport} onSelectViewport={setActiveViewport} />
<ScrollView horizontal contentContainerStyle={{ flexGrow: 1, justifyContent: 'center' }}>
<View style={[styles.deviceFrame, { width: currentVP.width, minHeight: currentVP.height, borderColor: theme.border, backgroundColor: isLightMode ? '#f1f5f9' : 'rgba(0,0,0,0.3)' }]}>
<View style={[styles.deviceNotch, { backgroundColor: isLightMode ? '#cbd5e1' : '#334155' }]} />
<View style={[styles.deviceFrame, { width: currentVP.width, minHeight: currentVP.height, borderColor: theme.border, backgroundColor: isLightMode ? '#101A36' : 'rgba(0,0,0,0.3)' }]}>
<View style={[styles.deviceNotch, { backgroundColor: isLightMode ? '#cbd5e1' : '#111B35' }]} />
<CanvasRenderer node={rootNode} />
</View>
</ScrollView>
Expand Down Expand Up @@ -291,41 +293,42 @@ export default function App() {
<TouchableOpacity style={styles.presetBtn} onPress={() => handleExport('store')}><Text style={styles.presetBtnText}>Play Store Spec</Text></TouchableOpacity>
<TouchableOpacity style={styles.presetBtn} onPress={() => handleExport('droidui')}><Text style={styles.presetBtnText}>.dui Package</Text></TouchableOpacity>
</View>
<ScrollView style={[styles.codeScroll, { backgroundColor: isLightMode ? '#f1f5f9' : '#1e293b' }]}>
<Text style={[styles.codeText, { color: isLightMode ? '#0284c7' : '#38bdf8' }]}>{codeOutput}</Text>
<ScrollView style={[styles.codeScroll, { backgroundColor: isLightMode ? '#101A36' : '#1e293b' }]}>
<Text style={[styles.codeText, { color: isLightMode ? '#0284c7' : '#38E8F2' }]}>{codeOutput}</Text>
</ScrollView>
<TouchableOpacity style={[styles.closeBtn, { backgroundColor: theme.primary }]} onPress={() => setModalVisible(false)}>
<Text style={styles.closeBtnText}>Close Modal</Text>
</TouchableOpacity>
</View>
</View>
</Modal>
{showBrandSplash && <BrandSplash onFinish={() => setShowBrandSplash(false)} />}
</SafeAreaView>
);
}

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%' },
Expand All @@ -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' },
});
2 changes: 1 addition & 1 deletion app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"package": "com.codephrex.droidstudio"
},
"splash": {
"backgroundColor": "#0B1020"
"backgroundColor": "#080D1F"
},
"plugins": [
"./plugins/withAndroidSplashBackground"
Expand Down
24 changes: 10 additions & 14 deletions app/plugins/withAndroidSplashBackground.js
Original file line number Diff line number Diff line change
@@ -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;
});
};
22 changes: 11 additions & 11 deletions app/src/components/AccessibilityStudio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const AccessibilityStudio = () => {
<TextInput
style={styles.textInput}
placeholder="e.g., Submit Order Button"
placeholderTextColor="#64748b"
placeholderTextColor="#7186B4"
value={currentAcc.accessibilityLabel || ''}
onChangeText={(txt) => handleUpdate({ accessibilityLabel: txt })}
/>
Expand All @@ -91,7 +91,7 @@ export const AccessibilityStudio = () => {
<TextInput
style={styles.textInput}
placeholder="e.g., Double tap to finalize purchase"
placeholderTextColor="#64748b"
placeholderTextColor="#7186B4"
value={currentAcc.accessibilityHint || ''}
onChangeText={(txt) => handleUpdate({ accessibilityHint: txt })}
/>
Expand Down Expand Up @@ -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' },
});
Loading