mirror of https://github.com/logseq/logseq
feat(show-brackets): add shortcut hint
parent
360548f0a8
commit
157365d9b5
|
@ -85,20 +85,22 @@
|
|||
[:label.block.text-sm.font-medium.leading-5.sm:mt-px.sm:pt-2.opacity-70
|
||||
{:for "toggle_theme"}
|
||||
(t :right-side-bar/switch-theme (string/capitalize switch-theme))]
|
||||
[:div.mt-1.sm:mt-0.sm:col-span-2
|
||||
[:div.max-w-lg.rounded-md.sm:max-w-xs.pt-2
|
||||
[:div.flex.flex-row.mt-1.sm:mt-0.sm:col-span-2.pt-2
|
||||
[:div.max-w-lg.rounded-md.sm:max-w-xs
|
||||
(ui/toggle dark?
|
||||
(fn []
|
||||
(state/set-theme! switch-theme)))]]]
|
||||
(state/set-theme! switch-theme)))]
|
||||
[:span.ml-4.opacity-50 "t t"]]]
|
||||
|
||||
[:div.sm:grid.sm:grid-cols-3.sm:gap-4.sm:items-start.sm:pt-5.pl-1
|
||||
[:label.block.text-sm.font-medium.leading-5.opacity-70
|
||||
{:for "show_brackets"}
|
||||
(t :settings-page/show-brackets)]
|
||||
[:div.mt-1.sm:mt-0.sm:col-span-2
|
||||
[:div.flex.flex-row.mt-1.sm:mt-0.sm:col-span-2
|
||||
[:div.max-w-lg.rounded-md.sm:max-w-xs
|
||||
(ui/toggle show-brackets?
|
||||
config-handler/toggle-ui-show-brackets!)]]]
|
||||
config-handler/toggle-ui-show-brackets!)]
|
||||
[:span.ml-4.opacity-50 "Ctrl-c Ctrl-b"]]]
|
||||
|
||||
[:div.mb-6.sm:grid.sm:grid-cols-3.sm:gap-4.sm:items-start.sm:pt-5.pl-1
|
||||
[:label.block.text-sm.font-medium.leading-5.sm:mt-px.sm:pt-2.opacity-70
|
||||
|
|
Loading…
Reference in New Issue