monkeytype/frontend/static/themes
Jack 3c4212b718
refactor: commandline (#5180)
* initial rewrite

* remove title

* remove from dom on hide

* actual command dom
show active
keep active in view
update active index on keypress

* global event only shows commandline

* impr(dev): showing notifications with unhandled errors

* rename functions

* handle hover functions
handle nesting
handle exec
attaching handlers once

* void promise

* no need for async

* move font preview to ui

* add configkey to command

* add function to build single list

* add mouse mode
clearing preview on hide
add config icon

* using new function

* use fw icon

* fix incorrect type

* extract logic

* add support for input commands

* unused error

* update single list

* chevron icon margin

* only focusing when no popups and words are visible

* extract condition

* better type

* remove no icon

* only showing when nothing is already visible

* commandline lists no longer modify the commandline element
dynamically changing which funbox commnands are available
modified searching approach
showing active settings in single mode again
calling before list if needed

* ignore keydown on page transition

* add other ways to show the commandline

* always clearing previews

* incorrect icon being used

* extract logic

* support quick single list mode by starting input with >

* fix test words not being focused

* showing all if in quick single mode

* remove unused code

* rename entry to command

* remove more unused code

* add data- prefix

* rename to data-command-id

* fix input commands not refocusing words

* fix fontsize change not working as intended

* set active index to 0 when going back

* keeping active command in view

* remove console logs

* fix quick single mode

* move file

* add footer events

* add option for subgroup override
fix issue where commands would get hidden after clearing input field
fixed auto scrolling in mouse mode

* rename commands to lists

* add background after to avoid flashing

* getting config key from active subgroup

* updating active command after removing hidden class but before animating

* fix nasty hover behavior

* updating active before animation showing, keeping active after

* add keymap event

* remove comments

* invert if, use return, combine ifs to reduce nesting

* add test event

* popups events

* fix some commands not showing up on a single list

* use new animated modal

* use regex escaping function from misc

* add singlelistdisplay and singlelistdisplaynoicon properties

* add more navigation aliases

* not adding alias if not needed

* rework command filtering

* fix active icon not working

* add custom hide handlers

* fix active command not being kept in view after showing

* unused imports

* remove commandlinelists imports from other files

* delete old file

* remove unused file

* import commandline dynamically

* fix: if skeleton has wrapper, append before building animated modal

* using new parameters

* save skeleton on ready

* rename folder

* add util to get async modules

* remove empty imports

* remove unnecessary code

* unnecessary void

* catching errors and notifying user

* better error message

* making sure all the lists are fetched before getting the single command list

* add tab navigation
2024-03-05 19:34:35 +01:00
..
80s_after_dark.css
8008.css
9009.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
_list.json feat(theme): add anti hero theme (mizaagi) (#5018) 2024-02-26 13:53:37 +01:00
aether.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
alduin.css
alpine.css
anti_hero.css feat(theme): add anti hero theme (mizaagi) (#5018) 2024-02-26 13:53:37 +01:00
arch.css
aurora.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
beach.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
bento.css
bingsu.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
bliss.css
blue_dolphin.css Changed the colorful mode error colour to be more readable for the blue dolphin theme (#3433) seieeshb 2022-08-24 12:41:33 +02:00
blueberry_dark.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
blueberry_light.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
botanical.css
bouquet.css
breeze.css Breeze Theme (#4032) trevorwrightdev 2023-03-01 10:45:33 +01:00
bushido.css
cafe.css
camping.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
carbon.css
catppuccin.css
chaos_theory.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
cheesecake.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
cherry_blossom.css added cherry blossom theme (#4057) mushytoast 2023-03-10 14:22:42 +01:00
comfy.css
copper.css
creamsicle.css
cyberspace.css
dark.css
dark_magic_girl.css
dark_note.css refactor: commandline (#5180) 2024-03-05 19:34:35 +01:00
darling.css
deku.css
desert_oasis.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
dev.css
diner.css
dino.css
dmg.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
dollar.css
dots.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
dracula.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
drowning.css
dualshot.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
earthsong.css Adding new theme earthsong and fixing typo on THEMES.md (#3756) Guillermo-N 2022-11-21 13:24:48 +01:00
everblush.css Created Everblush theme (#4211) tuzu128 2023-04-24 16:05:11 +02:00
evil_eye.css
ez_mode.css
fire.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
fledgling.css
fleuriste.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
froyo.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
frozen_llama.css
fruit_chew.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
fundamentals.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
future_funk.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
godspeed.css
graen.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
grand_prix.css
grape.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
gruvbox_dark.css
gruvbox_light.css
hammerhead.css
hanok.css
hedge.css add hedge theme (#3137) devkennyy 2022-06-16 11:37:31 +02:00
honey.css
horizon.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
husqy.css
iceberg_dark.css
iceberg_light.css
ishtar.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
iv_clover.css New Theme : iv (#3540) riyuzenn 2022-09-26 11:26:32 +02:00
iv_spade.css New Theme : iv (#3540) riyuzenn 2022-09-26 11:26:32 +02:00
joker.css
laser.css
lavender.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
leather.css
lil_dragon.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
lime.css
luna.css
macroblank.css refactor: pretty fix 2024-02-22 13:07:28 +01:00
magic_girl.css
mashu.css
matcha_moccha.css
material.css
matrix.css increased matrix theme contrast 2023-05-23 11:51:18 +02:00
menthol.css
metaverse.css
metropolis.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
mexican.css
miami.css
miami_nights.css
midnight.css
milkshake.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
mint.css
mizu.css
modern_dolch.css
modern_dolch_light.css style: fix modern dolch light low contrast 2023-09-26 13:58:44 +01:00
modern_ink.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
monokai.css
moonlight.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
mountain.css
mr_sleeves.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
ms_cupcakes.css
muted.css
nautilus.css
nebula.css
night_runner.css
nord.css Prettier fix (#4708) 2023-10-07 21:02:58 -04:00
nord_light.css Add nord light theme (#3978) ithelor 2023-02-07 11:29:14 +01:00
norse.css
oblivion.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
olive.css
olivia.css
onedark.css
our_theme.css
paper.css
passion_fruit.css
pastel.css
peach_blossom.css
peaches.css
pink_lemonade.css
pulse.css
purpleish.css impr(themes): update nord and purpurite (ehanahamed) (#4668) 2023-10-02 15:42:25 +01:00
rainbow_trail.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
red_dragon.css
red_samurai.css
repose_dark.css
repose_light.css
retro.css
retrocast.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
rgb.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
rose_pine.css
rose_pine_dawn.css
rose_pine_moon.css
rudy.css
ryujinscales.css
serika.css
serika_dark.css
sewing_tin.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
sewing_tin_light.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
shadow.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
shoko.css
slambook.css Prettier fix (#4006) 2023-02-18 19:28:19 -05:00
snes.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
soaring_skies.css
solarized_dark.css
solarized_light.css
sonokai.css
stealth.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
strawberry.css
striker.css
superuser.css
sweden.css
tangerine.css refactor: run prettier (#5077) 2024-02-18 01:52:41 +01:00
taro.css fix: crt mode not working on some buttons (fehmer) (#4810) 2023-11-27 12:56:33 +00:00
terminal.css
terra.css
terror_below.css
tiramisu.css
trackday.css refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
trance.css refactor: use id instead of class 2023-09-23 12:17:49 +01:00
tron_orange.css
vaporwave.css
viridescent.css Hide favourite quote button for unauthenticated user (#3709) Prajwalrajbasnet 2022-10-31 14:49:25 +01:00
voc.css
vscode.css
watermelon.css
wavez.css
witch_girl.css