koishi-plugin-wordle-game 2.1.1 → 2.1.2
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/lib/index.js +1 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2494,9 +2494,8 @@ ${rankType3.map((type, index) => `${index + 1}. ${type}`).join('\n')}
|
|
|
2494
2494
|
await page.setViewport({ width: 611, height: 140 * rowNum, deviceScaleFactor: 1 });
|
|
2495
2495
|
const filePath = path.join(__dirname, 'emptyHtml.html').replace(/\\/g, '/');
|
|
2496
2496
|
await page.goto('file://' + filePath);
|
|
2497
|
-
const html = `<html lang="zh" class="h-full">
|
|
2497
|
+
const html = `<html lang="zh" class="h-full ${config.isDarkThemeEnabled ? 'dark' : ''}">
|
|
2498
2498
|
<head>
|
|
2499
|
-
<!--<html lang="zh" class="h-full dark"><head>-->
|
|
2500
2499
|
<meta charset="UTF-8">
|
|
2501
2500
|
<title>词影</title>
|
|
2502
2501
|
<link rel="stylesheet" href="./assets/词影/ciying.css">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-wordle-game",
|
|
3
3
|
"description": "欢迎来到 [Wordle](https://www.nytimes.com/games/wordle/index.html) | [汉兜](https://handle.antfu.me/) | [词影](https://cy.surprising.studio/) |... 猜单词|猜成语|猜数字|猜数学方程式|... 的小游戏,包含多种词库、多种主题、多种游戏设置和排行榜系统。",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|