mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-08 13:36:40 +00:00
Fixes for skintone generation (old Python version)
This commit is contained in:
parent
d2da4e0311
commit
1bedf7e618
3 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Emoji:
|
|||
# This is the case for gender symbols which should be represented as emojis and not as characters
|
||||
fe0f_chars = {'♀', '♂'}
|
||||
|
||||
color_regex = re.compile("#([a-f0-9]{6,7})|rgb\(([0-9]{1,3},[0-9]{1,3},[0-9]{1,3})\)", re.IGNORECASE)
|
||||
color_regex = re.compile("#?([a-f0-9]{6,7})|rgb\(([0-9]{1,3},[0-9]{1,3},[0-9]{1,3})\)", re.IGNORECASE)
|
||||
|
||||
def __init__(self, modifiers: dict, path: str, base: str, end: bool = False):
|
||||
"""
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
"shadow_3": "#e59600",
|
||||
"shadow_4": "#e8a23d",
|
||||
"shadow_5": "#e28c25",
|
||||
"shadow_6": "#ffa000",
|
||||
"shadow_7": "#ff8f00",
|
||||
"ear": "#e39400",
|
||||
"hair": "#6d4c41",
|
||||
"hair_beard": "#6d4c41",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"shadow": "#dba689",
|
||||
"ear": "#dba689",
|
||||
"hair": "#312d2d",
|
||||
"hair_beard": "212121",
|
||||
"hair_beard": "#212121",
|
||||
"pullover": "#00bfa5"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue