2024-07-31 13:10:37 -04:00
# Bifocal
2022-09-13 08:23:48 -04:00
2024-07-31 13:10:37 -04:00
Bifocal is is a minimal theme for [Ghost ](https://github.com/TryGhost/Ghost ) based on Solo. It features a two-column layout when screen width allows and displays internal tags to the user.
2022-09-13 08:23:48 -04:00
# Instructions
2024-07-31 13:10:37 -04:00
1. Download this theme
2022-09-13 08:23:48 -04:00
2. Log into Ghost, and go to the `Design` settings area to upload the zip file
# Development
2024-07-31 16:24:26 -04:00
Edition 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. As an alternative, install [Nix ](https://nixos.org/ ) and type `nix develop` with the experimental flakes feature enabled. After that, from the theme's root directory:
2022-09-13 08:23:48 -04:00
```bash
# Install
yarn
# Run build & watch for changes
yarn dev
```
Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically.
The `zip` Gulp task packages the theme files into `dist/solo.zip` , which you can then upload to your site.
```bash
yarn zip
```
2024-08-01 19:30:06 -04:00
## Copyright & Licenses
2022-09-13 08:23:48 -04:00
2024-08-01 19:34:31 -04:00
Copyright (c) 2024 Jean Viscogliosi-Pate and released under the [MIT license ](LICENSE ).
2024-08-01 19:30:42 -04:00
2024-08-01 19:32:21 -04:00
Original [Solo ](https://github.com/TryGhost/Solo ) theme relased under the MIT license by Ghost Foundation.
2024-08-01 19:30:42 -04:00
2024-08-01 19:30:06 -04:00
Font is [Wanted Sans ](https://github.com/wanteddev/wanted-sans ), released under the SIL Open Font License 1.1 by Wanted Lab, Inc.
2024-08-01 19:30:42 -04:00
2024-08-01 19:30:06 -04:00
Email and RSS icons are from [Tabler Icons ](https://github.com/tabler/tabler-icons ), released under the MIT license by Paweł Kuna.
2024-08-01 19:30:42 -04:00
2024-08-01 19:30:06 -04:00
The cat that follows your cursor is [oneko.js ](https://github.com/adryd325/oneko.js ), released under the MIT license by adryd.
2024-08-02 00:14:19 -04:00
The JavaScript for generating a table of contents is [Tocbot ](https://github.com/tscanlin/tocbot ), released under the MIT license by Tim Scanlin.