Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Can we add a keyboard shortcut to switch themes?

Aberta
#1,167 2 comentários 3 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
frontend

Direção de pesquisa

The issue asks for a keyboard shortcut for theme switching, modelled on the existing ⌘ K quick search. Start by locating the current theme dropdown and the ⌘ K handler in the generated docs UI code, which the payload does not name. Done means a shortcut opens or cycles the theme choice from anywhere on the page. No maintainer has replied yet, so confirm the shortcut key and approach in the thread before writing code.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Enter your suggestions in details:

Since the information at the top doesn't stick to the top of the page, when scrolling to the bottom of the page to switch themes, you have to scroll back to the top and then add a dropdown menu, which isn't very convenient. Perhaps we could refer to the quick search function(⌘ K) and add a similar quick-switching effect.

Linguagem predominante
JavaScript
Estrelas
69
Forks
74
Merge médio
3d 3h
PRs com merge (30d)
48

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nodejs/doc-kit

Todas as issues de nodejs/doc-kit

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.