@archilogic/floor-plan-sdk 5.0.0-beta.12 → 5.0.0-beta.13

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/fpe.d.ts CHANGED
@@ -860,7 +860,7 @@ interface StartupOptions {
860
860
  /** toggle overlaying UI elements */
861
861
  ui?: UI;
862
862
  /** floor plan theming */
863
- theme?: Theme;
863
+ theme?: FloorPlanTheme;
864
864
  /** mapping table for custom space labels */
865
865
  spaceLabelMapping?: SpaceLabelMapping;
866
866
  /** set the unit system */
@@ -871,7 +871,7 @@ interface StartupOptions {
871
871
  /**
872
872
  * This is the place to give the floor plan your own style
873
873
  */
874
- type Theme = {
874
+ type FloorPlanTheme = {
875
875
  /** define the background */
876
876
  background?: BackgroundOptions;
877
877
  /** wall contours are merged to one continuous outline, needed if you want white walls */
@@ -880,6 +880,7 @@ type Theme = {
880
880
  showAssetTextures?: boolean;
881
881
  fontFamily?: string;
882
882
  elements?: {
883
+ byId?: Record<string, ElementTheme>;
883
884
  floorPlan?: {
884
885
  grayscale: boolean;
885
886
  };