@@ -294,7 +294,6 @@ export const defaultTheme: DefaultTheme = {
294294 } ,
295295
296296 leading : {
297- // Targets `::slotted([slot="start"])`
298297 edge : {
299298 margin : {
300299 end : components . item . start . slot . margin . end ,
@@ -303,15 +302,13 @@ export const defaultTheme: DefaultTheme = {
303302 } ,
304303
305304 trailing : {
306- // Targets `::slotted([slot="end"])`
307305 edge : {
308306 margin : {
309307 start : components . item . end . slot . margin . start ,
310308 } ,
311309 } ,
312310 } ,
313311
314- // Targets `ion-label`
315312 label : {
316313 margin : {
317314 top : '13px' ,
@@ -321,7 +318,6 @@ export const defaultTheme: DefaultTheme = {
321318 } ,
322319 } ,
323320
324- // Targets `ion-icon`
325321 icon : {
326322 font : {
327323 /**
@@ -336,7 +332,6 @@ export const defaultTheme: DefaultTheme = {
336332 } ,
337333
338334 leading : {
339- // Targets `ion-icon[slot="start"]`
340335 edge : {
341336 margin : {
342337 top : components . item . icon . slot . margin . top ,
@@ -347,7 +342,6 @@ export const defaultTheme: DefaultTheme = {
347342 } ,
348343
349344 trailing : {
350- // Targets `ion-icon[slot="end"]`
351345 edge : {
352346 margin : {
353347 top : components . item . icon . slot . margin . top ,
@@ -357,20 +351,17 @@ export const defaultTheme: DefaultTheme = {
357351 } ,
358352 } ,
359353
360- // Default non-semantic states
361354 default : {
362355 color : components . item . icon . slot . color ,
363356 } ,
364357
365- // Any of the semantic colors like primary, secondary, etc.
366358 semantic : {
367359 default : {
368360 color : currentColor ( 'contrast' ) ,
369361 } ,
370362 } ,
371363 } ,
372364
373- // Targets `ion-note`
374365 note : {
375366 align : {
376367 self : 'flex-start' ,
@@ -395,7 +386,6 @@ export const defaultTheme: DefaultTheme = {
395386 } ,
396387 } ,
397388
398- // Targets `ion-avatar`
399389 avatar : {
400390 height : components . item . avatar . height ,
401391 width : components . item . avatar . width ,
@@ -406,7 +396,6 @@ export const defaultTheme: DefaultTheme = {
406396 } ,
407397
408398 leading : {
409- // Targets `ion-avatar[slot="start"]`
410399 edge : {
411400 margin : {
412401 end : components . item . media . start . slot . margin . end ,
@@ -415,7 +404,6 @@ export const defaultTheme: DefaultTheme = {
415404 } ,
416405
417406 trailing : {
418- // Targets `ion-avatar[slot="end"]`
419407 edge : {
420408 margin : {
421409 start : components . item . media . end . slot . margin . start ,
@@ -424,9 +412,7 @@ export const defaultTheme: DefaultTheme = {
424412 } ,
425413 } ,
426414
427- // Targets `ion-thumbnail`
428415 thumbnail : {
429- // TODO: switch from size to height and width
430416 height : components . item . thumbnail . height ,
431417 width : components . item . thumbnail . width ,
432418
@@ -436,7 +422,6 @@ export const defaultTheme: DefaultTheme = {
436422 } ,
437423
438424 leading : {
439- // Targets `ion-thumbnail[slot="start"]`
440425 edge : {
441426 margin : {
442427 end : components . item . media . start . slot . margin . end ,
@@ -445,7 +430,6 @@ export const defaultTheme: DefaultTheme = {
445430 } ,
446431
447432 trailing : {
448- // Targets `ion-thumbnail[slot="end"]`
449433 edge : {
450434 margin : {
451435 start : components . item . media . end . slot . margin . start ,
@@ -454,7 +438,6 @@ export const defaultTheme: DefaultTheme = {
454438 } ,
455439 } ,
456440
457- // Targets `h1`
458441 header1 : {
459442 margin : {
460443 top : 'var(--ion-spacing-0)' ,
@@ -464,7 +447,6 @@ export const defaultTheme: DefaultTheme = {
464447 } ,
465448 } ,
466449
467- // Targets `h2`
468450 header2 : {
469451 margin : {
470452 top : 'var(--ion-spacing-xxxs)' ,
@@ -474,7 +456,6 @@ export const defaultTheme: DefaultTheme = {
474456 } ,
475457 } ,
476458
477- // Targets `h3`
478459 header3 : {
479460 margin : {
480461 top : 'var(--ion-spacing-xxxs)' ,
@@ -484,7 +465,6 @@ export const defaultTheme: DefaultTheme = {
484465 } ,
485466 } ,
486467
487- // Targets `h4`
488468 header4 : {
489469 margin : {
490470 top : 'var(--ion-spacing-xxxs)' ,
@@ -494,7 +474,6 @@ export const defaultTheme: DefaultTheme = {
494474 } ,
495475 } ,
496476
497- // Targets `h5`
498477 header5 : {
499478 margin : {
500479 top : 'var(--ion-spacing-xxxs)' ,
@@ -504,7 +483,6 @@ export const defaultTheme: DefaultTheme = {
504483 } ,
505484 } ,
506485
507- // Targets `h6`
508486 header6 : {
509487 margin : {
510488 top : 'var(--ion-spacing-xxxs)' ,
@@ -514,7 +492,6 @@ export const defaultTheme: DefaultTheme = {
514492 } ,
515493 } ,
516494
517- // Targets `p`
518495 paragraph : {
519496 color : components . item . paragraph . color ,
520497 overflow : 'inherit' ,
0 commit comments