A retro theme for term.ptt.cc based on term-ptt-custom-theme .
- Palette: gruvbox.css
- Font: Fusion Pixel Font (Set ˇ width to 1200)
// ==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