Design tokens
·
5 dk okuma
5 min read
Forgotten variables: Figma dosyasında unutulan kararlar
Forgotten variables: the decisions left behind in a Figma file
Bir UI designer olarak şu zamana kadar en çok zevk aldığım konu Design Sistem olmuştur. Tasarım yapmak kreatif bakış açısı katsa da Design sistem konusu benim için tasarım yapmanın dışında bir problem çözmek olmuştur. Peki design system deyince akla ilk component yapmak gelir değil mi? Oysa Frost'un "atomik" kavramından yola çıkarsak component oluşturma sürecin orta aşamalarında biridir. İlk olarak aslında ions dediğimiz Design tokenlerı oluşturmak gerekir. Bu makalede ben sıfırdan design token rehberi sunmak yerine oluştururken karşılaştığım ve hiçbir yerde cevabını bulamadığım konuları size birer rehber olmak üzere derleyeceğim
Forgotten variable'lar, dolabında duran ama yıllardır giymediğin kıyafetler gibidir. Teknik olarak hâlâ oradadırlar ama hayatında artık gerçek bir karşılıkları yoktur. Ve yine de, her sabah ne giyeceğine karar vermeni zorlaştırırlar.
Bu "unutulmuş" variable'lar zamanla aktif sistemin içine karışmaya başlar. Özellikle publish edilmiş component library'lerle çalışırken, hangi variable'ın gerçekten "canlı" olduğunu anlamak zorlaşır. Hatta bazı ekipler, bu variable'ların nerede kullanıldığını bulamadıkları için Figma API ya da publish süreçlerinde sorun yaşadıklarını bile dile getiriyor.
Bir noktadan sonra şunu fark ettim: Bu sadece küçük bir dağınıklık değil. Bu, sistemin içinde biriken ve artık anlamını kaybetmiş kararların yarattığı bir karmaşa.
Ben de kendimi yavaş yavaş bir düzenleyiciden çok, sistemde kaybolmuş kararların izini süren biri gibi hissetmeye başladım. Ama umarım bu deneyimi paylaşarak, senin de kendi Figma dosyalarında kontrolü yeniden kazanmanı kolaylaştırabilirim.
Bu yazıda şunlara değineceğiz:
Forgotten vs. Zombie variable'lar: sistemde "aktif" olanlarla "aktif gibi görünenleri" ayırt etmek
Figma dosyanın kontrolden çıkmaya başladığını gösteren 5 işaret (ve bu noktaya nasıl geldiğin)
Bu durumu toparlamak için pratik öneriler ve gerçek deneyimler
Design system kurarken en büyük yanılgım şu olmuştu: Eğer her şey düzenli görünüyorsa, sistem sağlıklıdır.
Figma'da variables panelini açıyorsun, renkler düzgün, spacing'ler yerli yerinde, component token'ları organize... Bir noktada gerçekten şunu düşünüyorsun: "Tamam, bu sefer doğru yaptık."
Ama bir süre sonra o düzenin aslında biraz yüzeyde kaldığını fark ediyorsun.
Benim için kırılma anı çok küçük bir şeydi. Bir button üzerinde çalışıyordum ve background için variable seçecektim. Açtım listeyi... ve bir an durdum.
Aynı şeyi yapan birden fazla seçenek vardı.
İsimleri farklı ama anlamları neredeyse aynıydı. Hangisini kullanacağımı düşündüm. Sonra fark ettim ki problem seçmek değil; problem sistemin bana net bir cevap verememesi.
İşte orada şunu anladım: Biz aslında fark etmeden sistemin içine "unutulmuş" şeyler bırakıyoruz.
Ben bunlara zamanla kendi içimde bir isim vermeye başladım: forgotten variables.
Bu variable'lar genelde büyük hatalardan gelmiyor. Tam tersine, çok normal kararların sonucu.
Mesela redesign yapıyorsun. Yeni bir naming yapısı kuruyorsun. Eski token'ları direkt silmek yerine şöyle diyorsun: "Şimdilik kalsın."
Sonra başka bir gün başka bir dosyadan component import ediyorsun. Onun içindeki variable'lar da senin sisteme ekleniyor. Çok düşünmüyorsun çünkü çalışıyor.
Sonra bir gün paneli açıyorsun... ve sistem sana yabancı gelmeye başlıyor.
Silindiğini sandığın şeyler
Bunun ilk sinyali genelde çok garip bir yerden geliyor.
Bir layer seçiyorsun ve sağ panelde aslında artık var olmaması gereken bir mode görüyorsun. Daha önce sildiğini hatırlıyorsun. Hatta o variable'ları tamamen kaldırdığından eminsin.
Ama hâlâ seçilebilir. Tıklıyorsun, hiçbir şey olmuyor. Ama orada duruyor.
Bu bana hep dolaptaki eski kıyafetleri hatırlatıyor. Giymiyorsun, atmamışsın da. Sadece orada duruyor.
Sistemdeki bazı variable'lar da böyle. Kullanılmıyor ama tamamen de gitmemiş. Görünmez gibi ama etkisi devam ediyor.

