Skip to content

Commit ac1d6f0

Browse files
authored
feat(funbox): add ASL (@fehmer) (monkeytypegame#6485)
1 parent d3f3a83 commit ac1d6f0

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

frontend/static/funbox/asl.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@font-face {
2+
font-family: "Gallaudet";
3+
src: url("/webfonts/GallaudetRegular.woff2") format("woff2");
4+
}
5+
6+
#wordsWrapper {
7+
font-family: "Gallaudet" !important;
8+
}
29.9 KB
Binary file not shown.

packages/funbox/src/list.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,14 @@ const list: Record<FunboxName, FunboxMetadata> = {
452452
frontendFunctions: ["withWords"],
453453
name: "polyglot",
454454
},
455+
asl: {
456+
description: "Practice american sign language.",
457+
canGetPb: true,
458+
difficultyLevel: 1,
459+
properties: ["hasCssFile", "noLigatures"],
460+
name: "asl",
461+
cssModifications: ["words"],
462+
},
455463
};
456464

457465
// oxlint doesnt understand ts overloading

packages/funbox/src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export type FunboxName =
4242
| "instant_messaging"
4343
| "underscore_spaces"
4444
| "ALL_CAPS"
45-
| "polyglot";
45+
| "polyglot"
46+
| "asl";
4647

4748
export type FunboxForcedConfig = Record<string, string[] | boolean[]>;
4849

0 commit comments

Comments
 (0)