You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`themeModule`|`null`| JSON theme object, use the `require` syntax to include it in options. Make sure the package you're requiring is installed in your dependencies. |
24
-
|`themeModulePath`|`null`| A string package name that the plugin will require for you. Make sure the package you're requiring is installed in your dependencies. |
25
-
|`moduleExportName`|`default`| The name of the export from the theme module, applies to `themeModule` or `themeModulePath` resolution depending which one you're using |
26
23
|`prismPreset`|`null`| The name of the preset you'd like to use to style code blocks inside your markdown files. The available presets can be found in the [theme-ui docs](https://theme-ui.com/packages/prism/). You can also use a package string of your own choosing. |
27
24
28
-
> Note that if your theme is exported at the top level, the `moduleExportName` of `default` is bypassed. See [theme-ui/preset-deep](https://github.com/system-ui/theme-ui/blob/master/packages/preset-deep/src/index.ts).
29
-
30
25
The theme module you include in options is considered your base theme. Any further customization and shadowing will be merged with it.
31
26
32
27
### Using options
@@ -37,8 +32,6 @@ module.exports = {
37
32
plugins: [
38
33
{ resolve:'gatsby-plugin-theme-ui',
39
34
options: {
40
-
themeModulePath:'@theme-ui/preset-funk',
41
-
// or themeModule: require('@theme-ui/preset-funk')
0 commit comments