From 38cc8e12da9934bc49b32352adf455deefae8ccb Mon Sep 17 00:00:00 2001 From: ALAMO276 Date: Wed, 10 Dec 2025 15:51:46 -0600 Subject: [PATCH] feat(layout): add colemak_angle layout (@ALAMO276) (#7200) ### Description I added the Colemak with the angle mod ### Checks - [ ] Adding quotes? - [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content. - [ ] Adding a language? - Make sure to follow the [languages documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md) - [ ] Add language to `packages/schemas/src/languages.ts` - [ ] Add language to exactly one group in `frontend/src/ts/constants/languages.ts` - [ ] Add language json file to `frontend/static/languages` - [ ] Adding a theme? - Make sure to follow the [themes documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/THEMES.md) - [ ] Add theme to `packages/schemas/src/themes.ts` - [ ] Add theme to `frontend/src/ts/constants/themes.ts` - [ ] Add theme css file to `frontend/static/themes` - [ ] Add some screenshot of the theme, especially with different test settings (colorful, flip colors) to your pull request - [x] Adding a layout? - [x] Make sure to follow the [layouts documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md) - [x] Add layout to `packages/schemas/src/layouts.ts` - [x] Add layout json file to `frontend/static/layouts` - [ ] Adding a font? - Make sure to follow the [themes documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/FONTS.md) - [ ] Add font file to `frontend/static/webfonts` - [ ] Add font to `packages/schemas/src/fonts.ts` - [ ] Add font to `frontend/src/ts/constants/fonts.ts` - [ ] Check if any open issues are related to this PR; if so, be sure to tag them below. - [ ] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [ ] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. Closes # --- frontend/static/layouts/colemak_angle.json | 62 ++++++++++++++++++++++ packages/schemas/src/layouts.ts | 1 + 2 files changed, 63 insertions(+) create mode 100644 frontend/static/layouts/colemak_angle.json diff --git a/frontend/static/layouts/colemak_angle.json b/frontend/static/layouts/colemak_angle.json new file mode 100644 index 000000000..b01d46389 --- /dev/null +++ b/frontend/static/layouts/colemak_angle.json @@ -0,0 +1,62 @@ +{ + "keymapShowTopRow": false, + "type": "ansi", + "keys": { + "row1": [ + ["`", "~"], + ["1", "!"], + ["2", "@"], + ["3", "#"], + ["4", "$"], + ["5", "%"], + ["6", "^"], + ["7", "&"], + ["8", "*"], + ["9", "("], + ["0", ")"], + ["-", "_"], + ["=", "+"] + ], + "row2": [ + ["q", "Q"], + ["w", "W"], + ["f", "F"], + ["p", "P"], + ["g", "G"], + ["j", "J"], + ["l", "L"], + ["u", "U"], + ["y", "Y"], + [";", ":"], + ["[", "{"], + ["]", "}"], + ["\\", "|"] + ], + "row3": [ + ["a", "A"], + ["r", "R"], + ["s", "S"], + ["t", "T"], + ["d", "D"], + ["h", "H"], + ["n", "N"], + ["e", "E"], + ["i", "I"], + ["o", "O"], + ["'", "\""] + ], + "row4": [ + ["x", "X"], + ["c", "C"], + ["v", "V"], + ["b", "B"], + ["z", "Z"], + ["k", "K"], + ["m", "M"], + [",", "<"], + [".", ">"], + ["/", "?"] + ], + "row5": [[" "]] + } +} diff --git a/packages/schemas/src/layouts.ts b/packages/schemas/src/layouts.ts index 7c29b7941..f55d5f6ab 100644 --- a/packages/schemas/src/layouts.ts +++ b/packages/schemas/src/layouts.ts @@ -6,6 +6,7 @@ export const LayoutNameSchema = z.enum( "qwerty", "dvorak", "colemak", + "colemak_angle", "colemak_wide", "colemak_dh", "colemak_dh_iso",