Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: multiple UX improvements to labels (#7358)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
- Loading branch information
1 parent
4f8ce7b
commit 996325f
Showing
16 changed files
with
485 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,3 +74,5 @@ yalc.lock | |
/yarn-error.log | ||
yarn-debug.log* | ||
.yarn-integrity | ||
|
||
/storybook-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<kbd class="hotkey"> | ||
<slot /> | ||
</kbd> | ||
</template> | ||
|
||
<style lang="scss"> | ||
kbd.hotkey { | ||
display: inline-flex; | ||
flex-shrink: 0; | ||
align-items: center; | ||
user-select: none; | ||
justify-content: center; | ||
padding: var(--space-micro); | ||
min-width: var(--space-normal); | ||
font-size: var(--font-size-micro); | ||
border-radius: var(--space-smaller); | ||
background-color: var(--color-background); | ||
border: 1px solid var(--color-border); | ||
text-transform: uppercase; | ||
color: var(--color-body); | ||
letter-spacing: var(--space-micro); | ||
line-height: var(--font-size-micro); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.