Skip to content

Commit

Permalink
Fix toasts fonts
Browse files Browse the repository at this point in the history
[Issue] #1202
[Problem] Toast message has incorrrect fonts
[Solution] Apply OneUI 2.2 fonts

Signed-off-by: Lukasz Slachciak <l.slachciak@samsung.com>
  • Loading branch information
lmslachciak committed Jun 17, 2020
1 parent 28b4fdb commit bf53dd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/css/profile/mobile/common/toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
border-radius: 22 * @px_base;

padding: 11 * @unit_base 28 * @unit_base;
line-height: 41 * @unit_base;
line-height: 20 * @px_base;
color: @color_toast_text;
font-size: @font_size_toast_text;
font-stretch: ultra-condensed;
.font(regular);

&.ui-popup-toast-has-button {
text-align: left;
Expand All @@ -31,12 +31,13 @@
padding: 8 * @unit_base 42 * @unit_base 8 * @unit_base 46 * @unit_base;
color: @color_toast_button_text;
font-size: @font_size_toast_button_text;
.font(medium);
background-color: transparent;
display: inline;
width: auto;
height: auto;
min-height: 41 * @unit_base;
line-height: 41 * @unit_base;
line-height: 36 * @px_base;
margin: -8 * @unit_base 8 * @unit_base -8 * @unit_base 12 * @unit_base;
float: right;
overflow: visible;
Expand Down
6 changes: 3 additions & 3 deletions src/css/profile/mobile/theme-changeable/theme.font.less
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
@font_size_ticker_text2: 30 * @unit_base; // T0941: Ticker noti text2

//**************************************************************************
// Smallpopup
// Toast
//**************************************************************************
@font_size_toast_text: 30 * @unit_base; // T1221: Toast text
@font_size_toast_button_text: 30 * @unit_base; // T1222: Toast button text
@font_size_toast_text: 16 * @sp_base; // T1221: Toast text
@font_size_toast_button_text: 18 * @sp_base; // T1222: Toast button text

//**************************************************************************
// Slider
Expand Down

0 comments on commit bf53dd5

Please sign in to comment.