@@ -25,8 +25,8 @@ governing permissions and limitations under the License.
25
25
--spectrum-button-border-radius : calc (var (--spectrum-button-height ) / 2 );
26
26
--spectrum-button-border-width : var (--spectrum-border-width-200 );
27
27
28
- /* @todo set line-height using font size specific line-height tokens when they are finalized. */
29
- --spectrum-button-line-height : 1.285714 ;
28
+ /* @todo set line-height using font size specific line-height tokens when they are finalized along with the new variable font . */
29
+ --spectrum-button-line-height : 1.2 ;
30
30
--spectrum-button-font-weight : var (--spectrum-bold-font-weight );
31
31
--spectrum-button-font-size : var (--spectrum-font-size-100 );
32
32
@@ -48,8 +48,6 @@ governing permissions and limitations under the License.
48
48
--spectrum-button-min-width : calc (var (--spectrum-component-height-75 ) * var (--spectrum-button-minimum-width-multiplier ));
49
49
--spectrum-button-height : var (--spectrum-component-height-75 );
50
50
51
- /* @todo set line-height using font size specific line-height tokens when they are finalized. */
52
- --spectrum-button-line-height : 1.333333 ;
53
51
--spectrum-button-font-size : var (--spectrum-font-size-75 );
54
52
55
53
--spectrum-button-edge-to-visual : calc (var (--spectrum-component-pill-edge-to-visual-75 ) - var (--spectrum-button-border-width ));
@@ -70,8 +68,6 @@ governing permissions and limitations under the License.
70
68
--spectrum-button-min-width : calc (var (--spectrum-component-height-200 ) * var (--spectrum-button-minimum-width-multiplier ));
71
69
--spectrum-button-height : var (--spectrum-component-height-200 );
72
70
73
- /* @todo set line-height using font size specific line-height tokens when they are finalized. */
74
- --spectrum-button-line-height : 1.25 ;
75
71
--spectrum-button-font-size : var (--spectrum-font-size-200 );
76
72
77
73
--spectrum-button-edge-to-visual : calc (var (--spectrum-component-pill-edge-to-visual-200 ) - var (--spectrum-button-border-width ));
@@ -88,8 +84,6 @@ governing permissions and limitations under the License.
88
84
--spectrum-button-min-width : calc (var (--spectrum-component-height-300 ) * var (--spectrum-button-minimum-width-multiplier ));
89
85
--spectrum-button-height : var (--spectrum-component-height-300 );
90
86
91
- /* @todo set line-height using font size specific line-height tokens when they are finalized. */
92
- --spectrum-button-line-height : 1.333333 ;
93
87
--spectrum-button-font-size : var (--spectrum-font-size-300 );
94
88
95
89
--spectrum-button-edge-to-visual : calc (var (--spectrum-component-pill-edge-to-visual-300 ) - var (--spectrum-button-border-width ));
0 commit comments