JSPM

kaixinsong

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q57579F
  • License MIT

A webfont repository for KaiXinSong.

Package Exports

  • kaixinsong
  • kaixinsong/KaiXinSong.min.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kaixinsong) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

开心宋体

A webfont repository for KaiXinSong, based on https://github.com/VdustR/hanamin. Supports CJK Extensions A through I.

Online Demo

https://codesandbox.io/embed/kaixinsong-webfont-demo-2uit3

Usage

body {
  font-family: KaiXinSong;
}

With Pre-processor

Install kaixinsong:

npm i kaixinsong
# or install it with yarn
yarn add kaixinsong

And import it in js:

import "kaixinsong";

or in css:

@import "~kaixinsong";

With CDN

jsDelivr npm:

<link
  rel="stylesheet"
  type="text/css"
  href="https://cdn.jsdelivr.net/npm/kaixinsong/KaiXinSong.min.css"
/>

jsDelivr GitHub:

<link
  rel="stylesheet"
  type="text/css"
  href="https://cdn.jsdelivr.net/gh/transfusion/kaixinsong-webfont/KaiXinSong.min.css"
/>

UNPKG:

<link rel="stylesheet" type="text/css" href="https://unpkg.com/kaixinsong" />