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:
Audric Ackermann 2021-05-12 10:35:05 +10:00 committed by GitHub
parent 58abd08e6d
commit e41d182972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 14 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
fonts/Roboto-Bold.ttf Normal file

Binary file not shown.

BIN
fonts/Roboto-BoldItalic.ttf Normal file

Binary file not shown.

BIN
fonts/Roboto-Italic.ttf Normal file

Binary file not shown.

BIN
fonts/Roboto-Light.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
fonts/Roboto-Regular.ttf Normal file

Binary file not shown.

View File

@ -1247,7 +1247,7 @@
}
.module-conversation-list-item__message__text--has-unread {
font-weight: 300;
font-weight: 400;
color: $color-gray-05;
}

View File

@ -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;
}

View File

@ -15,7 +15,7 @@ const borderAvatarColor = '#00000059';
const common = {
fonts: {
sessionFontDefault: 'Public Sans',
sessionFontDefault: 'Roboto',
sessionFontAccent: 'Loor',
sessionFontMono: 'SpaceMono',
xs: '11px',