diff --git a/lib/widgets/editor.dart b/lib/widgets/editor.dart index a9f96732..87720f61 100644 --- a/lib/widgets/editor.dart +++ b/lib/widgets/editor.dart @@ -102,7 +102,7 @@ class _TextFieldEditorState extends State { ), filled: true, hoverColor: kColorTransparent, - fillColor: Theme.of(context).colorScheme.surfaceContainerLow, + fillColor: Theme.of(context).colorScheme.surfaceContainerLowest, ), ), ); diff --git a/lib/widgets/editor_json.dart b/lib/widgets/editor_json.dart index 33f026c5..3e4c2425 100644 --- a/lib/widgets/editor_json.dart +++ b/lib/widgets/editor_json.dart @@ -167,7 +167,7 @@ class _JsonTextFieldEditorState extends State { ), filled: true, hoverColor: kColorTransparent, - fillColor: Theme.of(context).colorScheme.surfaceContainerLow, + fillColor: Theme.of(context).colorScheme.surfaceContainerLowest, ), ), ), diff --git a/packages/apidash_design_system/lib/widgets/dropdown.dart b/packages/apidash_design_system/lib/widgets/dropdown.dart index 8aa90590..5cd88c8a 100644 --- a/packages/apidash_design_system/lib/widgets/dropdown.dart +++ b/packages/apidash_design_system/lib/widgets/dropdown.dart @@ -10,6 +10,7 @@ class ADDropdownButton extends StatelessWidget { this.isExpanded = false, this.isDense = false, this.iconSize, + this.fontSize, this.dropdownMenuItemPadding = kPs8, this.dropdownMenuItemtextStyle, }); @@ -20,6 +21,7 @@ class ADDropdownButton extends StatelessWidget { final bool isExpanded; final bool isDense; final double? iconSize; + final double? fontSize; final EdgeInsetsGeometry dropdownMenuItemPadding; final TextStyle? Function(T)? dropdownMenuItemtextStyle; @@ -38,6 +40,7 @@ class ADDropdownButton extends StatelessWidget { elevation: 4, style: kCodeStyle.copyWith( color: Theme.of(context).colorScheme.primary, + fontSize: fontSize ?? Theme.of(context).textTheme.bodyMedium?.fontSize, ), underline: Container( height: 0,