@@ -22,16 +22,11 @@ $root-tokens: defaults(
2222 (
2323 --black : #{$black } ,
2424 --white : #{$white } ,
25- // Fonts
26- // Note: Use `inspect` for lists so that quoted items keep the quotes.
27- // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
28- --font-sans-serif : #{meta .inspect ($font-family-sans-serif )} ,
29- --font-monospace : #{meta .inspect ($font-family-monospace )} ,
25+
3026 --gradient : #{$gradient } ,
31- --body-font-family : #{meta .inspect ($font-family-base )} ,
3227
3328 // scss-docs-start root-font-size-variables
34- --font-size-base : #{ $font-size-base } ,
29+ --font-size-base : 1 rem ,
3530 --font-size-xs : .75rem ,
3631 --font-size-sm : .875rem ,
3732 --font-size-md : 1rem ,
@@ -55,7 +50,8 @@ $root-tokens: defaults(
5550 --line-height-6xl : 1 ,
5651 // scss-docs-end root-font-size-variables
5752
58- --body-font-size : #{$font-size-base } ,
53+ --body-font-family : system-ui ,
54+ --body-font-size : var (--font-size-base ),
5955 --body-font-weight : #{$font-weight-base } ,
6056 --body-line-height : #{$line-height-base } ,
6157
@@ -67,6 +63,7 @@ $root-tokens: defaults(
6763 --link-decoration : #{$link-decoration } ,
6864 --link-hover-color : color-mix (in oklch , var (--link-color ) 90% , #000 ),
6965
66+ --font-mono : " SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace" ,
7067 --code-font-size : 95% ,
7168 --code-color : var (--fg-2 ),
7269
@@ -80,17 +77,19 @@ $root-tokens: defaults(
8077 // scss-docs-start root-border-radius-var
8178 --border-radius : .5rem ,
8279 --border-radius-xs : .375rem ,
83- --border-radius-sm : .375 rem ,
80+ --border-radius-sm : .5 rem ,
8481 --border-radius-lg : .75rem ,
8582 --border-radius-xl : 1rem ,
8683 --border-radius-2xl : 2rem ,
8784 --border-radius-pill : 50rem ,
8885 // scss-docs-end root-border-radius-var
8986
90- --box-shadow : #{$box-shadow } ,
91- --box-shadow-sm : #{$box-shadow-sm } ,
92- --box-shadow-lg : #{$box-shadow-lg } ,
93- --box-shadow-inset : #{$box-shadow-inset } ,
87+ // scss-docs-start root-box-shadow-variables
88+ --box-shadow : 0 .5rem 1rem rgb (0 0 0 / 15% ),
89+ --box-shadow-sm : 0 .125rem .25rem rgb (0 0 0 / 7.5% ),
90+ --box-shadow-lg : 0 1rem 3rem rgb (0 0 0 / 17.5% ),
91+ --box-shadow-inset : inset 0 1px 2px rgb (0 0 0 / 7.5% ),
92+ // scss-docs-end root-box-shadow-variables
9493
9594 --spacer : 1rem ,
9695
@@ -111,7 +110,7 @@ $root-tokens: defaults(
111110 --control-disabled-bg : var (--bg-3 ),
112111 --control-disabled-opacity : .65 ,
113112
114- --btn-input-min-height : 2.375 rem ,
113+ --btn-input-min-height : 2.5 rem ,
115114 --btn-input-padding-y : .375rem ,
116115 --btn-input-padding-x : .75rem ,
117116 --btn-input-font-size : var (--font-size-base ),
@@ -120,19 +119,19 @@ $root-tokens: defaults(
120119
121120 --btn-input-xs-min-height : 1.5rem ,
122121 --btn-input-xs-padding-y : .125rem ,
123- --btn-input-xs-padding-x : .375 rem ,
122+ --btn-input-xs-padding-x : .5 rem ,
124123 --btn-input-xs-font-size : var (--font-size-xs ),
125124 --btn-input-xs-line-height : 1.125 ,
126125 --btn-input-xs-border-radius : var (--border-radius-xs ),
127126
128- --btn-input-sm-min-height : 2 rem ,
127+ --btn-input-sm-min-height : 2.25 rem ,
129128 --btn-input-sm-padding-y : .25rem ,
130- --btn-input-sm-padding-x : .5 rem ,
131- --btn-input-sm-font-size : var (--font-size-xs ),
132- --btn-input-sm-line-height : var (--line-height-xs ),
129+ --btn-input-sm-padding-x : .625 rem ,
130+ --btn-input-sm-font-size : var (--font-size-sm ),
131+ --btn-input-sm-line-height : var (--line-height-sm ),
133132 --btn-input-sm-border-radius : var (--border-radius-sm ),
134133
135- --btn-input-lg-min-height : 2.75 rem ,
134+ --btn-input-lg-min-height : 3 rem ,
136135 --btn-input-lg-padding-y : .5rem ,
137136 --btn-input-lg-padding-x : 1rem ,
138137 --btn-input-lg-font-size : var (--font-size-md ),
@@ -181,14 +180,3 @@ $root-tokens: defaults(
181180
182181 color-scheme : light dark ;
183182}
184-
185- :root ,
186- [data-bs-theme = " light" ] {
187- // Root and body
188- @if $font-size-root != null {
189- --root-font-size : #{$font-size-root } ;
190- }
191- @if $body-text-align != null {
192- --body-text-align : #{$body-text-align } ;
193- }
194- }
0 commit comments