Skip to content

Conversation

@takashimokobe
Copy link
Collaborator

@takashimokobe takashimokobe commented Oct 7, 2025

Base size tokens

This pr adds new base size tokens that represent dimensions in the 8pt grid. Naming is based off a scale number (0, 25, 100) and the baseline unit of 8pt.

size.[scaleNumber] = scaleNumber/100 * 8

This provides a scalable foundation for any dimension related system tokens to alias, including:

  • Size
  • Shape
  • Depth/Shadow
  • Font size
  • Line height
  • Space
  • Breakpoint

System token updates

  • Shadow blur updated to reference base size tokens.
  • Shadow 2nd y-offset updated to reference 1st y-offset
  • Shape token names updated to reference t-shirt sizes and alias to base size tokens
  • Font size tokens alias base size tokens
  • Line height tokens alias base size tokens
  • Type component tokens updated to alias system font-size and line-height tokens instead of base
  • Space tokens are updated in a separate PR

Deprecated

  • Base font-size
  • Base line-height
  • Base unit
  • Base type-scale
  • System shape tokens (multiplier naming)
  • Space deprecated in separate PR

Adding new size base tokens, deprecating base font-size, line-height, type-scale, and level tokens in favor of size.

System font-size, line-height tokens will alias to base size tokens. 

Type compound tokens will alias to system font-size, line-height tokens. These bundle system tokens into a style.

Shape tokens updated to use t-shirt sizing and to alias base size tokens.

Depth tokens blur updated to alias to base size tokens. Y offset of ambient shadow updated to be calculated off of the base shadow.
Font size and line height now alias base size tokens.

Compound tokens alias semantic tokens instead of deprecated font-size and line-height tokens
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Visual Comparison

sys/breakpoint.json

Token name Old value New value
breakpoints.sm none {base.unit} * 80
breakpoints.md none {base.unit} * 192
breakpoints.lg none {base.unit} * 256

sys/opacity.json

Token name Old value New value
layer-opacity.disabled "{opacity.300}*100" "{opacity.300} * 100"

sys/shape.json

Token name Old value New value
shape.zero "0rem" "{size.0}"
shape.xs none {size.50}
shape.sm none {size.100}
shape.md none {size.200}
shape.lg none {size.300}
shape.full none {size.75} * 100

sys/type.json

