fix(docs/animationhelpers): Make text font-family sans-serif
This commit is contained in:
parent
8bffd2acd3
commit
2372243ec6
3 changed files with 9 additions and 0 deletions
|
@ -63,6 +63,7 @@ export default function Key({
|
||||||
padding={15}
|
padding={15}
|
||||||
fontWeight={600}
|
fontWeight={600}
|
||||||
fontSize={32}
|
fontSize={32}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
y={-65}
|
y={-65}
|
||||||
/>
|
/>
|
||||||
<Text
|
<Text
|
||||||
|
@ -73,6 +74,7 @@ export default function Key({
|
||||||
justifyContent={"center"}
|
justifyContent={"center"}
|
||||||
fontWeight={600}
|
fontWeight={600}
|
||||||
fontSize={60}
|
fontSize={60}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
/>
|
/>
|
||||||
</Node>
|
</Node>
|
||||||
</Node>
|
</Node>
|
||||||
|
|
|
@ -40,6 +40,7 @@ export default function Output({
|
||||||
justifyContent={"center"}
|
justifyContent={"center"}
|
||||||
fontWeight={OutputFontWeight}
|
fontWeight={OutputFontWeight}
|
||||||
fontSize={OutputFontSize}
|
fontSize={OutputFontSize}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
margin={ModifierMargin}
|
margin={ModifierMargin}
|
||||||
/>
|
/>
|
||||||
</Rect>
|
</Rect>
|
||||||
|
@ -58,6 +59,7 @@ export default function Output({
|
||||||
text={() => "SHIFT"}
|
text={() => "SHIFT"}
|
||||||
fontWeight={ModifierFontWeight}
|
fontWeight={ModifierFontWeight}
|
||||||
fontSize={ModifierFontSize}
|
fontSize={ModifierFontSize}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
margin={ModifierMargin}
|
margin={ModifierMargin}
|
||||||
/>
|
/>
|
||||||
</Rect>
|
</Rect>
|
||||||
|
@ -76,6 +78,7 @@ export default function Output({
|
||||||
text={() => "ALT"}
|
text={() => "ALT"}
|
||||||
fontWeight={ModifierFontWeight}
|
fontWeight={ModifierFontWeight}
|
||||||
fontSize={ModifierFontSize}
|
fontSize={ModifierFontSize}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
margin={ModifierMargin}
|
margin={ModifierMargin}
|
||||||
/>
|
/>
|
||||||
</Rect>
|
</Rect>
|
||||||
|
@ -94,6 +97,7 @@ export default function Output({
|
||||||
text={() => "CTRL"}
|
text={() => "CTRL"}
|
||||||
fontWeight={ModifierFontWeight}
|
fontWeight={ModifierFontWeight}
|
||||||
fontSize={ModifierFontSize}
|
fontSize={ModifierFontSize}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
margin={ModifierMargin}
|
margin={ModifierMargin}
|
||||||
/>
|
/>
|
||||||
</Rect>
|
</Rect>
|
||||||
|
@ -112,6 +116,7 @@ export default function Output({
|
||||||
text={() => "GUI"}
|
text={() => "GUI"}
|
||||||
fontWeight={ModifierFontWeight}
|
fontWeight={ModifierFontWeight}
|
||||||
fontSize={ModifierFontSize}
|
fontSize={ModifierFontSize}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
margin={ModifierMargin}
|
margin={ModifierMargin}
|
||||||
/>
|
/>
|
||||||
</Rect>
|
</Rect>
|
||||||
|
|
|
@ -25,6 +25,7 @@ export default makeScene2D(function* (view) {
|
||||||
position={tap.group.position().addY(-160)}
|
position={tap.group.position().addY(-160)}
|
||||||
fontWeight={600}
|
fontWeight={600}
|
||||||
fontSize={64}
|
fontSize={64}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
>
|
>
|
||||||
tap
|
tap
|
||||||
</Text>
|
</Text>
|
||||||
|
@ -48,6 +49,7 @@ export default makeScene2D(function* (view) {
|
||||||
position={hold.group.position().addY(-160)}
|
position={hold.group.position().addY(-160)}
|
||||||
fontWeight={600}
|
fontWeight={600}
|
||||||
fontSize={64}
|
fontSize={64}
|
||||||
|
fontFamily={"sans-serif"}
|
||||||
>
|
>
|
||||||
hold
|
hold
|
||||||
</Text>
|
</Text>
|
||||||
|
|
Loading…
Add table
Reference in a new issue