-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
842 additions
and
253 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 |
---|---|---|
|
@@ -89,7 +89,6 @@ out | |
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,21 @@ | ||
export type SkinTone = '' | 'none' | 'light' | 'mediumLight' | 'medium' | 'mediumDark' | 'dark'; | ||
/** | ||
* Apply skin tones to an emoji. | ||
* Visit us at: https://qit.tools | ||
* | ||
* πͺ Qit.tools | ||
* @name @packageName | ||
* @version @packageVersion | ||
* @license @packageLicense | ||
* @copyright Copyright (c) 2024 Qit.tools. | ||
* @see https://github.com/Qit-tools/skin-tone | ||
* @see https://www.npmjs.com/package/@qit.tools/skin-tone | ||
* | ||
* Change emoji skin tones effortlessly. π§π§π»π§πΌπ§π½π§πΎπ§πΏ | ||
* RGI Emoji Modifier Sequence. | ||
* | ||
* @param {string} emoji - The original emoji string. | ||
* @param {SkinTone} tone - The skin tone to apply. If empty, returns the original emoji. | ||
* @returns {string} The emoji string with skin tones applied where applicable. | ||
*/ | ||
export default function skinTone(emoji: string, tone?: SkinTone): string; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.