@tacone/prosey 0.4.0 → 0.5.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.
- package/bin/prosey +3 -2
- package/package.json +1 -1
- package/src/html.ts +2 -1
package/bin/prosey
CHANGED
|
@@ -103244,6 +103244,7 @@ blockquote {
|
|
|
103244
103244
|
blockquote:first-child { margin-top: 0; }
|
|
103245
103245
|
blockquote:last-child { margin-bottom: 0; }
|
|
103246
103246
|
* { transition: all 0.3s; }
|
|
103247
|
+
#theme-btn, #theme-btn:focus, #theme-btn:active, #theme-btn:hover { box-shadow: none !important; }
|
|
103247
103248
|
#theme-btn:focus, #theme-btn:active { outline: none !important; }
|
|
103248
103249
|
#theme-btn:hover, #theme-btn:focus, #theme-btn:active { opacity: 1 !important; }
|
|
103249
103250
|
img[alt="Prosey"] { filter: grayscale(100%); }
|
|
@@ -103259,7 +103260,7 @@ img[alt="Prosey"]:hover, img[alt="Prosey"]:active, img[alt="Prosey"]:focus { fil
|
|
|
103259
103260
|
${body}
|
|
103260
103261
|
</main>
|
|
103261
103262
|
<script>
|
|
103262
|
-
(function(){var b=document.getElementById('theme-btn'),
|
|
103263
|
+
(function(){var b=document.getElementById('theme-btn'),icons={auto:'\uD83D\uDCA1',light:'☀️',dark:'\uD83C\uDF19'};function apply(m){var t=m;if(t==='auto')t=window.matchMedia('(prefers-color-scheme:dark)').matches?'dark':'light';document.documentElement.setAttribute('data-theme',t);localStorage.setItem('prosey-theme',m);b.textContent=icons[m]}b.addEventListener('click',function(){var m=localStorage.getItem('prosey-theme')||'auto',d=window.matchMedia('(prefers-color-scheme:dark)').matches;apply(d?{auto:'light',light:'dark',dark:'auto'}[m]:{auto:'dark',dark:'light',light:'auto'}[m])});apply(localStorage.getItem('prosey-theme')||'auto')})();
|
|
103263
103264
|
</script>
|
|
103264
103265
|
</body>
|
|
103265
103266
|
</html>`;
|
|
@@ -103290,7 +103291,7 @@ function openInBrowser(htmlPath) {
|
|
|
103290
103291
|
// package.json
|
|
103291
103292
|
var package_default = {
|
|
103292
103293
|
name: "@tacone/prosey",
|
|
103293
|
-
version: "0.
|
|
103294
|
+
version: "0.5.0",
|
|
103294
103295
|
description: "Download YouTube video transcripts from the CLI",
|
|
103295
103296
|
module: "src/index.ts",
|
|
103296
103297
|
type: "module",
|
package/package.json
CHANGED
package/src/html.ts
CHANGED
|
@@ -91,6 +91,7 @@ blockquote {
|
|
|
91
91
|
blockquote:first-child { margin-top: 0; }
|
|
92
92
|
blockquote:last-child { margin-bottom: 0; }
|
|
93
93
|
* { transition: all 0.3s; }
|
|
94
|
+
#theme-btn, #theme-btn:focus, #theme-btn:active, #theme-btn:hover { box-shadow: none !important; }
|
|
94
95
|
#theme-btn:focus, #theme-btn:active { outline: none !important; }
|
|
95
96
|
#theme-btn:hover, #theme-btn:focus, #theme-btn:active { opacity: 1 !important; }
|
|
96
97
|
img[alt="Prosey"] { filter: grayscale(100%); }
|
|
@@ -106,7 +107,7 @@ img[alt="Prosey"]:hover, img[alt="Prosey"]:active, img[alt="Prosey"]:focus { fil
|
|
|
106
107
|
${body}
|
|
107
108
|
</main>
|
|
108
109
|
<script>
|
|
109
|
-
(function(){var b=document.getElementById('theme-btn'),
|
|
110
|
+
(function(){var b=document.getElementById('theme-btn'),icons={auto:'\u{1F4A1}',light:'\u2600\uFE0F',dark:'\u{1F319}'};function apply(m){var t=m;if(t==='auto')t=window.matchMedia('(prefers-color-scheme:dark)').matches?'dark':'light';document.documentElement.setAttribute('data-theme',t);localStorage.setItem('prosey-theme',m);b.textContent=icons[m]}b.addEventListener('click',function(){var m=localStorage.getItem('prosey-theme')||'auto',d=window.matchMedia('(prefers-color-scheme:dark)').matches;apply(d?{auto:'light',light:'dark',dark:'auto'}[m]:{auto:'dark',dark:'light',light:'auto'}[m])});apply(localStorage.getItem('prosey-theme')||'auto')})();
|
|
110
111
|
</script>
|
|
111
112
|
</body>
|
|
112
113
|
</html>`;
|