feat: use Hack font for monospace text

This commit is contained in:
thecodrr
2022-07-09 21:26:32 +05:00
parent fd77b0d9b3
commit b64a3a0b29
12 changed files with 81 additions and 4 deletions

View File

@@ -1,9 +1,11 @@
rm -rf dist/
cp ./node_modules/katex/dist/katex.min.css $(realpath ./styles/)
cp -r ./node_modules/katex/dist/fonts/ $(realpath ./styles/)
cp ./node_modules/prism-themes/themes/prism-dracula.min.css $(realpath ./styles/)/prism-theme.css
ln -s $(realpath ./src/styles.css) $(realpath ./styles/)
cp ./node_modules/prism-themes/themes/prism-dracula.min.css $(realpath ./styles/)/prism-theme.css
cp $(realpath ./src/fonts.css) $(realpath ./styles/)/fonts.css
cp $(realpath ./src/styles.css) $(realpath ./styles/)/styles.css
yarn tsc --module commonjs --outDir ./dist/cjs --target es2015
yarn tsc --module esnext --outDir ./dist/es --target es6