BottomBar Color SDK
Match your app's bottom bar color with your design theme.
Written By despia
Last updated About 1 year ago
SDK Usage
window.despia = `bottombarcolor://255, 255, 255`
Examples
Light Mode
// White bottom bar
window.despia = `bottombarcolor://255, 255, 255`
Dark Mode
// Dark bottom bar
window.despia = `bottombarcolor://33, 33, 33`
Dynamic Colors
// Use variables to change colors
const background_rgb = "255, 255, 255"
window.despia = `bottombarcolor://${background_rgb}`
Tips
Use RGB values (e.g., "255, 255, 255")
Update colors when switching themes
Test with both light and dark content
Need help? Email us at support@despia.com