Skip to content

A retro theme for term.ptt.cc based on term-ptt-custom-theme .

License

Notifications You must be signed in to change notification settings

VdustR/term-ptt-retro-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PTT Retro Theme

A retro theme for term.ptt.cc based on term-ptt-custom-theme .

term-ptt-retro-theme

term-ptt-retro-theme

Usage

// ==UserScript==
// @name         PTT Retro Theme
// @description  https://github.com/VdustR/term-ptt-retro-theme
// @version      0.0.0
// @match        https://term.ptt.cc/
// ==/UserScript==

(function () {
  "use strict";
  function addCss(href) {
    const link = document.createElement("link");
    link.setAttribute("rel", "stylesheet");
    link.setAttribute("href", href);
    document.body.appendChild(link);
  }
  addCss("https://cdn.jsdelivr.net/gh/vdustr/term-ptt-retro-theme/theme.css");
})();

It's optional to set a pixel font:

Fusion Pixel PTT,MingLiu,SymMingLiu,monospace

License

MIT © ViPro.