@@ -50,6 +50,14 @@ export const TabsElement = tasty({
5050 placeContent : 'center' ,
5151 flexShrink : 0 ,
5252 placeSelf : 'stretch' ,
53+ padding : {
54+ '' : 0 ,
55+ 'type=default' : '.5x 0 .5x 1x' ,
56+ } ,
57+ gap : {
58+ '' : 0 ,
59+ 'type=default' : '.5x' ,
60+ } ,
5361 border : {
5462 '' : 0 ,
5563 'type=file' : 'right' ,
@@ -63,6 +71,14 @@ export const TabsElement = tasty({
6371 placeContent : 'center' ,
6472 flexShrink : 0 ,
6573 placeSelf : 'stretch' ,
74+ padding : {
75+ '' : 0 ,
76+ 'type=default' : '.5x 1x .5x 0' ,
77+ } ,
78+ gap : {
79+ '' : 0 ,
80+ 'type=default' : '.5x' ,
81+ } ,
6682 border : {
6783 '' : 0 ,
6884 'type=file' : 'left' ,
@@ -131,6 +147,7 @@ export const TabsElement = tasty({
131147 } ,
132148 gap : {
133149 '' : 0 ,
150+ 'type=default' : '1x' ,
134151 'type=narrow' : '2x' ,
135152 'type=radio' : '.5x' ,
136153 } ,
@@ -140,6 +157,12 @@ export const TabsElement = tasty({
140157 '' : 'max-content' ,
141158 'type=radio' : '100%' ,
142159 } ,
160+ padding : '0 $tablist-padding' ,
161+
162+ '$tablist-padding' : {
163+ '' : '0' ,
164+ 'type=default | type=narrow' : '1x' ,
165+ } ,
143166 } ,
144167
145168 // Size variable for actions (if ItemAction is used instead of TabsAction)
@@ -181,17 +204,18 @@ export const TabElement = tasty(Item, {
181204 styles : {
182205 radius : {
183206 '' : false ,
184- 'type=radio' : true ,
185- 'type=default | type= narrow' : 'top' ,
207+ 'type=radio | type=default ' : true ,
208+ 'type=narrow' : 'top' ,
186209 } ,
187210 color : {
188211 '' : '#dark-02' ,
189- '( type=default | type= narrow) & (hovered & !selected)' : '#primary-text' ,
212+ 'type=narrow & (hovered & !selected)' : '#primary-text' ,
190213 '(type=default | type=narrow) & selected' : '#primary-text' ,
191214 disabled : '#dark-04' ,
192215 } ,
193216 fill : {
194217 '' : '#clear' ,
218+ 'hovered & !type=narrow' : '#dark.03' ,
195219 'type=file' : '#light' ,
196220 'type=file & hovered' : '#light.5' ,
197221 'type=radio & hovered' : '#white.5' ,
@@ -252,6 +276,10 @@ export const TabContainer = tasty({
252276 styles : {
253277 position : 'relative' ,
254278 display : 'grid' ,
279+ margin : {
280+ '' : 0 ,
281+ 'type=default' : '.5x 0' ,
282+ } ,
255283 border : {
256284 '' : 0 ,
257285 'type=file' : 'right' ,
0 commit comments