Automatically translated.View original post

How to name Token to dev not damn (in mind)

The ux / ui designer may have encountered it when we designed it in figma with pure color.

"Where should I use this color?"

# uxuidesign # desinger

6/1 Edited to

... Read moreจากประสบการณ์ตรงในการทำงาน UX/UI Design การตั้งชื่อ Token สีที่ชัดเจนและเป็นระบบนั้น ช่วยลดความสับสนให้กับทีมพัฒนาได้อย่างมาก โดยเฉพาะการแยกชื่อสีออกเป็น 3 รูปแบบหลัก คือ 1. Primitive Token: คือชื่อสีเรียบง่ายตามเฉดสีและระดับความเข้ม เช่น Blue-500, Yellow-100 ซึ่งตรงไปตรงมาแต่ยังขาดบริบทการใช้งาน 2. Semantic Token: ตั้งชื่อตามหน้าที่หรือบริบทของการใช้สีในแอป เช่น color-background-primary, color-text-error ที่บอกว่าใช้สีสำหรับส่วนใดของ UI เช่นพื้นหลังหลักหรือข้อความผิดพลาด ทำให้เวลาต้องเปลี่ยนสี เราเปลี่ยนแค่ค่าสี Token เท่านั้นโดยไม่ต้องแก้โค้ดส่วนอื่นๆ 3. Component Token: เชื่อมโยงกับ component UI โดยตรง เช่น สีปุ่มหลัก button-color-background-primary หรือสีไอคอนในปุ่ม button-color-icon-primary การตั้งชื่อแบบนี้ไม่เพียงแต่ช่วยให้ Dev เข้าใจความหมายของสีแต่ละตัวได้ชัดเจน ยังช่วยให้การทำงานร่วมกับ Figma และการสื่อสารภายในทีมมีประสิทธิภาพมากขึ้น เคล็ดลับเพิ่มเติมคือ การตั้งชื่อ Token ควรสอดคล้องกับข้อตกลงภายในทีม เรียบง่ายและสื่อความหมายตรงกันเพื่อให้ทุกคนในทีมทั้ง Designer และ Developer เข้าใจตรงกันโดยไม่ต้องตีความเพิ่ม นอกจากนี้ การใช้โครงสร้างชื่อแบบ Semantic ยังช่วยในเรื่องการทำ Dark Mode หรือการปรับธีมโดยเปลี่ยนค่าของ Token เหล่านี้เพียงจุดเดียว โดย UI จะเปลี่ยนตามไปด้วยโดยอัตโนมัติ เป็นอีกหนึ่งวิธีที่ช่วยประหยัดเวลาและรักษามาตรฐานการออกแบบให้สม่ำเสมอ ท้ายที่สุด ความยืดหยุ่นในการตั้งชื่อ Token เป็นสิ่งสำคัญ เนื่องจากแต่ละทีมและโปรเจ็กต์อาจมีแนวทางการทำงานที่แตกต่างกัน แนะนำให้หาแนวทางที่ทีมใช้งานได้ง่าย และทุกคนเปิดใจพร้อมที่จะปรับเปลี่ยนเพื่อให้สอดคล้องกับความต้องการของงานจริง ๆ

Related posts

Sleep token ✨
#sleeptoken #sleeptokenvessel #band #eveninarcadia
hearts2.abby

hearts2.abby

1090 likes

My Sleep Token Recap 05•25•24
One word to describe my first concert, ETHEREAL🖤 #music #concert #PhotoDump #sleeptoken #Lemon8Diary #travelwithme2024 #enjoy
Zoey Schwartz

Zoey Schwartz

35 likes

An aerial view of the Sleep Token "Even In Arcadia" concert stage, featuring an elaborate set design with blue and green lighting, confetti, and a large audience in Philadelphia.
A smiling woman in a long-sleeved top, shorts, and fishnet stockings poses in an arena box seat, with the concert stage and audience visible in the background.
A blurry, dark image shows a figure on the concert stage, illuminated by a bright blue light, likely a performer during the Sleep Token concert.
SLEEP TOKEN EVEN IN ARCADIA RITUAL
When I tell you this is the best night I've ever lived, I really mean it. Seeing my all time favorite band made more than just my year 🖤 #sleeptoken #eveninarcadia #philadelphia #vessel #concerts
𝕿𝖆𝖞𝖑𝖔𝖗 ᛑᛗᛛ

𝕿𝖆𝖞𝖑𝖔𝖗 ᛑᛗᛛ

25 likes

A full back tattoo featuring a sword with a red gem hilt, surrounded by roses and leaves. The text 'Putting down the roses Picking up the sword' is inscribed along the blade. The person wears a striped shirt pulled down.
Sleep Token tattoo ✨
Hailey

Hailey

383 likes

A dark, cloaked figure with large wings stands in a misty landscape with pink cherry blossoms. The Sleep Token logo is at the top, and a pink banner reads "some of my favorite sleep token lyrics."
A screenshot displays lyrics from Sleep Token's song "Jaws" on a black background, including lines like "Show me those pretty white jaws" and "Show me what wounds you've got."
A screenshot displays lyrics from Sleep Token's song "Take Aim" on a black background, featuring lines such as "Made me hate myself" and "Made me yearn for your embrace."
sleep token has my heart
i could make so many posts about this, vessel is just an amazing lyricist #sleeptoken #sleeptokenlyrics #vessel #metal #rock
jayden