Aynı isim, farklı variable
Sonra bir seviye daha ileri gidiyor. Aynı isimde iki, bazen üç tane variable görmeye başlıyorsun. Mesela üç tane "Theme" var.

Hangisi doğru? Fark yok gibi görünüyor ama aslında var.
Bu noktada sistem sana yardımcı olmuyor, seni test ediyor gibi hissediyorsun. Birini seçiyorsun ama içinden şu geçiyor: "Acaba yanlış olanı mı seçtim?"
Ve bu çok küçük bir şey gibi görünse de aslında çok kritik. Çünkü design system'ın en büyük vaadi şu: karar vermeyi kolaylaştırmak. Ama burada tam tersi oluyor.
Sahibi olmayan variable'lar
Bir gün daha ilginç bir şeyle karşılaştım. Bir component import ettim. Her şey normaldi. Ama layer panelde garip bir "Used Variables" bölümü belirdi.
Daha önce görmediğim şeyler listeleniyordu. Nereden geldiklerini bilmiyorum. Sistemde tanımlı değiller gibi. Ama bir şekilde bu component'in içinde yaşıyorlar.
Bunu şöyle hissettim: Sanki bir yerden bir şey almışım ama bana ait değil. Hani sabah uyanırsın ve yanında sana ait olmayan bir şey bulursun ya; ne zaman geldiğini hatırlamazsın. Aynı o his.
Bu variable'lar da öyle. Oradalar ama kimse sahiplenmiyor.
Silinmeyen variable'lar
En yorucu kısım ise şu oldu: Bazı variable'ları silmek istedim... ama silemedim. Yani teknik olarak sildim. Ama tamamen kaybolmadılar. Başka bir component'te tekrar karşıma çıktılar.
O an şunu fark ettim: Bazı variable'lar sistemden çıkmıyor. Sadece yer değiştiriyor. Bir yerde hâlâ bağlı kalıyorlar.
Bu noktada şunu öğrenmek zorunda kaldım: Bir variable'ı silmek, sadece onu silmek değil. Onun tüm bağlantılarını çözmek demek. Yoksa sistem seni bırakmıyor.
Eski variable'lar
Ve en sinsi problem en sona kaldı: Eski variable'lar.
Bunlar genelde redesign sonrası kalıyor. Yeni bir yapı kuruyorsun ama eskileri tamamen temizlemiyorsun. Çünkü bir ihtimal lazım olabilir diye düşünüyorsun.
Ama sonra şu oluyor: Kimse onları kullanmıyor... ama kimse silmiyor da. Bir süre sonra yeni biri dosyaya giriyor. Karşısına iki benzer seçenek çıkıyor. Biri yeni sistemden, biri eski. Ve fark etmeden eskisini seçebiliyor. Yani geçmiş, bugünün sistemine geri sızıyor.
As a UI designer, the topic I have enjoyed most so far has been the design system. Designing brings a creative point of view, but for me the design system has been about solving a problem beyond designing. So when we say design system, the first thing that comes to mind is making components, right? Yet if we start from Frost's "atomic" idea, creating components is one of the middle stages of the process. First you actually need to create design tokens, what we call ions. In this article, instead of offering a design token guide from scratch, I will put together the things I ran into while building one and could not find answers to anywhere, as a guide for you.
Forgotten variables are like the clothes that sit in your wardrobe but you have not worn for years. Technically they are still there, but they no longer have a real place in your life. And still, every morning they make it harder to decide what to wear.
These "forgotten" variables start to mix into the active system over time. Especially when working with published component libraries, it gets hard to tell which variable is really "alive". Some teams even say they have had problems with the Figma API or publishing because they could not find where these variables are used.
At some point I realised: this is not just a little clutter. It is a mess created by decisions that have piled up inside the system and lost their meaning.
I slowly started to feel less like an organiser and more like someone tracking down decisions that got lost in the system. But I hope that by sharing this experience I can make it easier for you to regain control in your own Figma files.
In this article we will cover:
Forgotten vs. zombie variables: telling apart what is "active" in the system from what only "looks active"
5 signs that your Figma file is starting to get out of control (and how you got there)
Practical suggestions and real experiences for cleaning this up
My biggest misconception when building a design system was this: if everything looks tidy, the system is healthy.
You open the variables panel in Figma, the colours are in order, spacings are in place, component tokens are organised... At some point you really think: "Okay, this time we did it right."
But after a while you notice that this order actually stays on the surface.
For me the breaking point was something very small. I was working on a button and was going to pick a variable for the background. I opened the list... and stopped for a moment.
There was more than one option doing the same thing.
The names were different but the meanings were almost the same. I thought about which one to use. Then I realised the problem was not choosing; the problem was that the system could not give me a clear answer.
That is where I understood: without noticing, we leave "forgotten" things inside the system.
Over time I started to give them a name in my own head: forgotten variables.
These variables usually do not come from big mistakes. On the contrary, they are the result of very normal decisions.
Say you are doing a redesign. You set up a new naming structure. Instead of deleting the old tokens right away you say: "Let them stay for now."
Then another day you import a component from another file. The variables inside it get added to your system too. You do not think much about it because it works.
Then one day you open the panel... and the system starts to feel foreign to you.
Things you thought you deleted
The first signal usually comes from a very odd place.
You select a layer and in the right panel you see a mode that should no longer exist. You remember deleting it before. You are even sure you removed those variables completely.
But it is still selectable. You click it, nothing happens. But it sits there.
This always reminds me of the old clothes in the wardrobe. You do not wear them, and you have not thrown them away either. They just sit there.
Some variables in the system are like that too. Not used, but not completely gone either. Almost invisible, yet their effect continues.

