Skip to content

Commit

Permalink
feat(custom-fonts): 支持嵌入 Twitter Color Emoji 字体 | Support embedding…
Browse files Browse the repository at this point in the history
… `Twitter Color Emoji` font.
  • Loading branch information
Zuoqiu-Yingyi committed Jun 7, 2023
1 parent 8152538 commit 7a4fdfe
Show file tree
Hide file tree
Showing 20 changed files with 1,093 additions and 121 deletions.
139 changes: 18 additions & 121 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,130 +1,27 @@
# Custom
temp

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
node_modules
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 更改日志 | CHANGE LOG

本文档由持续集成工作流自动构建,不要直接编辑此文件。
This document is automatically built by the continuous integration workflow. Do not edit this file directly.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> **[READ ONLY] Subtree split of the [siyuan-packages-monorepo](https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo) [/workspace/plugins/custom-fonts](https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo/tree/main/workspace/plugins/custom-fonts)**
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "custom-fonts",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.4.1",
"@tsconfig/svelte": "^4.0.1",
"less": "^4.1.3",
"svelte": "^3.59.1",
"svelte-check": "^3.4.3",
"svelte-preprocess-less": "^0.4.0",
"tslib": "^2.5.3",
"typescript": "^5.1.3",
"vite": "^4.3.9"
},
"dependencies": {
"@workspace/components": "workspace:^",
"@workspace/types": "workspace:^",
"@workspace/utils": "workspace:^"
}
}
Empty file added public/README.md
Empty file.
Empty file added public/README_zh_CN.md
Empty file.
Binary file added public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions public/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "custom-fonts",
"author": "Zuoqiu Yingyi",
"url": "https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-fonts",
"version": "0.0.0",
"minAppVersion": "2.9.0",
"backends": [
"all"
],
"frontends": [
"all"
],
"displayName": {
"default": "Custom Fonts",
"zh_CN": "自定义字体",
"zh_CHT": "自定義字型"
},
"description": {
"default": "Customize the fonts of various elements in the SiYuan interface.",
"zh_CN": "自定义思源界面中各种元素的字体。",
"zh_CHT": "自定義思源介面中各種元素的字型。"
},
"readme": {
"default": "README.md",
"zh_CN": "README_zh_CN.md",
"zh_CHT": "README_zh_CN.md"
},
"funding": {
"openCollective": "",
"patreon": "",
"github": "",
"custom": [
"https://afdian.net/a/zuoqiu",
"https://ko-fi.com/zuoqiu"
]
}
}
Loading

0 comments on commit 7a4fdfe

Please sign in to comment.