Skip to content

Commit b7f3b81

Browse files
committed
Style fixes
1 parent b040e22 commit b7f3b81

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

lib/widgets/editor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class _TextFieldEditorState extends State<TextFieldEditor> {
102102
),
103103
filled: true,
104104
hoverColor: kColorTransparent,
105-
fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
105+
fillColor: Theme.of(context).colorScheme.surfaceContainerLowest,
106106
),
107107
),
108108
);

lib/widgets/editor_json.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class _JsonTextFieldEditorState extends State<JsonTextFieldEditor> {
167167
),
168168
filled: true,
169169
hoverColor: kColorTransparent,
170-
fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
170+
fillColor: Theme.of(context).colorScheme.surfaceContainerLowest,
171171
),
172172
),
173173
),

packages/apidash_design_system/lib/widgets/dropdown.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class ADDropdownButton<T> extends StatelessWidget {
1010
this.isExpanded = false,
1111
this.isDense = false,
1212
this.iconSize,
13+
this.fontSize,
1314
this.dropdownMenuItemPadding = kPs8,
1415
this.dropdownMenuItemtextStyle,
1516
});
@@ -20,6 +21,7 @@ class ADDropdownButton<T> extends StatelessWidget {
2021
final bool isExpanded;
2122
final bool isDense;
2223
final double? iconSize;
24+
final double? fontSize;
2325
final EdgeInsetsGeometry dropdownMenuItemPadding;
2426
final TextStyle? Function(T)? dropdownMenuItemtextStyle;
2527

@@ -38,6 +40,7 @@ class ADDropdownButton<T> extends StatelessWidget {
3840
elevation: 4,
3941
style: kCodeStyle.copyWith(
4042
color: Theme.of(context).colorScheme.primary,
43+
fontSize: fontSize ?? Theme.of(context).textTheme.bodyMedium?.fontSize,
4144
),
4245
underline: Container(
4346
height: 0,

0 commit comments

Comments
 (0)