mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 21:24:05 +02:00
feat: add new key icon components for Cmd, Enter, Key, and Shift to enhance keyboard representation
This commit is contained in:
parent
fce7eec1fc
commit
843a1ea8b7
4 changed files with 122 additions and 0 deletions
30
components/Keys/Key.vue
Normal file
30
components/Keys/Key.vue
Normal file
|
@ -0,0 +1,30 @@
|
|||
<template>
|
||||
<div
|
||||
class="key-container"
|
||||
:style="{
|
||||
backgroundColor: 'var(--border)',
|
||||
padding: '0 7px',
|
||||
height: '20px',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
borderRadius: '4px',
|
||||
minWidth: '22px'
|
||||
}"
|
||||
>
|
||||
<span
|
||||
:style="{
|
||||
color: '#E5E0D5',
|
||||
fontSize: '12px'
|
||||
}"
|
||||
>
|
||||
{{ input }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
input: string;
|
||||
}>();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue