slidetake 0.1.0 → 0.2.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.
@@ -15,6 +15,8 @@
15
15
  base where relative images resolve, usually the page's own address
16
16
  trail [{label, url}, …]: the header, from the site down to the deck's section
17
17
  themeKey the localStorage key the site keeps light / dark / auto under (optional)
18
+ colors the site's colours instead of Slidetake's green (optional): accent, accentSoft, line, ring,
19
+ header, headerText, for both modes or under light / dark
18
20
  -->
19
21
  <script>
20
22
  window.SLIDETAKE = {
@@ -22,7 +24,8 @@ window.SLIDETAKE = {
22
24
  settings: {title: "Embedded deck", brand: "example.com", duration: "5m", tags: ["demo"]},
23
25
  base: location.href,
24
26
  trail: [{label: "Example site", url: "../"}, {label: "Talks", url: "../"}],
25
- themeKey: "example-theme"
27
+ themeKey: "example-theme",
28
+ colors: {light: {accent: "#1d4ed8", line: "#93c5fd"}, dark: {accent: "#93c5fd", line: "#1e40af"}}
26
29
  };
27
30
  </script>
28
31
  <script src="../dist/slidetake.js"></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidetake",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Markdown to finished video: a spatial deck that records itself, take by take",
5
5
  "keywords": [
6
6
  "slides",
@@ -16,7 +16,10 @@
16
16
  "bugs": "https://github.com/slidetake/slidetake/issues",
17
17
  "license": "Apache-2.0",
18
18
  "author": "Sakthi Priyan H",
19
- "repository": "github:slidetake/slidetake",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/slidetake/slidetake.git"
22
+ },
20
23
  "type": "module",
21
24
  "main": "dist/slidetake.js",
22
25
  "browser": "dist/slidetake.js",