docusaurus-plugin-glossary 2.1.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/preset.js +2 -2
  2. package/package.json +1 -1
package/dist/preset.js CHANGED
@@ -138,8 +138,8 @@ export default function preset(context, options = {}) {
138
138
  plugins.push(['@docusaurus/plugin-debug', {}]);
139
139
  return {
140
140
  themes: [
141
- // Return classic theme - use string instead of require.resolve so it resolves from user's node_modules
142
- '@docusaurus/theme-classic',
141
+ // Pass theme options (including customCss) to theme-classic
142
+ ['@docusaurus/theme-classic', theme || {}],
143
143
  ],
144
144
  plugins,
145
145
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docusaurus-plugin-glossary",
3
- "version": "2.1.0",
3
+ "version": "3.0.0",
4
4
  "description": "A Docusaurus plugin for creating and managing glossary terms with auto-generated pages and inline tooltips",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",