Browse Source

Add blokk

ad1992 3 years ago
parent
commit
4eb5ec70be
4 changed files with 11 additions and 0 deletions
  1. BIN
      public/BLOKKNeue-Regular.woff2
  2. 5 0
      public/fonts.css
  3. 5 0
      src/actions/actionProperties.tsx
  4. 1 0
      src/constants.ts

BIN
public/BLOKKNeue-Regular.woff2


+ 5 - 0
public/fonts.css

@@ -23,3 +23,8 @@
   src: url("scribble-webfont.woff2");
   src: url("scribble-webfont.woff2");
   font-display: swap;
   font-display: swap;
 }
 }
+
+@font-face {
+  font-family: "Blokk";
+  src: url("BLOKKNeue-Regular.woff2");
+}

+ 5 - 0
src/actions/actionProperties.tsx

@@ -537,6 +537,11 @@ export const actionChangeFontFamily = register({
         text: t("labels.wireframe"),
         text: t("labels.wireframe"),
         icon: <FontFamilyWireframeIcon theme={appState.theme} />,
         icon: <FontFamilyWireframeIcon theme={appState.theme} />,
       },
       },
+      {
+        value: FONT_FAMILY.BLOKK,
+        text: t("labels.wireframe"),
+        icon: <FontFamilyWireframeIcon theme={appState.theme} />,
+      },
     ];
     ];
 
 
     return (
     return (

+ 1 - 0
src/constants.ts

@@ -70,6 +70,7 @@ export const FONT_FAMILY = {
   Cascadia: 3,
   Cascadia: 3,
   REDACTED: 4,
   REDACTED: 4,
   SCRIBBLE: 5,
   SCRIBBLE: 5,
+  BLOKK: 6,
 };
 };
 
 
 export const THEME = {
 export const THEME = {