Fix fonts sans serif (#1619)
* force deleteAccount after 10sec timeout waiting for configMessage * move some constants to file where they are used * add a way to fetch snodes from snodes * remove a snode from a pubkey's swarm if we get 421 without valid content * remove getVersion from snodes * hide groupMembers in right panel for non-group convo * fix font sans serif by using roboto instead Fixes #1617
This commit is contained in:
parent
58abd08e6d
commit
e41d182972
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1247,7 +1247,7 @@
|
|||
}
|
||||
|
||||
.module-conversation-list-item__message__text--has-unread {
|
||||
font-weight: 300;
|
||||
font-weight: 400;
|
||||
color: $color-gray-05;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// /////////////////// Fonts ////////////////////
|
||||
// //////////////////////////////////////////////
|
||||
|
||||
$session-font-default: 'Public Sans';
|
||||
$session-font-default: 'Roboto';
|
||||
$session-font-accent: 'Loor';
|
||||
$session-font-mono: 'SpaceMono';
|
||||
|
||||
|
@ -27,36 +27,36 @@ $session-font-mono: 'SpaceMono';
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
// Public Sans is an open replacement for $session-font-default
|
||||
// Roboto is an open replacement for $session-font-default
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-Regular.woff') format('woff');
|
||||
src: url('../fonts/Roboto-Regular.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-Italic.woff') format('woff');
|
||||
src: url('../fonts/Roboto-Italic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
src: url('../fonts/Roboto-Bold.ttf') format('truetype');
|
||||
font-weight: 600;
|
||||
}
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-BoldItalic.woff') format('woff');
|
||||
font-weight: bold;
|
||||
src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-Light.woff') format('woff');
|
||||
font-weight: lighter;
|
||||
src: url('../fonts/Roboto-Light.ttf') format('truetype');
|
||||
font-weight: 200;
|
||||
}
|
||||
@font-face {
|
||||
font-family: $session-font-default;
|
||||
src: url('../fonts/PublicSans-LightItalic.woff') format('woff');
|
||||
font-weight: lighter;
|
||||
src: url('../fonts/Roboto-LightItalic.ttf') format('truetype');
|
||||
font-weight: 200;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ const borderAvatarColor = '#00000059';
|
|||
|
||||
const common = {
|
||||
fonts: {
|
||||
sessionFontDefault: 'Public Sans',
|
||||
sessionFontDefault: 'Roboto',
|
||||
sessionFontAccent: 'Loor',
|
||||
sessionFontMono: 'SpaceMono',
|
||||
xs: '11px',
|
||||
|
|
Loading…
Reference in New Issue