Skip to content

Commit

Permalink
Merge pull request #421 from h3poteto/iss-382
Browse files Browse the repository at this point in the history
closes #382 Use Lato font in textarea because backtic is broken in Noto
  • Loading branch information
h3poteto authored Jul 2, 2018
2 parents f04748b + 6a05b39 commit d8a25df
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 2 deletions.
Binary file added src/renderer/assets/fonts/Lato-Black.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-BlackItalic.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-BoldItalic.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-Hairline.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-HairlineItalic.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-Italic.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-Light.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-LightItalic.ttf
Binary file not shown.
Binary file added src/renderer/assets/fonts/Lato-Regular.ttf
Binary file not shown.
11 changes: 11 additions & 0 deletions src/renderer/assets/fonts/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@
local("NotoSans-Regular"),
url("./NotoSans-Regular.ttf") format("truetype");
}

/* === Lato - regular */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url("./Lato-Regular.ttf");
src: local("Lato Regular"),
local("Lato-Regular"),
url("./Lato-Regular.ttf") format("truetype");
}
4 changes: 2 additions & 2 deletions src/renderer/components/TimelineSpace/Modals/NewToot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export default {
input {
border-radius: 0;
font-family: 'Noto Sans', sans-serif;
font-family: 'Lato', sans-serif;
&::placeholder {
color: #c0c4cc;
Expand All @@ -302,7 +302,7 @@ export default {
resize: none;
height: 120px;
transition: border-color .2s cubic-bezier(.645,.045,.355,1);
font-family: 'Noto Sans', sans-serif;
font-family: 'Lato', sans-serif;
&::placeholder {
color: #c0c4cc;
Expand Down

0 comments on commit d8a25df

Please sign in to comment.