slidetake 0.1.1 → 0.2.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/README.md +8 -2
- package/dist/index.html +138 -81
- package/dist/slidetake.js +59 -48
- package/examples/embed.html +4 -1
- package/package.json +1 -1
package/examples/embed.html
CHANGED
|
@@ -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>
|