シャドーイング練習: Tokens vs Variables in Tokens Studio for Figma | Variables Series - 動画で英語スピーキングを学ぶ

レッスンを作成中...
1
Hi designers and tokens peeps!
2
Sam A.M here on behalf of the Token Studio team to talk about variables.
3
In this video, you'll learn about the differences between Figma's variables and design tokens, as well as the features in the Token Studio plugin for Figma
4
that allow you to create variables that are synced to design tokens.
5
This is the first video in a series where I'll walk you through all things variables
6
in Token Studio step by step using a community file I've created for you so you can follow along.
7
But before we get into the hands-on stuff, I want to take a step back
8
and think about what is a design token and how is that different from a variable?
9
Well, it depends on who you ask.
10
So if I give you a second to think about it, what do you think a design token is?
11
Me personally, I define a design token as a design decision.
12
That's a pretty simple response.
13
If you want to go deeper, I could say it has a human readable name and it follows a specific format and we use it in code.
14
But I was really curious, what does the community think?
15
So I sent out a little survey and I asked them, what is a design token?
16
If someone new on your team asked you, what would you say?
17
Well most of us agree that a design decision is a part of what a design token is.
18
A lot of people also mentioned this concept of design to code, or collaboration between development and design, which is pretty awesome.
19
And a small percentage of people mentioned variable, which is not exactly right.
20
But we're going to go over that in a sec.
21
It looks like we're all kind of on the same page about what a design token means, and that it has something to do with a design decision, but the rest of it is a little bit fuzzy.
22
And I think that's understandable given how new of a concept design tokens are.
23
You may be thinking, how new is it?
24
The term design tokens originated at Salesforce.
25
If you head to the Token Studio website under Getting Started, we've got more details on the design tokens origin story that you can check out.
26
In 2019, a group of people got together to form the Design Tokens Community Group.
27
They've created a draft of what they propose the web standards for Design Tokens should be.
28
They host these specifications on the W3C Community and Business Groups pages.
29
So, when you hear us token nerds talking about the spec, or W3C, or WC3 because we mix it up all the time,
30
we're talking about this document.
31
I'll drop the links to the most recent draft of the spec
32
and their Twitter page in the description below below in case you want to check that out.
33
But if reading a long technical document isn't your thing, don't worry, I got you.
34
So how does the W3C spec define a design token?
35
Design tokens are a methodology for expressing design decisions in a platform agnostic way so they can be shared across different disciplines, tools, and technologies.
36
They help establish a common vocabulary across organizations.
37
So I wasn't totally wrong when I said a design token is a design decision.
38
There's just some other things to consider as well.
39
And it turns out the community has a pretty solid understanding of what a design token is, which is awesome.
40
And now that we know what a design token is, we can look at variables from Figma.
41
So like I mentioned before, a variable variable is not a design token.
42
And actually, if you look at the Figma documentation for variables, they say a variable is a representation of a design token.
43
And here it says a variable is a way to create design tokens.
44
Over here it says a variable is a way to implement design tokens.
45
So to simplify this, I'm going to group these things together and say a variable is not a design token.
46
A variable is a representation of a design token.
47
Just like a style or even a design property can be a representation or an expression of a design token in Figma.
48
Alright, before we get our hands dirty and start working with tokens, I want to talk about the different names for the same things between variables in Figma and Token Studio.
49
Because the difference between collections and modes and themes and theme groups and theme switching and mode switching is all very confusing.
50
I don't know about you, but I must have called a variable a variant at least a million times.
51
We already know that a design token can be represented in Figma as a variable.
52
What you might not know is a design token is identified by its name.
53
So it makes sense that the name of a design token will match the name of its variable.
54
Now, there are some specifics about how you name your tokens so that they are grouped properly, which helps in organizing your tokens or variables.
55
And there are some specs on what can and cannot be included in a token's name, as well as a whole debatable conversation about how to name your tokens.
56
So I'll cover naming tokens and variables in a future video.
57
In Figma, variables live in collections, whereas in Token Studio, design tokens live in token sets which are grouped into themes.
58
So a theme group is actually the same thing as a collection.
59
And this is because, if you'll recall, that tokens are supposed to be platform agnostic and use a common language.
60
It means under the hood, design tokens live in JSON files.
61
The Token Studio plugin is essentially a no-code way to write a JSON file full of design tokens tokens
62
that can be transformed into any programming language using code.
63
In fact, you can edit your tokens via the JSON editor from within the Token Studio plugin
64
if you're faster at editing code.
65
I am not.
66
You can also sync your JSON files with code using one of our integrated sync providers.
67
We have design tokens living in token sets, which are grouped into themes.
68
And those theme groups will create collections of variables.
69
Now, what about modes for say, different brands?
70
In this example, I'm managing four different brands.
71
They all have a different brand color, but that's about the only thing that's different.
72
It's a pretty simple example.
73
So in Token Studio, I would create a token set for each brand.
74
They would have the same tokens with the same names, like brand color, primary default,
75
different values to reflect each brand's unique color.
76
When we create a theme group for brand colors, and we create different themes within that group, I'm going to create brand A as a theme, brand B as a theme,
77
brand C as a theme, and so on.
78
They will all live in the brand colors theme group.
79
We'll use the Token Studio plugin to create variable collections, and it will automatically use Figma's modes feature to allow for the variables with the same names,
80
which match the design tokens with the same name, to live in a collection with the same name as the brand colors theme group.
81
These are organized into modes.
82
The name of each mode matches the name of the theme.
83
So, token names match variable names.
84
Theme group names match collection names and the names of themes match modes in Figma.
85
It's important to remember that variables in Figma are still in beta.
86
They don't have variables to match every token type that exists.
87
In fact, there are many, many more types of tokens than there are variables.
88
I'll go through each variable type and their matching token types in their own videos.
89
So to recap, We learned that a design token expresses a design decision in a common language that is platform agnostic.
90
And a variable is not a design token.
91
A variable is a representation of a design token in Figma.
92
Design tokens follow the W3C spec
93
and you can use the Token Studio plugin to create variables that are synced to design tokens.
94
In Token Studio, design tokens live in token sets, which are a no-code version of a JSON file.
95
Tokens living in token sets are grouped into themes, and those theme groups can be used to create variable collections in Figma,
96
with modes that match the themes in Token Studio.
97
So, while a variable is not a design token, they do have a lot of similarities.
98
If you want to learn more about creating and syncing design tokens to variables, to variables, be sure to check out the other videos in the variables series.

