@fluid-topics/ft-reader-toc 1.1.14 → 1.1.15

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.
@@ -9,6 +9,8 @@ export declare const FtReaderTocCssVariables: {
9
9
  iconFontSize: import("@fluid-topics/ft-wc-utils").FtCssVariable;
10
10
  treeNodeIconColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
11
11
  leafNodeIconColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
12
+ nodeButtonBackgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
12
13
  expandCollapseAllButtonColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
14
+ expandCollapseAllButtonBackgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
13
15
  };
14
16
  export declare const styles: import("lit").CSSResult;
@@ -13,7 +13,9 @@ export const FtReaderTocCssVariables = {
13
13
  iconFontSize: FtCssVariableFactory.create("--ft-reader-toc-icon-font-size", "", "SIZE", "16px"),
14
14
  treeNodeIconColor: FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color", "", "COLOR", designSystemVariables.colorPrimary),
15
15
  leafNodeIconColor: FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color", "", "COLOR", designSystemVariables.colorPrimary),
16
+ nodeButtonBackgroundColor: FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color", "", "COLOR", designSystemVariables.colorSurface),
16
17
  expandCollapseAllButtonColor: FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color", "", "COLOR", designSystemVariables.colorPrimary),
18
+ expandCollapseAllButtonBackgroundColor: FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color", "", "COLOR", designSystemVariables.colorSurface),
17
19
  };
18
20
  // language=CSS
19
21
  export const styles = css `
@@ -48,10 +50,12 @@ export const styles = css `
48
50
 
49
51
  .ft-reader-toc--tree-node-button {
50
52
  ${setVariable(FtButtonCssVariables.color, FtReaderTocCssVariables.treeNodeIconColor)};
53
+ ${setVariable(FtButtonCssVariables.backgroundColor, FtReaderTocCssVariables.nodeButtonBackgroundColor)};
51
54
  }
52
55
 
53
56
  .ft-reader-toc--expand-collapse-all-button {
54
57
  ${setVariable(FtButtonCssVariables.color, FtReaderTocCssVariables.expandCollapseAllButtonColor)};
58
+ ${setVariable(FtButtonCssVariables.backgroundColor, FtReaderTocCssVariables.expandCollapseAllButtonBackgroundColor)};
55
59
  }
56
60
 
57
61
  .ft-reader-toc--toggle-container {