@redocly/theme 0.19.9 → 0.20.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.
package/lib/config.d.ts CHANGED
@@ -847,6 +847,14 @@ export declare const themeConfigSchema: {
847
847
  };
848
848
  readonly additionalProperties: false;
849
849
  };
850
+ readonly seo: {
851
+ readonly type: "object";
852
+ readonly properties: {
853
+ readonly title: {
854
+ readonly type: "string";
855
+ };
856
+ };
857
+ };
850
858
  readonly scripts: {
851
859
  readonly type: "object";
852
860
  readonly properties: {
package/lib/config.js CHANGED
@@ -370,6 +370,12 @@ exports.themeConfigSchema = {
370
370
  } }, hideConfigSchema.properties),
371
371
  additionalProperties: false,
372
372
  },
373
+ seo: {
374
+ type: 'object',
375
+ properties: {
376
+ title: { type: 'string' },
377
+ },
378
+ },
373
379
  scripts: {
374
380
  type: 'object',
375
381
  properties: {
@@ -812,7 +812,7 @@ const pages = (0, styled_components_1.css) `
812
812
  --page-404-description-text-color: var(--text-secondary);
813
813
  --page-404-description-font-size: 1.5em; // @presenter FontSize
814
814
  --page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
815
- --page-404-description-line-height: 1 // @presenter LineHeight
815
+ --page-404-description-line-height: 1; // @presenter LineHeight
816
816
  --page-404-description-margin: 0px; // @presenter Spacing
817
817
 
818
818
  --page-404-button-margin: 4em; // @presenter Spacing
@@ -833,7 +833,7 @@ const pages = (0, styled_components_1.css) `
833
833
  --page-403-header-margin: 0; // @presenter Spacing
834
834
 
835
835
  --page-403-description-text-color: var(--text-secondary);
836
- --page-403-description-font-size: 1em; // @presenter FontSize
836
+ --page-403-description-font-size: 1.5em; // @presenter FontSize
837
837
  --page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
838
838
  --page-403-description-line-height: 1; // @presenter LineHeight
839
839
  --page-403-description-margin: 0; // @presenter Spacing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.19.9",
3
+ "version": "0.20.0",
4
4
  "description": "Shared UI components lib",
5
5
  "keywords": [
6
6
  "theme",
package/src/config.ts CHANGED
@@ -424,6 +424,12 @@ export const themeConfigSchema = {
424
424
  },
425
425
  additionalProperties: false,
426
426
  },
427
+ seo: {
428
+ type: 'object',
429
+ properties: {
430
+ title: { type: 'string' },
431
+ },
432
+ },
427
433
  scripts: {
428
434
  type: 'object',
429
435
  properties: {
@@ -823,7 +823,7 @@ const pages = css`
823
823
  --page-404-description-text-color: var(--text-secondary);
824
824
  --page-404-description-font-size: 1.5em; // @presenter FontSize
825
825
  --page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
826
- --page-404-description-line-height: 1 // @presenter LineHeight
826
+ --page-404-description-line-height: 1; // @presenter LineHeight
827
827
  --page-404-description-margin: 0px; // @presenter Spacing
828
828
 
829
829
  --page-404-button-margin: 4em; // @presenter Spacing
@@ -844,7 +844,7 @@ const pages = css`
844
844
  --page-403-header-margin: 0; // @presenter Spacing
845
845
 
846
846
  --page-403-description-text-color: var(--text-secondary);
847
- --page-403-description-font-size: 1em; // @presenter FontSize
847
+ --page-403-description-font-size: 1.5em; // @presenter FontSize
848
848
  --page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
849
849
  --page-403-description-line-height: 1; // @presenter LineHeight
850
850
  --page-403-description-margin: 0; // @presenter Spacing