mtholyoke / lits_theme
LITS网站主题
1.3.3
2024-07-29 14:48 UTC
Requires
- drupal/emulsify_twig: ^4.0
This package is auto-updated.
Last update: 2024-10-02 12:49:02 UTC
README
lits_theme 主题,由 starterkit_theme 生成。有关生成主题的更多信息,请参阅Starterkit 文档。
安装主题
composer require mtholyoke/lits_theme
从命令行(drush then lits_theme
)或通过管理界面启用主题,并使用管理界面将其选为网站的默认主题。
开发设置
在你的 LITS 网站工作副本中
cd web/themes/contrib rm -r lits_theme git clone git@github.com:mtholyoke/lits_theme.git cd lits_theme lando npm install cd ../../../..
注意:每当 LITS 项目中的 lits_theme
被更新时(当我们发布并从 Packagist 安装 lits_theme
的新版本时),你需要重复此步骤。
转换 lits_theme
JavaScript 和 SASS
你可以使用 lando transpile
进行一次性转换,或者使用 lando transpile-watch
监视更改。
通常最好随后执行 lando drush cr
。
已知问题
npm audit
在node-sass-glob-importer
(node-sass-glob-importer > node-sass-magic-importer > css-selector-extract > postcss
)中标记了 4 个中等严重的问题,这些问题无法自动修复。- NPM 对于需要手动干预的审计结果的操作指南
- 有一个关于
css-selector-extract
的 PR,但考虑到 PR 的年龄以及下游依赖项(node-sass-magic-importer
)的更新频率,可能这个包应该完全替换。