Skip to content

Commit

Permalink
CSS: inner padding change
Browse files Browse the repository at this point in the history
  • Loading branch information
ybmin committed Sep 8, 2023
1 parent 279e683 commit c7c290e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib/constants/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ const defaultDialogVerticalMedianButtonPadding =

const defaultDialogLowerButtonPadding = Padding(padding: EdgeInsets.all(3));

const defaultDialogButtonSize = Size(150, 35);
const defaultDialogButtonSize = Size(147.50, 35);

final defaultDialogButtonBorderRadius = BorderRadius.circular(10.0);
const defaultDialogButtonInnerPadding = EdgeInsets.only(top: 9, bottom: 10);

final defaultDialogButtonBorderRadius = BorderRadius.circular(8.0);

ThemeData buildTheme() {
final base = ThemeData(
Expand All @@ -59,6 +61,7 @@ ThemeData buildTheme() {
style: ElevatedButton.styleFrom(
elevation: 0.5,
fixedSize: defaultDialogButtonSize,
padding: defaultDialogButtonInnerPadding,
backgroundColor: const Color.fromARGB(255, 238, 238, 238),
shape: RoundedRectangleBorder(
borderRadius: defaultDialogButtonBorderRadius,
Expand All @@ -68,6 +71,7 @@ ThemeData buildTheme() {
outlinedButtonTheme: OutlinedButtonThemeData(
style: OutlinedButton.styleFrom(
fixedSize: defaultDialogButtonSize,
padding: defaultDialogButtonInnerPadding,
backgroundColor: taxiPrimaryMaterialColor,
shape: RoundedRectangleBorder(
borderRadius: defaultDialogButtonBorderRadius,
Expand Down Expand Up @@ -96,14 +100,14 @@ ThemeData buildTheme() {
labelLarge: GoogleFonts.roboto(
textStyle: const TextStyle(
color: Color(0xFFEEEEEE),
fontSize: 12,
fontSize: 14,
fontWeight: FontWeight.bold)),

//Dialog Elevated 버튼 텍스트
labelMedium: GoogleFonts.roboto(
textStyle: const TextStyle(
color: Color.fromARGB(255, 129, 129, 129),
fontSize: 12,
fontSize: 14,
fontWeight: FontWeight.normal))),
);
return base;
Expand Down

0 comments on commit c7c290e

Please sign in to comment.