Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Redrail theme #210

Open
wants to merge 14 commits into
base: gh-pages
Choose a base branch
from
40 changes: 40 additions & 0 deletions _posts/theme/2021-05-05-Redrail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: theme
title: Redrail
category: theme
homepage: https://github.com/wilde3/typora-theme-redrail
download: https://github.com/wilde3/typora-theme-redrail/archive/refs/tags/v1.1.zip
built-in: false
author: wilde3
thumbnail: redrail.png
typora-root-url: ../../
typora-copy-images-to: ../../media/theme/redrail
---

# typora-theme-redrail
This is a typora theme inspired by [pie](https://github.com/shrugginG/typora-theme-pie) and [ursine](https://github.com/danielduyixin/typora-theme-ursine) theme.

English | [简体中文](./README_CN.md)
# Origin
The 'RedRail' theme inspired by the theme of the Minority Style,which perform well in the `pie` and `ursine` themes. Among the various Typora themes, the Minority Style uses a striking and refreshing red color as its base tone, which makes coding and note-taking more enjoyable and relaxed. Also, use light themes during the day to make your notes clear, and dark themes at night to make your notes comfortable. Here are a few sources of inspiration, thank you in advance.
- [pie](https://github.com/shrugginG/typora-theme-pie) theme
- [ursine](https://github.com/danielduyixin/typora-theme-ursine) theme
- Zhang Jin's modifications of the `pie` theme and `ursine` theme

If you like this theme, please praise a star, thank you for your attention!
# Feature
- [x] :baby_chick: Dark theme is available
- [x] :rocket: typora-theme-redrail have optimized font colors, page sizes, ordered lists and unordered lists
- [x] :sailboat: typora-theme-redrail-night has been adjusted for font color, background color, font size, reference block, line height, font spacing, code block font, interline code, and code block highlighting to make it more compatible and comfortable
# Install theme
1. Download `redrail.css`, `redrail-night.css` files, `redrail` and `redrail-night` folders in this theme,** The `redrail` and `redrail-night` folders is not necessary, it only contains the required fonts;**
2. Open Typora, click "**Preferences** `(ctrl +,)`" => "**Appearance**" => "**Open Theme Folder**" button, the theme folder of Typora will pop up;
3. Put the downloaded `redrail.css` , `redrail-night.css` files, `redrail`, `redrail-night` folders into the theme folder of Typora;
4. Close and reopen Typora, select "**Theme**" => "**redrail**" or "**redrail-night**" from the menu bar.

> For a better experience, make sure the computer has Consolas installed, with the font 'Source Han SerifCN'.

# Snapshots
![](/media/theme/redrail/light-theme-1.png)
![](/media/theme/redrail/light-theme-2.png)
![](/media/theme/redrail/dark-theme-1.png)
Binary file added media/theme/redrail/dark-theme-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/theme/redrail/light-theme-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/thumbnails/redrail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.