@@ -35,6 +35,7 @@ import org.jetbrains.jewel.ui.DefaultComponentStyling
3535import org.jetbrains.jewel.ui.LocalMenuItemShortcutHintProvider
3636import org.jetbrains.jewel.ui.LocalMenuItemShortcutProvider
3737import org.jetbrains.jewel.ui.LocalTypography
38+ import org.jetbrains.jewel.ui.component.styling.BadgeStyle
3839import org.jetbrains.jewel.ui.component.styling.ButtonStyle
3940import org.jetbrains.jewel.ui.component.styling.CheckboxStyle
4041import org.jetbrains.jewel.ui.component.styling.ChipStyle
@@ -243,6 +244,7 @@ public fun ComponentStyling.default(): ComponentStyling = with {
243244
244245@Suppress(" UnusedReceiverParameter" )
245246public fun ComponentStyling.dark (
247+ badgeStyle : BadgeStyle = BadgeStyle .dark(),
246248 checkboxStyle : CheckboxStyle = CheckboxStyle .dark(),
247249 chipStyle : ChipStyle = ChipStyle .dark(),
248250 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .dark(),
@@ -280,6 +282,7 @@ public fun ComponentStyling.dark(
280282 searchMatchStyle : SearchMatchStyle = SearchMatchStyle .dark(),
281283): ComponentStyling =
282284 DefaultComponentStyling (
285+ badgeStyle = badgeStyle,
283286 checkboxStyle = checkboxStyle,
284287 chipStyle = chipStyle,
285288 circularProgressStyle = circularProgressStyle,
@@ -320,6 +323,7 @@ public fun ComponentStyling.dark(
320323@Suppress(" UnusedReceiverParameter" , " DEPRECATION_ERROR" )
321324@Deprecated(" Use the variant with speedSearchStyle." , level = DeprecationLevel .HIDDEN )
322325public fun ComponentStyling.dark (
326+ badgeStyle : BadgeStyle = BadgeStyle .dark(),
323327 checkboxStyle : CheckboxStyle = CheckboxStyle .dark(),
324328 chipStyle : ChipStyle = ChipStyle .dark(),
325329 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .dark(),
@@ -355,6 +359,7 @@ public fun ComponentStyling.dark(
355359 undecoratedDropdownStyle : DropdownStyle = DropdownStyle .Undecorated .dark(),
356360): ComponentStyling =
357361 DefaultComponentStyling (
362+ badgeStyle = badgeStyle,
358363 checkboxStyle = checkboxStyle,
359364 chipStyle = chipStyle,
360365 circularProgressStyle = circularProgressStyle,
@@ -395,6 +400,7 @@ public fun ComponentStyling.dark(
395400@Suppress(" UnusedReceiverParameter" , " DEPRECATION_ERROR" )
396401@Deprecated(" Use the variant with transparentIconButtonStyle." , level = DeprecationLevel .HIDDEN )
397402public fun ComponentStyling.dark (
403+ badgeStyle : BadgeStyle = BadgeStyle .dark(),
398404 checkboxStyle : CheckboxStyle = CheckboxStyle .dark(),
399405 chipStyle : ChipStyle = ChipStyle .dark(),
400406 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .dark(),
@@ -429,6 +435,7 @@ public fun ComponentStyling.dark(
429435 undecoratedDropdownStyle : DropdownStyle = DropdownStyle .Undecorated .dark(),
430436): ComponentStyling =
431437 DefaultComponentStyling (
438+ badgeStyle = badgeStyle,
432439 checkboxStyle = checkboxStyle,
433440 chipStyle = chipStyle,
434441 circularProgressStyle = circularProgressStyle,
@@ -468,6 +475,7 @@ public fun ComponentStyling.dark(
468475
469476@Suppress(" UnusedReceiverParameter" )
470477public fun ComponentStyling.light (
478+ badgeStyle : BadgeStyle = BadgeStyle .light(),
471479 checkboxStyle : CheckboxStyle = CheckboxStyle .light(),
472480 chipStyle : ChipStyle = ChipStyle .light(),
473481 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .light(),
@@ -505,6 +513,7 @@ public fun ComponentStyling.light(
505513 searchMatchStyle : SearchMatchStyle = SearchMatchStyle .light(),
506514): ComponentStyling =
507515 DefaultComponentStyling (
516+ badgeStyle = badgeStyle,
508517 checkboxStyle = checkboxStyle,
509518 chipStyle = chipStyle,
510519 circularProgressStyle = circularProgressStyle,
@@ -545,6 +554,7 @@ public fun ComponentStyling.light(
545554@Suppress(" UnusedReceiverParameter" , " DEPRECATION_ERROR" )
546555@Deprecated(" Use the variant with speedSearchStyle." , level = DeprecationLevel .HIDDEN )
547556public fun ComponentStyling.light (
557+ badgeStyle : BadgeStyle = BadgeStyle .light(),
548558 checkboxStyle : CheckboxStyle = CheckboxStyle .light(),
549559 chipStyle : ChipStyle = ChipStyle .light(),
550560 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .light(),
@@ -580,6 +590,7 @@ public fun ComponentStyling.light(
580590 undecoratedDropdownStyle : DropdownStyle = DropdownStyle .Undecorated .light(),
581591): ComponentStyling =
582592 DefaultComponentStyling (
593+ badgeStyle = badgeStyle,
583594 checkboxStyle = checkboxStyle,
584595 chipStyle = chipStyle,
585596 circularProgressStyle = circularProgressStyle,
@@ -620,6 +631,7 @@ public fun ComponentStyling.light(
620631@Suppress(" UnusedReceiverParameter" , " DEPRECATION_ERROR" )
621632@Deprecated(" Use the variant with transparentIconButtonStyle." , level = DeprecationLevel .HIDDEN )
622633public fun ComponentStyling.light (
634+ badgeStyle : BadgeStyle = BadgeStyle .light(),
623635 checkboxStyle : CheckboxStyle = CheckboxStyle .light(),
624636 chipStyle : ChipStyle = ChipStyle .light(),
625637 circularProgressStyle : CircularProgressStyle = CircularProgressStyle .light(),
@@ -654,6 +666,7 @@ public fun ComponentStyling.light(
654666 undecoratedDropdownStyle : DropdownStyle = DropdownStyle .Undecorated .light(),
655667): ComponentStyling =
656668 DefaultComponentStyling (
669+ badgeStyle = badgeStyle,
657670 checkboxStyle = checkboxStyle,
658671 chipStyle = chipStyle,
659672 circularProgressStyle = circularProgressStyle,
0 commit comments