@plasmicpkgs/antd5 0.0.67 → 0.0.68

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.
package/dist/antd.esm.js CHANGED
@@ -400,10 +400,12 @@ function themeToAntdConfig(opts) {
400
400
  controlHeight,
401
401
  sizeUnit,
402
402
  sizeStep,
403
- wireframe
403
+ wireframe,
404
+ defaultDark = false
404
405
  } = opts;
405
406
  return {
406
407
  theme: {
408
+ algorithm: defaultDark ? theme.darkAlgorithm : void 0,
407
409
  token: Object.fromEntries(
408
410
  Object.entries({
409
411
  colorTextBase,
@@ -815,6 +817,10 @@ const registerConfigProvider = makeRegisterGlobalContext(
815
817
  type: "boolean",
816
818
  defaultValue: false
817
819
  },
820
+ defaultDark: {
821
+ type: "boolean",
822
+ defaultValue: false
823
+ },
818
824
  themeStyles: {
819
825
  type: "themeStyles"
820
826
  }