Skip to content

Commit 630e961

Browse files
feat(tokens): add app frame side nav tokens
1 parent 0e9da96 commit 630e961

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tokens/custom/large-vars.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,10 @@
138138
--spectrum-field-edge-to-icon-100: 9px;
139139
--spectrum-field-edge-to-icon-200: 11px;
140140
--spectrum-field-edge-to-icon-300: 14px;
141+
142+
/* To-do: For app frame demo purposes only;
143+
would not convert to SWC. Would need a token.
144+
This value is just a guesstimate. */
145+
--spectrum-app-side-nav-min-inline-size-expanded: 160px;
146+
--spectrum-app-side-nav-min-inline-size-minimized: 64px;
141147
}

tokens/custom/medium-vars.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,8 @@
136136
--spectrum-field-edge-to-icon-100: 5px;
137137
--spectrum-field-edge-to-icon-200: 6px;
138138
--spectrum-field-edge-to-icon-300: 10px;
139+
140+
/* To-do: For app frame demo purposes only. This token is not in the design spec. */
141+
--spectrum-app-side-nav-min-inline-size-expanded: 140px;
142+
--spectrum-app-side-nav-min-inline-size-minimized: 56px;
139143
}

0 commit comments

Comments
 (0)