Added angelic font
This commit is contained in:
parent
2f0322c1fa
commit
6d0429c21a
Binary file not shown.
|
@ -146,6 +146,10 @@ export const Markdawn = ({ className, text: rawText }: MarkdawnProps): JSX.Eleme
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Angelic: {
|
||||||
|
component: (comProps) => <span className="font-angelic">{comProps.children}</span>,
|
||||||
|
},
|
||||||
|
|
||||||
Video: {
|
Video: {
|
||||||
component: (comProps) => (
|
component: (comProps) => (
|
||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
|
|
|
@ -14,6 +14,7 @@ import "styles/formatted.css";
|
||||||
import "styles/others.css";
|
import "styles/others.css";
|
||||||
import "styles/rc-slider.css";
|
import "styles/rc-slider.css";
|
||||||
import "styles/tippy.css";
|
import "styles/tippy.css";
|
||||||
|
import "styles/fonts.css";
|
||||||
|
|
||||||
import { useLocalData } from "contexts/localData";
|
import { useLocalData } from "contexts/localData";
|
||||||
import { LightBoxProvider } from "contexts/LightBoxProvider";
|
import { LightBoxProvider } from "contexts/LightBoxProvider";
|
||||||
|
|
|
@ -329,6 +329,14 @@ const Editor = (props: Props): JSX.Element => {
|
||||||
<Button onClick={() => toggleWrap("`")} icon="code" />
|
<Button onClick={() => toggleWrap("`")} icon="code" />
|
||||||
</ToolTip>
|
</ToolTip>
|
||||||
|
|
||||||
|
<ToolTip placement="bottom" content={<h3 className="text-lg">Toggle Angelic/Celestial</h3>}>
|
||||||
|
<Button
|
||||||
|
onClick={() => toggleWrap("Angelic", {})}
|
||||||
|
text="m"
|
||||||
|
className="w-14 font-angelic font-bold"
|
||||||
|
/>
|
||||||
|
</ToolTip>
|
||||||
|
|
||||||
<ButtonGroup
|
<ButtonGroup
|
||||||
buttonsProps={[
|
buttonsProps={[
|
||||||
{
|
{
|
||||||
|
|
|
@ -45,7 +45,7 @@ const Home = (props: PostStaticProps): JSX.Element => {
|
||||||
[mask:url('/icons/accords.svg')]"
|
[mask:url('/icons/accords.svg')]"
|
||||||
/>
|
/>
|
||||||
<h1 className="mb-0 text-5xl">Accord’s Library</h1>
|
<h1 className="mb-0 text-5xl">Accord’s Library</h1>
|
||||||
<h2 className="-mt-5 text-xl">Discover • Analyze • Translate • Archive</h2>
|
<h2 className="-mt-5 font-angelic text-lg">Discover • Analyze • Translate • Archive</h2>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
displayTitle={false}
|
displayTitle={false}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: "Angelic Agrippa";
|
||||||
|
src: url("/fonts/AngelicAgrippaRegular.woff2") format("woff2");
|
||||||
|
}
|
|
@ -21,6 +21,7 @@ export default {
|
||||||
body: "var(--theme-font-body)",
|
body: "var(--theme-font-body)",
|
||||||
headers: "var(--theme-font-headers)",
|
headers: "var(--theme-font-headers)",
|
||||||
mono: "var(--theme-font-mono)",
|
mono: "var(--theme-font-mono)",
|
||||||
|
angelic: "Angelic Agrippa",
|
||||||
realmono: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
realmono: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
||||||
"Liberation Mono", "Courier New", monospace`,
|
"Liberation Mono", "Courier New", monospace`,
|
||||||
...fonts,
|
...fonts,
|
||||||
|
|
Loading…
Reference in New Issue