cmdesigns 0.0.12 → 0.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmdesigns",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "An attempt at putting common chrissx Media design elements into a library.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "astro-favicon": "^0.0.5"
19
19
  },
20
20
  "devDependencies": {
21
- "astro": "^3.0.13"
21
+ "astro": "^3.1.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "astro": "^3.0.0-beta.0"
@@ -9,9 +9,10 @@ export interface Props {
9
9
  copyrightstart: any;
10
10
  // TODO: support for copyrightend
11
11
  description?: string;
12
+ themecolor?: string;
12
13
  }
13
14
 
14
- let { title, favicon, lang, copyrightstart, description } = Astro.props;
15
+ let { title, favicon, lang, copyrightstart, description, themecolor } = Astro.props;
15
16
  ---
16
17
 
17
18
  <!DOCTYPE html>
@@ -19,11 +20,12 @@ let { title, favicon, lang, copyrightstart, description } = Astro.props;
19
20
  <head>
20
21
  <meta charset="UTF-8" />
21
22
  {description ? <meta name="description" content={description} /> : undefined}
22
- <!-- TODO: add theme-color -->
23
+ {themecolor ? <meta name="theme-color" content={themecolor} /> : undefined}
23
24
  <meta name="viewport" content="width=device-width" />
24
25
  <Favicon src={favicon} />
25
26
  <meta name="generator" content={Astro.generator} />
26
27
  <title>{title}</title>
28
+ <slot name="head" />
27
29
  </head>
28
30
  <body>
29
31
  <slot />