jayden

471 likes

The image displays a music playlist titled "Scuttle Token," featuring neon-style logos for "Duane Scuttlebutt & The Fog-Town Five" and a symbol resembling Sleep Token's. It lists tracks like "The Night Does Not Belon...", "Gethsemane," and "Sugar," indicating a country-themed music selection.
Country Sleep Token?!
ive lived in this Playlist for 2 weeks now lol. Didnt think id like it when I saw it but it slaps! #sleeptoken #country #countryrockremix
KryssieDawn

KryssieDawn

3 likes

A dark, winged figure resembling a grim reaper with glowing red eyes and a scythe, hanging as a Christmas ornament from a snowy pine branch.
A heavily armored figure with a red and white mask, holding a lantern and a weapon, hanging as a Christmas ornament from a snowy pine branch.
A black and white geometric symbol, possibly a Sleep Token logo, wearing a red Santa hat, hanging as a Christmas ornament from a snowy pine branch.
✨ Sleep Token Christmas vibes ✨
#sleeptoken #lore #chritmasvibes
Freyja’ M

Freyja’ M

26 likes

A dark green Sleep Token t-shirt features a pink logo surrounded by pink and white floral designs. A Spencer's tag with multiple 'SMALL' size labels is visible.
The back of a dark green long-sleeve shirt displays a pink compass-like design. The text 'EVEN IN ARCADIA' is printed in pink around the circular graphic.
A light-colored Sleep Token t-shirt shows a hexagonal logo in dark green and gold. A Spencer's tag with multiple 'X-LARGE' size labels is attached to the shirt.
Sleep token
Love my two new test design shirts I’ve gotten recently at Spencer’s!!! These are designs being tested at one of our locations to see how they sell ~ #sleeptoken #sleeptokenband #eveninarcadia #spencers #worship
Nixon

Nixon

65 likes

Sleep Token is definitely my new obsession!!
What’s you’re favorite sleep token song 🥰 #sleeptokenband #favoriteband
soft_girlvibes

soft_girlvibes

406 likes

A meme featuring text 'The book: he sliced some white bread Netflix adaptation:' above an image. A person's hands are shown slicing a dark, seeded loaf of bread on a wooden board, with two dark slices already cut next to it.
Tell me I’m wrong 👀 Name a movie like this 🤣
Don’t get me wrong—I love a good show, and I’m all about representation (coming from a Black guy myself). But what really bothers me is when stories change a character’s skin color or orientation randomly just to reach a specific audience. It feels like a quick fix rather than genuine representatio
tonydeclass

tonydeclass

744 likes

Token
#yugioh #yugiohcommunity #yugiohcollection #yugiohmasterduel #cardgame
Venâncio art ✏️

Venâncio art ✏️

18 likes

Caramel - Sleep Token
Vessel broke the fourth wall to make this song, the pain in his lyrics were caused by “fans” this time. The band did not deserve to loose their peace in their every day life. We put celebrities on a pedestal from admiration, they’re still human though with real feelings and real lives. Slee
✨Maxxine ✨

✨Maxxine ✨

98 likes

Listen here Sleep Token,Vessel Marie Token& Jerry
❗️This is for #sleeptoken and/or Vessel Marie Token oh and obviously Jerry,if you not them scroll on❗️....I'll hold you hand while I say this....HURRY UP WITH UK TOUR DATES!!!! ok luv ya bye ✌🏻 #worship #ritual #downloadfest
Miss_S_Spring

Miss_S_Spring

3 likes

A concert stage features a large screen displaying Sleep Token's glowing, intricate symbol in pink and purple light, with the text 'Sleep Token 2025' above it, and an audience visible below.
An outdoor digital display on a building, likely Barclays Center, advertises 'SLEEP TOKEN THE EVEN IN ARCADIA TOUR WITH SPECIAL GUESTS THORNHILL'.
A large banner inside a venue announces 'SLEEP TOKEN THE EVEN IN ARCADIA TOUR WITH SPECIAL GUESTS THORNHILL SEPTEMBER 22, 2025 SOLD OUT BARCLAYS CENTER'.
Sleep Token
Sleep Token brought their Even In Arcadia Tour to Brooklyn, New York. It was an incredible show. The band’s popularity has grown so much in the past two years. They went from playing Webster Hall to Radio City Music Hall and recently The Barclays Center. I’m in awe of this show and am still smiling
JackEValentine

JackEValentine

115 likes

Sleep token concert makeup
I was lucky enough to see them live in Boston during their Teeth of God Tour and it was amazing!!! This makeup look was perfect #concertmakeupideas #getreadywithmeconcert #sleeptoken
Lioncourt Studio

Lioncourt Studio

48 likes

Sleep Token Vinyl!!!
#sleeptoken #sleeptokenvessel #vinyl #fyp
Kaya

Kaya

2 likes

See more