mirror of
https://github.com/MCSManager/UI.git
synced 2024-12-15 09:32:28 +08:00
优化字体
This commit is contained in:
parent
770a4f749d
commit
f2cd8bf6d6
3
.gitignore
vendored
3
.gitignore
vendored
@ -114,3 +114,6 @@ dist
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
workspace.code-workspace
|
||||
|
||||
# IntelliJ IDEA project files
|
||||
/.idea/*
|
||||
|
@ -10,6 +10,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta name="description" content="MCSManager Panel" />
|
||||
<link rel="icon" href="favicon.ico" />
|
||||
<link rel="preload" as="font" href="./static/FiraCode-Regular.ttf" type="font/ttf" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="./static/fonts.css">
|
||||
<title>控制面板 | MCSManager</title>
|
||||
</head>
|
||||
|
||||
|
@ -33,7 +33,6 @@ import "../assets/css/common.css";
|
||||
import "../assets/css/tools.css";
|
||||
import "../assets/css/responsive.css";
|
||||
import "../assets/css/action.css";
|
||||
import "../assets/css/fonts.css";
|
||||
|
||||
import App from "./App.vue";
|
||||
import "./service/protocol";
|
||||
|
@ -55,7 +55,7 @@ export function initTerminalWindow(elem, fontSize = 14) {
|
||||
cursorStyle: "underline",
|
||||
cursorBlink: true,
|
||||
fontSize: fontSize,
|
||||
fontFamily: "'Fira Code', monospace",
|
||||
fontFamily: "Fira Code",
|
||||
theme: {
|
||||
background: "#1e1e1e"
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(../fonts/fira_code_latin_ext.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(../fonts/fira_code_latin.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user