Token name Old value New value
font-size.subtext.sm none {size.125}
font-size.subtext.md none {size.150}
font-size.subtext.lg none {size.175}
font-size.body.sm none {size.200}
font-size.body.md none {size.225}
font-size.body.lg none {size.250}
font-size.heading.sm none {size.300}
font-size.heading.md none {size.350}
font-size.heading.lg none {size.400}
font-size.title.sm none {size.500}
font-size.title.md none {size.600}
font-size.title.lg none {size.700}
line-height.subtext.sm none {size.200}
line-height.subtext.md none {size.200}
line-height.subtext.lg none {size.250}
line-height.body.sm none {size.300}
line-height.body.md none {size.350}
line-height.body.lg none {size.350}
line-height.heading.sm none {size.400}
line-height.heading.md none {size.450}
line-height.heading.lg none {size.500}
line-height.title.sm none {size.600}
line-height.title.md none {size.700}
line-height.title.lg none {size.800}
font-weight.md none {font-weight.500}
type.subtext.sm none [object Object]
type.subtext.md none [object Object]
type.subtext.lg none [object Object]
type.body.sm none [object Object]
type.body.md none [object Object]
type.body.lg none [object Object]
type.heading.sm none [object Object]
type.heading.md none [object Object]
type.heading.lg none [object Object]
type.title.sm none [object Object]
type.title.md none [object Object]
type.title.lg none [object Object]
More styles.Subtext.Subtext S - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}","letterSpacing":"{letter-spacing.subtext.sm}"}
More styles.Subtext.Subtext S - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}","letterSpacing":"{letter-spacing.subtext.sm}"}
More styles.Subtext.Subtext S Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}","letterSpacing":"{letter-spacing.subtext.sm}","textDecoration":"underline"}
More styles.Subtext.Subtext S Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}","letterSpacing":"{letter-spacing.subtext.sm}","textDecoration":"underline"}
More styles.Subtext.Subtext S Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}","letterSpacing":"{letter-spacing.subtext.sm}","textDecoration":"underline"}
More styles.Subtext.Subtext S Mono - (400) Regular {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}"}
More styles.Subtext.Subtext S Mono - (500) Medium {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}"}
More styles.Subtext.Subtext S Mono - (700) Bold {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.25}","letterSpacing":"{letter-spacing.50}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.sm}"}
More styles.Subtext.Subtext M - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}","letterSpacing":"{letter-spacing.subtext.md}"}
More styles.Subtext.Subtext M - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}","letterSpacing":"{letter-spacing.subtext.md}"}
More styles.Subtext.Subtext M Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}","letterSpacing":"{letter-spacing.subtext.md}","textDecoration":"underline"}
More styles.Subtext.Subtext M Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}","letterSpacing":"{letter-spacing.subtext.md}","textDecoration":"underline"}
More styles.Subtext.Subtext M Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}","letterSpacing":"{letter-spacing.subtext.md}","textDecoration":"underline"}
More styles.Subtext.Subtext M Mono - (400) Regular {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}"}
More styles.Subtext.Subtext M Mono - (500) Medium {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}"}
More styles.Subtext.Subtext M Mono - (700) Bold {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.50}","fontSize":"{font-size.50}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.sm}","fontSize":"{font-size.subtext.md}"}
More styles.Subtext.Subtext L - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}","letterSpacing":"{letter-spacing.subtext.lg}"}
More styles.Subtext.Subtext L - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}","letterSpacing":"{letter-spacing.subtext.lg}"}
More styles.Subtext.Subtext L Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}","letterSpacing":"{letter-spacing.subtext.lg}","textDecoration":"underline"}
More styles.Subtext.Subtext L Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}","letterSpacing":"{letter-spacing.subtext.lg}","textDecoration":"underline"}
More styles.Subtext.Subtext L Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}","letterSpacing":"{letter-spacing.subtext.lg}","textDecoration":"underline"}
More styles.Subtext.Subtext L Mono - (400) Regular {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}"}
More styles.Subtext.Subtext L Mono - (500) Medium {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}"}
More styles.Subtext.Subtext L Mono - (700) Bold {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.100}","fontSize":"{font-size.75}","letterSpacing":"{letter-spacing.150}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.subtext.md}","fontSize":"{font-size.subtext.lg}"}
More styles.Body.Body S - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.200}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}","letterSpacing":"{letter-spacing.body.sm}"}
More styles.Body.Body S - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.200}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}","letterSpacing":"{letter-spacing.body.sm}"}
More styles.Body.Body S Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.100}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}","letterSpacing":"{letter-spacing.subtext.md}","textDecoration":"underline"}
More styles.Body.Body S Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.200}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}","letterSpacing":"{letter-spacing.body.sm}","textDecoration":"underline"}
More styles.Body.Body S Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.200}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}","letterSpacing":"{letter-spacing.body.sm}","textDecoration":"underline"}
More styles.Body.Body S Mono - (400) Regular {"fontFamily":"{font-family.100}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.150}","fontSize":"{font-size.100}","letterSpacing":"{letter-spacing.100}"} {"fontFamily":"{font-family.mono}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.body.sm}","fontSize":"{font-size.body.sm}"}
More styles.Body.Body M - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.200}","fontSize":"{font-size.125}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.md}"}
More styles.Body.Body M - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.200}","fontSize":"{font-size.125}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.md}"}
More styles.Body.Body M Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.200}","fontSize":"{font-size.125}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.md}","textDecoration":"underline"}
More styles.Body.Body M Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.200}","fontSize":"{font-size.125}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.md}","textDecoration":"underline"}
More styles.Body.Body M Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.200}","fontSize":"{font-size.125}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.md}","textDecoration":"underline"}
More styles.Body.Body L - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.200}","fontSize":"{font-size.150}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.lg}"}
More styles.Body.Body L - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.200}","fontSize":"{font-size.150}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.lg}"}
More styles.Body.Body L Link - (400) Regular {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.400}","lineHeight":"{line-height.200}","fontSize":"{font-size.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.normal}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.lg}","textDecoration":"underline"}
More styles.Body.Body L Link - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.200}","fontSize":"{font-size.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.lg}","textDecoration":"underline"}
More styles.Body.Body L Link - (700) Bold {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.700}","lineHeight":"{line-height.200}","fontSize":"{font-size.150}","textDecoration":"underline"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.bold}","lineHeight":"{line-height.body.md}","fontSize":"{font-size.body.lg}","textDecoration":"underline"}
More styles.Heading.Heading S - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.250}","fontSize":"{font-size.200}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.heading.sm}","fontSize":"{font-size.heading.sm}"}
More styles.Heading.Heading M - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.300}","fontSize":"{font-size.250}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.heading.md}","fontSize":"{font-size.heading.md}"}
More styles.Heading.Heading L - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.350}","fontSize":"{font-size.300}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.heading.lg}","fontSize":"{font-size.heading.lg}"}
More styles.Title.Title S - (300) Light {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.300}","lineHeight":"{line-height.400}","fontSize":"{font-size.400}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.light}","lineHeight":"{line-height.title.sm}","fontSize":"{font-size.title.sm}"}
More styles.Title.Title S - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.400}","fontSize":"{font-size.400}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.title.sm}","fontSize":"{font-size.title.sm}"}
More styles.Title.Title M - (300) Light {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.300}","fontSize":"{font-size.500}","lineHeight":"{line-height.500}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.light}","fontSize":"{font-size.title.md}","lineHeight":"{line-height.title.md}"}
More styles.Title.Title M - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.500}","fontSize":"{font-size.500}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.title.md}","fontSize":"{font-size.title.md}"}
More styles.Title.Title L - (300) Light {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.300}","lineHeight":"{line-height.600}","fontSize":"{font-size.600}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.light}","lineHeight":"{line-height.title.lg}","fontSize":"{font-size.title.lg}"}
More styles.Title.Title L - (500) Medium {"fontFamily":"{font-family.50}","fontWeight":"{font-weight.500}","lineHeight":"{line-height.600}","fontSize":"{font-size.600}"} {"fontFamily":"{font-family.default}","fontWeight":"{font-weight.md}","lineHeight":"{line-height.title.lg}","fontSize":"{font-size.title.lg}"}

