cmdesigns 0.0.26 → 0.1.1

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.26",
3
+ "version": "0.1.1",
4
4
  "description": "An attempt at putting common chrissx Media design elements into a library.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -15,14 +15,14 @@
15
15
  "index.ts"
16
16
  ],
17
17
  "dependencies": {
18
- "astro-favicon": "^0.0.5",
18
+ "astro-favicon": "^0.1.0",
19
19
  "normalize.css": "^8.0.1"
20
20
  },
21
21
  "devDependencies": {
22
- "astro": "^3.1.0"
22
+ "astro": "^4.0.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "astro": "^3.0.0-beta.0"
25
+ "astro": "^4.0.0-beta.0"
26
26
  },
27
27
  "license": "MIT"
28
28
  }
@@ -1,16 +1,11 @@
1
1
  ---
2
2
  import Favicon from "astro-favicon";
3
- import Footer from "./Footer.astro";
4
3
  import "normalize.css/normalize.css";
5
4
 
6
5
  export interface Props {
7
6
  title: string;
8
7
  favicon?: ImageMetadata | string;
9
8
  lang: string;
10
- copyrightstart: number;
11
- copyrightend?: number;
12
- rightsholder?: string;
13
- repo?: `https://git${string}`;
14
9
  description?: string;
15
10
  themecolor?: string;
16
11
  }
@@ -19,10 +14,6 @@ let {
19
14
  title,
20
15
  favicon,
21
16
  lang,
22
- copyrightstart,
23
- copyrightend,
24
- rightsholder,
25
- repo,
26
17
  description,
27
18
  themecolor,
28
19
  } = Astro.props;
@@ -44,14 +35,6 @@ let {
44
35
  </head>
45
36
  <body>
46
37
  <slot />
47
- <Footer
48
- start={copyrightstart}
49
- end={copyrightend}
50
- rightsholder={rightsholder}
51
- link={repo}
52
- >
53
- <slot name="footer" />
54
- </Footer>
55
38
  </body>
56
39
  </html>
57
40
  <style is:global>
@@ -61,6 +44,7 @@ let {
61
44
  --cmblack: 32, 32, 32;
62
45
  --transblue: 96, 208, 255;
63
46
  --transpink: 255, 176, 192;
47
+ --fgorange: 192, 144, 64;
64
48
 
65
49
  --unifont: Unifont, Menlo, Monaco, "Lucida Console", "Liberation Mono",
66
50
  "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace;
package/src/FGText.astro CHANGED
@@ -9,8 +9,7 @@
9
9
  }
10
10
 
11
11
  .f {
12
- /* TODO: fgorange */
13
- color: #c09040;
12
+ color: rgb(var(--fgorange));
14
13
  }
15
14
 
16
15
  .g {