この動画で話す練習をする理由は?

この動画では、Figmaでのトークンスタジオに関する重要な概念、すなわちデザイントークンと変数について学べます。この内容は、デザインとプログラミングの交差点に立つ人々にとって特に有益です。動画内の実践的なステップを通じて、英語の専門用語を学びながら、英語スピーキング練習に役立つ実用的なスキルを磨くことができます。特に、サムが提示する事例に基づく回答や討論は、実際の会話の中で活用できるフレーズやアイデアを提供します。

文法と表現の文脈

この動画で使われている主な構造を以下に紹介します:

  • 定義の提示:サムはデザイントークンや変数の定義について考える時間を与え、視聴者に考えさせる場面がありました。このように構造化された質問は、会話を深めるのに役立ちます。
  • 比較と対比:デザイントークンと変数の違いを明確にすることで、議論が明確になるようにしています。このアプローチは、話のポイントを強調するために非常に効果的です。
  • コミュニティの意見:視聴者からの意見を紹介することで、多様な視点を取り入れることができ、自己の意見形成にも役立ちます。

一般的な発音の罠

動画内には発音に関するいくつかの難しい単語やアクセントが含まれています。特に注意が必要なのは以下の点です:

  • トークン(token):日本語では「トークン」として使われることが多いですが、英語で発音する際は正確なアクセントを意識しましょう。
  • デザイン(design):この単語は最初の母音とゼー音に注意し、一貫した発音を心掛けましょう。
  • 変数(variable):この単語は、言葉の流れの中でしばしばあいまいになるので、正確な発音で意味を明確にすることが大切です。

これらのポイントに注意しながら、YouTubeで英語学習を続け、英語シャドーイングの技術を磨いていきましょう。これにより、IELTS スピーキング対策や一般的な会話能力の向上が期待できます。

シャドーイングとは?英語上達に効果的な理由

シャドーイング(Shadowing)は、もともとプロの通訳者養成プログラムで開発された言語学習法で、多言語習得者として知られるDr. Alexander Arguelles によって広く普及されました。方法はシンプルですが非常に効果的:ネイティブスピーカーの英語を聞きながら、1〜2秒の遅延で声に出してすぐに繰り返す——まるで「影(shadow)」のように話者を追いかけます。文法ドリルや受動的なリスニングと異なり、シャドーイングは脳と口の筋肉が同時にリアルタイムで英語を処理・再現することを強制します。研究により、発音精度、抑揚、リズム、連音、リスニング力、そして会話の流暢さが大幅に向上することが確認されています。IELTSスピーキング対策や自然な英語コミュニケーションを目指す方に特におすすめです。