@docpensieve/shared 0.1.3 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docpensieve/shared",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Utilities, constants and errors shared by the DocPensieve packages",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/constants.js CHANGED
@@ -25,6 +25,12 @@ export const CONFIG_FILENAME = 'docpensieve.config.mjs';
25
25
  */
26
26
  export const CONFIG_FILENAMES = Object.freeze([CONFIG_FILENAME, 'docpensieve.config.js']);
27
27
 
28
+ /**
29
+ * Folder of the project's own stylesheets, at its root. Every `.css` file in
30
+ * it is appended to the site's stylesheet, after the theme's.
31
+ */
32
+ export const THEME_FOLDER = 'theme';
33
+
28
34
  /** Default output directory of a build. */
29
35
  export const DEFAULT_OUT_DIR = 'dist';
30
36
 
@@ -66,6 +72,7 @@ export const DEFAULT_THEME_CLASSES = Object.freeze({
66
72
  skip: 'dp-skip',
67
73
  header: 'dp-header',
68
74
  brand: 'dp-brand',
75
+ brandLogo: 'dp-brand-logo',
69
76
  versions: 'dp-versions',
70
77
  versionsList: 'dp-versions-list',
71
78
  shell: 'dp-shell',
@@ -21,6 +21,11 @@ export declare const CONFIG_FILENAME = "docpensieve.config.mjs";
21
21
  * @type {readonly string[]}
22
22
  */
23
23
  export declare const CONFIG_FILENAMES: readonly string[];
24
+ /**
25
+ * Folder of the project's own stylesheets, at its root. Every `.css` file in
26
+ * it is appended to the site's stylesheet, after the theme's.
27
+ */
28
+ export declare const THEME_FOLDER = "theme";
24
29
  /** Default output directory of a build. */
25
30
  export declare const DEFAULT_OUT_DIR = "dist";
26
31
  /** Version manifest written by every build. */
@@ -56,6 +61,7 @@ export declare const DEFAULT_THEME_CLASSES: Readonly<{
56
61
  skip: "dp-skip";
57
62
  header: "dp-header";
58
63
  brand: "dp-brand";
64
+ brandLogo: "dp-brand-logo";
59
65
  versions: "dp-versions";
60
66
  versionsList: "dp-versions-list";
61
67
  shell: "dp-shell";