Git Product home page Git Product logo

catfish's Introduction

Designed and tested on Windows 10, version 1703. Not fully tested, but should work for macOS/Linux.

Catfish

This theme provides a comfortable display of CJK characters by using source-han-sans and source-han-serif.

Code Fence uses theme ported from material.css.

无衬线字体,衬线字体和等宽字体分别采用思源黑体,思源宋体, mononoki ,在 Windows 下有良好的中文呈现效果。

代码高亮使用 Material 配色。

screenshots:


Update 2017.08.18

I selected Simplified Chinese glyphs as default, and used Language-specific OTFs. It can be used directly by Simplified Chinese users.

If you want use Traditional Chinese, Japanese or Korean. There are two way to change to another language.

  1. Downloading latest release from Source Han Sans and Source Han Serif . And then change font-faceandfont-familyaccording to the fonts you downloading.

    e.g

    @font-face
        font-family Source Han Sans SC
        font-weight normal
        src local('Source Han Sans SC Regular'),url(catfish/SourceHanSansSC-Regular.otf)
    
    font-sans = Source Han Sans SC, sans-serif

  2. Installing Super OTC. (It is included in catfish folder or you can also choose to download from official website.)

    This deployment format requires macOS (OS X) Version 10.8 (aka Mountain Lion) or later, iOS 7 or later, Windows 10 Version 1703 (aka Creators Update) or later, a flavor of Linux that uses fontconfig and FreeType Version 2.5.0.1 or greater, or Adobe CS6 apps or later.

    There are other deployments available in Github.

    You can removefont-face of Source Han Sans and Source Han Serif and just modify font-family accordingly.

Sorry for the inconvenience.

catfish's People

Contributors

leaf-hsiao avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.