mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-02-06 04:46:20 +00:00
feat: full site
This commit is contained in:
10
theme/_command_input.html.erb
Normal file
10
theme/_command_input.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="install-cmd relative flex items-center gap-<%= size == 'sm' ? '2' : '4' %> rounded-2xl border border-slate-200 bg-slate-900 shadow-sm dark:border-slate-700 dark:bg-slate-950">
|
||||
<input
|
||||
type="text"
|
||||
readonly
|
||||
value="<%= h(command) %>"
|
||||
onclick="this.select()"
|
||||
class="flex-1 bg-transparent <%= size == 'sm' ? 'py-2 text-xs' : 'py-3 text-sm' %> font-mono text-slate-100 outline-none cursor-pointer border-0 appearance-none focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 dark:focus-visible:outline-sky-300 focus-visible:outline-offset-[-2px] rounded-2xl px-8"
|
||||
>
|
||||
<span class="<%= size == 'sm' ? 'text-[10px]' : 'text-xs' %> uppercase tracking-wide text-slate-400 pr-8"><%= h(label || 'CLI') %></span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user