mindstellar / theme-bender
Osclass 官方主题
v3.2.3
2020-08-22 13:16 UTC
Requires
- composer/installers: ^1.9.0
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-09-23 00:09:07 UTC
README
依赖项
在安装完依赖项后,请运行以下命令
$> npm install
结构
有两个模板文件
index.php.tplsass/colors.scss.tpl
如果您想重新生成它们,只需执行 grunt template:blue。
监视变化
您可以通过执行以下命令自动编译每次更改的 Sass 文件
$> grunt watch:blue
构建
$> grunt dist
它为每种配色方案生成一个 .zip 文件:蓝色(默认)、红色、黑色和紫色。`index.php` 和 `colors.scss` 是从 `themes.json` 中的变量生成的。截图来自 `screenshot/{color scheme}/screenshot.png`。