https://github.com/lruihao/mmt-webfont
The webfont package for the MMT typeface.
https://github.com/lruihao/mmt-webfont
cjk mmt vue3 webfont
Last synced: about 1 year ago
JSON representation
The webfont package for the MMT typeface.
- Host: GitHub
- URL: https://github.com/lruihao/mmt-webfont
- Owner: Lruihao
- License: mit
- Created: 2025-04-10T08:35:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-06T02:25:28.000Z (about 1 year ago)
- Last Synced: 2025-05-06T03:22:52.492Z (about 1 year ago)
- Topics: cjk, mmt, vue3, webfont
- Language: Vue
- Homepage: https://lruihao.github.io/mmt-webfont/
- Size: 4.65 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MMT webfont package
The webfont package for the [MMT](https://github.com/Lruihao/mmt) typeface.
## Demo
[MMT typeface online demo](https://lruihao.github.io/mmt-webfont/)
## Installation
### Browser
The link embedding method can be used by web pages, mini-programs, and other platforms that support loading CSS styles.
```html
```
```css
@import url('https://cdn.jsdelivr.net/npm/mmt-webfont/dist/result.css');
```
### NPM
To use the MMT webfont in your project, you can install it via npm:
```bash
npm install mmt-webfont
```
Then, you can import the CSS file in your project:
```javascript
import 'mmt-webfont/dist/result.css'
```
## Usage
Restricted font usage area:
```css
article {
font-family: 'MMT';
}
```