Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Variable Font を使ってみた
Search
▲
July 06, 2021
Design
250
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Variable Font を使ってみた
社内勉強会で使った資料です
▲
July 06, 2021
More Decks by ▲
See All by ▲
サーバーレスでフロントエンドも個人開発
mismith0227
0
430
見落としがちな想定漏れ
mismith0227
0
210
最近のWordPressの開発環境について調べてみた
mismith0227
1
290
gulpをやめてnpm scriptを使う
mismith0227
0
190
Tailwindcssを使ってみる
mismith0227
0
260
カンパイ本町を支える技術
mismith0227
0
3.1k
WP REST APIとReact Nativeを使ってマガジンアプリを作る
mismith0227
1
2.2k
Material - UI v1が 出そうなので使ってみた
mismith0227
0
2.3k
なんか作ってサーバーレスに触れてみた
mismith0227
0
420
Other Decks in Design
See All in Design
AIスライド生成を進化させるMDファイル
kenichiota0711
1
1.5k
設計と制作 意図を形に表す / Design and Making: Intent Made Form
usagimaru
3
2.1k
全員がアウトプットを出せる時代、 誰を採用する?
nishame
0
620
The Art of Caring
klemens
0
370
From the Visible Crossroads: Turning Outputs into Outcomes
takaikanako
2
1.5k
「親切なオンボーディング」 が招く罠 ー AI時代のUXデザイン
godlingkogami
1
140
言幹と言葉(Stems & Leaves)
kakukoki
0
160
生成AIの不確実性を価値に変える、「ビズリーチ」の体験設計 / KNOTS2026
visional_engineering_and_design
6
1.4k
2026の目標「もっと定量的に事業、会社へ貢献する!」
yuri_ohashi
0
880
エンジニアがAI活用してスライドデザインできる世界が来たよ!
kaikou
1
360
Signull 団体説明資料
signull
0
740
デザイナーが主導権を握る、AI協業の本音と実践
satosio
7
3.4k
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Designing for humans not robots
tammielis
254
26k
Making Projects Easy
brettharned
120
6.7k
Producing Creativity
orderedlist
PRO
348
40k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
560
Java REST API Framework Comparison - PWX 2021
mraible
34
9.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
360
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Into the Great Unknown - MozCon
thekraken
41
2.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Transcript
7BSJBCMF'POUΛͬͯΈͨ
7BSJBCMF'POU ɾ"EPCFɺ"QQMFɺ(PPHMFɺ.JDSPTPGU͕ ɹ݄ʹൃද ɾ7BSJBCMFʢՄมతͳʣϑΥϯτ ɹͭͷϑΥϯτϑΝΠϧ͔Βଠ͞෯ɺߴ͞ɺ ɹͦͷଞಠࣗͷϓϩύςΟΛ࿈ଓతʹมߋͰ͖Δ ɾ͍࣋ͬͯΔใϑΥϯτʹΑͬͯҧ͏
࿈ଓతͱʁ @font-face { font-family: 'Roboto Regular'; src: url('../fonts/Roboto-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Roboto Bold'; src: url('../fonts/Roboto-Bold.ttf') format('truetype'); } ݱঢ়ಉ͡ϑΥϯτͰଠ͕͞ҧ͑ ͦΕͧΕಡΈࠐΉඞཁ͕͋Δ
࿈ଓతͱʁ .regular { font-size: 48px; font-family: 'Roboto Regular', sans-serif; }
.bold { font-size: 48px; font-family: 'Roboto Bold', sans-serif; } ͦͯ͠ଠ͞ʹΑͬͯࢦఆ͢Δ
࿈ଓతͱʁ @font-face { font-family: 'Roboto Flex'; src: url('../fonts/RobotoFlex[slnt,wdth,wght,opsz].ttf') format('truetype-variations'); font-weight:
100 1000; font-stretch: 25% 151%; } όϦΞϒϧϑΥϯτҰͭͷϑΝΠϧʹ ଠ͞ͳͲͷใ͕શؚͯ·Ε͍ͯΔ
࿈ଓతͱʁ .variable-robot { font-size: 48px; font-family: 'Roboto Flex', sans-serif; font-variation-settings:
'wght' 400, 'wdth' 90, 'GRAD' 1; } ͦͷͨΊ$44ͰΛࢦఆͯ͠ ଠͦ͞ͷଞϑΥϯτ͕࣋ͭใΛͳͲͰมߋͰ͖Δ
࣮ࡍʹͬͯΈͨ
ϒϥβঢ়گ *&͓·͑ϚδͰʜ
(PPHMF'POUT ݄ʹߜΓࠐΈͷνΣοΫϘοΫε͕Ճ͞ΕͨΒ͍͠
"OJDPOT
7BSJBCMF'POUͲ͏ͳͷ ɾಡΈࠐΉϑΥϯτϑΝΠϧҰͭʹͳΔ ɾϑΥϯτͷΞχϝʔγϣϯදݱͷ෯͕͕Δ ɾϞϦαϫ͕จͷ։ൃΛͯ͠ΔΒ͍͠ ɾීٴ·ͩ·ͩઌʜʁ
৽͍ٕ͠ज़ʹ৮ΕΔͷ ָ͍͠ͷͰͬͯΈΑ͏
͓ΘΓ