@fluid-topics/ft-reader-title 1.3.14 → 1.3.16

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.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { css, html, nothing } from "lit";
8
8
  import { redux } from "@fluid-topics/ft-wc-utils";
9
9
  import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
10
- import { FtTypography } from "@fluid-topics/ft-typography";
10
+ import { FtTypography, FtTypographyTitleCssVariables } from "@fluid-topics/ft-typography";
11
11
  import { FtSkeleton } from "@fluid-topics/ft-skeleton";
12
12
  class FtReaderTitle extends FtReaderComponent {
13
13
  render() {
@@ -28,16 +28,16 @@ class FtReaderTitle extends FtReaderComponent {
28
28
  }
29
29
  FtReaderTitle.elementDefinitions = {
30
30
  "ft-typography": FtTypography,
31
- "ft-skeleton": FtSkeleton
31
+ "ft-skeleton": FtSkeleton,
32
32
  };
33
- //language=css
33
+ // language=css
34
34
  FtReaderTitle.styles = css `
35
35
  [part="title"]::part(text) {
36
36
  margin: unset;
37
37
  }
38
38
 
39
39
  ft-skeleton {
40
- height: var(--ft-typography-title-font-size);
40
+ height: ${FtTypographyTitleCssVariables.fontSize};
41
41
  }
42
42
  `;
43
43
  __decorate([