mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
add fontawesome back into the repo
This commit is contained in:
parent
e7b58c1077
commit
ab8021fad7
6
public/fontawesome/css/brands.min.css
vendored
Normal file
6
public/fontawesome/css/brands.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
9
public/fontawesome/css/fontawesome.min.css
vendored
Normal file
9
public/fontawesome/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
public/fontawesome/css/sharp-regular.min.css
vendored
Normal file
6
public/fontawesome/css/sharp-regular.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license (Commercial License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
:host,:root{--fa-style-family-sharp:"Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp"}@font-face{font-family:"Font Awesome 6 Sharp";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-sharp-regular-400.woff2) format("woff2"),url(../webfonts/fa-sharp-regular-400.ttf) format("truetype")}.fa-regular,.fasr{font-weight:400}
|
6
public/fontawesome/css/sharp-solid.min.css
vendored
Normal file
6
public/fontawesome/css/sharp-solid.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license (Commercial License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
:host,:root{--fa-style-family-sharp:"Font Awesome 6 Sharp";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp"}@font-face{font-family:"Font Awesome 6 Sharp";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-sharp-solid-900.woff2) format("woff2"),url(../webfonts/fa-sharp-solid-900.ttf) format("truetype")}.fa-solid,.fass{font-weight:900}
|
6
public/fontawesome/css/solid.min.css
vendored
Normal file
6
public/fontawesome/css/solid.min.css
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license (Commercial License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
:host,:root{--fa-style-family-classic:"Font Awesome 6 Pro";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Pro"}@font-face{font-family:"Font Awesome 6 Pro";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
|
BIN
public/fontawesome/webfonts/fa-brands-400.woff2
Normal file
BIN
public/fontawesome/webfonts/fa-brands-400.woff2
Normal file
Binary file not shown.
BIN
public/fontawesome/webfonts/fa-sharp-regular-400.woff2
Normal file
BIN
public/fontawesome/webfonts/fa-sharp-regular-400.woff2
Normal file
Binary file not shown.
BIN
public/fontawesome/webfonts/fa-sharp-solid-900.woff2
Normal file
BIN
public/fontawesome/webfonts/fa-sharp-solid-900.woff2
Normal file
Binary file not shown.
BIN
public/fontawesome/webfonts/fa-solid-900.woff2
Normal file
BIN
public/fontawesome/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
BIN
public/fonts/fontawesome-webfont-4.7.woff2
Normal file
BIN
public/fonts/fontawesome-webfont-4.7.woff2
Normal file
Binary file not shown.
@ -5,6 +5,10 @@
|
|||||||
<base href="../" />
|
<base href="../" />
|
||||||
<script charset="UTF-8" src="dist-dev/waveterm.js"></script>
|
<script charset="UTF-8" src="dist-dev/waveterm.js"></script>
|
||||||
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/fontawesome.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/brands.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/sharp-solid.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/sharp-regular.min.css">
|
||||||
<link rel="stylesheet" href="dist-dev/waveterm.css" />
|
<link rel="stylesheet" href="dist-dev/waveterm.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
<base href="../" />
|
<base href="../" />
|
||||||
<script charset="UTF-8" src="dist/waveterm.js"></script>
|
<script charset="UTF-8" src="dist/waveterm.js"></script>
|
||||||
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/fontawesome.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/brands.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/sharp-solid.min.css">
|
||||||
|
<link rel="stylesheet" href="public/fontawesome/css/sharp-regular.min.css">
|
||||||
<link rel="stylesheet" href="dist/waveterm.css" />
|
<link rel="stylesheet" href="dist/waveterm.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -283,19 +283,19 @@ function loadFonts() {
|
|||||||
style: "normal",
|
style: "normal",
|
||||||
weight: "700",
|
weight: "700",
|
||||||
});
|
});
|
||||||
// let faFont = new FontFace("FontAwesome", "url(static/fonts/fontawesome-webfont-4.7.woff2)", {
|
let faFont = new FontFace("FontAwesome", "url(public/fonts/fontawesome-webfont-4.7.woff2)", {
|
||||||
// style: "normal",
|
style: "normal",
|
||||||
// weight: "normal",
|
weight: "normal",
|
||||||
// });
|
});
|
||||||
let docFonts: any = document.fonts; // work around ts typing issue
|
let docFonts: any = document.fonts; // work around ts typing issue
|
||||||
docFonts.add(jbmFontNormal);
|
docFonts.add(jbmFontNormal);
|
||||||
docFonts.add(jbmFont200);
|
docFonts.add(jbmFont200);
|
||||||
docFonts.add(jbmFont700);
|
docFonts.add(jbmFont700);
|
||||||
// docFonts.add(faFont);
|
docFonts.add(faFont);
|
||||||
jbmFontNormal.load();
|
jbmFontNormal.load();
|
||||||
jbmFont200.load();
|
jbmFont200.load();
|
||||||
jbmFont700.load();
|
jbmFont700.load();
|
||||||
// faFont.load();
|
faFont.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
const DOW_STRS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
const DOW_STRS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
||||||
|
Loading…
Reference in New Issue
Block a user