Same name, different variable
Then it goes one level further. You start to see two, sometimes three variables with the same name. For example, there are three "Theme"s.

Which one is right? There seems to be no difference, but there is.
At this point the system is not helping you; it feels like it is testing you. You pick one, but inside you think: "Did I pick the wrong one?"
And although this looks like a very small thing, it is actually critical. Because the biggest promise of a design system is to make decisions easier. Here the opposite happens.
Variables nobody owns
One day I ran into something more interesting. I imported a component. Everything was normal. But a strange "Used Variables" section appeared in the layer panel.
It listed things I had not seen before. I do not know where they came from. They do not seem to be defined in the system. But somehow they live inside this component.
It felt like this: as if I had taken something from somewhere, but it does not belong to me. You know when you wake up in the morning and find something next to you that is not yours, and you do not remember when it arrived. That same feeling.
These variables are like that too. They are there, but nobody claims them.
Variables that will not delete
The most tiring part was this: I wanted to delete some variables... but I could not. Technically I deleted them. But they did not disappear completely. They showed up again in another component.
In that moment I realised: some variables do not leave the system. They just move. They stay connected somewhere.
At this point I had to learn: deleting a variable is not just deleting it. It means untying all of its connections. Otherwise the system does not let you go.
Old variables
And the sneakiest problem was left for last: old variables.
These usually remain after a redesign. You build a new structure but you do not fully clean out the old ones. Because you think they might be needed some day.
But then this happens: nobody uses them... and nobody deletes them either. After a while someone new opens the file. They see two similar options. One from the new system, one from the old. And without noticing, they may pick the old one. In other words, the past leaks back into today's system.