# vmghostalto **Repository Path**: lzan13/vmghostalto ## Basic Information - **Project Name**: vmghostalto - **Description**: 一款基于 alto 的 ghost 主题 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-18 - **Last Updated**: 2022-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README vmghostalto =========== 一款基于 [Alto][alto] 定制而来的 [Ghost][ghost] 干净、简洁主题,支持黑暗模式以及自适应屏幕宽度 >样式查看: https://blog.melove.net # 使用 & 定制 简单说明下使用方式,以及开发定制实现 ### 下载使用 克隆当前新项目到 `ghost` 的 `themes` 目录下,然后在 `ghost` 管理后台,修改主题就行了 ### 亮色 logo 如果网站 logo 图在深色模式下无法识别,可以在`Code injection > Site Header`字段中设置白色版本的logo ```html ``` ### 开发定制 样式使用 Gulp/PostCSS 编译以填充未来的 CSS 规范。您需要全局安装 [Node](https://nodejs.org/)、[Yarn](https://yarnpkg.com/) 和 [Gulp](https://gulpjs.com)。之后,从主题的根目录: Styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory: ```bash # 安装依赖 yarn # 运行构建并监听变化,方便本地调试 $ yarn dev # zip 命令将主题文件打包到 `dist/.zip` 中,然后可以将其上传到自己的站点 yarn zip ``` ### 使用的 PostCSS 特性 - Autoprefixer - 不需要编写任何类型的浏览器前缀,这一切都是自动完成的,支持每个浏览器的2个最新主要版本。 # Copyright & License Copyright (c) 2013-2021 Ghost Foundation - Released under the [MIT license](LICENSE). [alto]: https://github.com/TryGhost/Alto [ghost]: https://ghost.org/