Closed Edmund1645 closed 5 years ago
Is it possible to make the backgroundColor field value vary based on the value of a CSS variable I'm using?
backgroundColor
{ // pwa plugin use: 'gridsome-plugin-pwa', options: { title: 'The Ninja Blog', startUrl: '/', display: 'standalone', startusBarStyle: 'default', manifestPath: 'manifest.json', serviceWorkerPath: 'service-worker.js', shortName: 'The Ninja Blog', themeColor: '#ff6363', backgroundColor: 'var(--bg-color)', icon: '/static/icon.png' } }
I have dark mode implemented so I want to make the background also black.
I guess not, I just tested it,.
Is it possible to make the
backgroundColor
field value vary based on the value of a CSS variable I'm using?I have dark mode implemented so I want to make the background also black.