@takashimokobe takashimokobe changed the base branch from main to develop October 7, 2025 21:44
@RayRedGoose RayRedGoose changed the base branch from develop to prerelease/major October 7, 2025 21:55
Comment on lines 3 to 9
"unit": {
"value": "0.25rem",
"type": "dimension",
"description": "The base unit used for the typographic grid system.\n",
"deprecated": true,
"deprecatedComment": "Use {base.baseline} instead for consistent sizing calculations"
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated tokens should be listed in different json in deprecated folder

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah okay, one sec

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be done

Removed deprecated level configuration from shadow.json.
Removed deprecated base unit definition from size.json.
Removed deprecated font sizes and line heights from typography.json. Moved to deprecated folder
@mannycarrera4
Copy link
Contributor

@takashimokobe shape still has round

"fontWeight": "{font-weight.medium}",
"lineHeight": "{line-height.subtext.small}",
"fontSize": "{font-size.subtext.medium}",
"letterSpacing": "{letter-spacing.subtext.medium}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be md or medium

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'll update this

}
}
},
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this comma

Copy link
Contributor

@mannycarrera4 mannycarrera4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work @takashimokobe ty!!

"half": {
"value": "{base.unit} * 0.5",
"xs": {
"value": "{size.100}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in decision log it said 4px, so {size.50}, what is the correct value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be size.50

Comment on lines +135 to +150
"value": "{letter-spacing.50}",
"type": "number"
},
"md": {
"value": "{letter-spacing.100}",
"type": "number"
},
"lg": {
"value": "{letter-spacing.150}",
"type": "number"
}
},
"body": {
"sm": {
"value": "{letter-spacing.200}",
"type": "number"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it use size token too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think letter spacing uses size token?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, letter-spacing spacing is a decimal value (for our use case) - 0.4 through 0.16

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see now

takashimokobe and others added 2 commits October 30, 2025 10:45
Was mapped to incorrect value
"value": 0.24,
"type": "number"
},
"200": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah i see, this doesn't use size?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, letter-spacing is a decimal or percentage

we could use math but feel unnecessary

Copy link
Contributor

@RayRedGoose RayRedGoose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @takashimokobe for quick fixes

Comment on lines +135 to +150
"value": "{letter-spacing.50}",
"type": "number"
},
"md": {
"value": "{letter-spacing.100}",
"type": "number"
},
"lg": {
"value": "{letter-spacing.150}",
"type": "number"
}
},
"body": {
"sm": {
"value": "{letter-spacing.200}",
"type": "number"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see now

@RayRedGoose RayRedGoose merged commit 62dbc23 into prerelease/major Oct 30, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Canvas Kit Oct 30, 2025
@RayRedGoose RayRedGoose deleted the taka-size-updates branch October 30, 2025 18:04
@RayRedGoose RayRedGoose restored the taka-size-updates branch October 30, 2025 18:42
@RayRedGoose RayRedGoose deleted the taka-size-updates branch October 30, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants