mcesar-rlacruz / typora-compact

A typora theme for the compact layout of long texts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A compact theme for Typora

What is Compact?

A theme aimed at reading long texts avoiding distractions. This goal is achieved:

  • Removing blank space. Compact makes little use of blank lines to separate items. It only adds blank lines around blockquotes, code blocks, tables and headings <h1> thru <h4>. Paragraphs are discerned by indentation. This scarce usage of blank space and a constant inter-line distance gives Compact its name.
  • Avoiding distractions:
    • Compact does little use of colour. Only code blocks, links and highlights use colour.
    • The same can be said about graphical items as lines, they are only used in tables, code blocks —only when displaying line numbers— and HTML <kbd> tags.

This overall scarcity of ornament gives Compact a someway sober or austere look, but it is a nice theme to keep your attention on long texts avoiding disturbances. It was designed to look like classical or vintage printed books.

Snapshots

The above text rendered with Compact.

Common markup and lists.

Code blocks and quotations.

Headings.

Tables, footnotes, inlined HTML and fonts.

Paragraphs.

Installation.

  1. Download the zip file of the latest release from GitHub, extract it to get folder compact and file compact.css
  2. Open Typora, in Preferences…, click on Apperance, then on Open Theme Folder
  3. Put compact folder and compact.css file into the open folder
  4. Select the Compact theme from the Themes menu

Compact was designed upon Windows 10. It has been tested in both macOS (Big Sur) and Linux (Ubuntu), working as expected (even full text justify does work in macOS, although exporting to PDF on macOS still shows some issues due to Safari/webkit not yet supporting @page).

The thumbnail for this theme was based on that from the Vintage theme.

About

A typora theme for the compact layout of long texts

License:MIT License


Languages

Language:CSS 100.0%