Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(splash-screen): add config option for dark mode background color #174

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kendyl93
Copy link

@kendyl93 kendyl93 commented Jan 5, 2021

I've added a new backgroundColorDarkMode value to allow you to edit the splash screen background color with dark mode enabled on your device. With the changes below you will be able to edit the background color directly from the capacitor.config.json file, for example:

{
  "appId": "someID",
  "appName": "some name",
  "bundledWebRuntime": false,
  "npmClient": "npm",
  "webDir": "www",
  "cordova": {},
  "plugins": {
    "SplashScreen": {
      "backgroundColor": "#ffffff",
      "backgroundColorDarkMode": "#000000"
    }
  }
}

@imhoffd
Copy link
Contributor

imhoffd commented Jan 8, 2021

@kendyl93 We may wait until 1.0.0 of the new splash screen plugin is released to include this (which will happen about when Capacitor 3 is released). Thanks for your patience!

@jcesarmobile jcesarmobile changed the title Support splash screen background color for dark mode. feat(splash-screen): add config option for dark mode background color May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants