-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I am unable to overwrite themeStorageKey value to my custom value my-key. Somehow, it is always theme by default π
However, I have noticed that there is a fix in PR #2. This should actually solve the issue. So I checked π under node_modules/gatsby-plugin-theme-switcher. Maybe I am wrong but seem like library files are generated before PR #2 merged.
Is there any workaround for this?
gatsby-config.js
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-theme-switcher',
options: {
defaultDarkTheme: 'theme-hello',
defaultLightTheme: 'theme-hello',
themeStorageKey: 'my-key',
minify: true,
}
},
...,
],
};rileyjshaw
Metadata
Metadata
Assignees
Labels
No labels
