Remove custom fonts

This commit is contained in:
Nikita Karamov 2023-03-16 13:41:46 +01:00
parent df0ab992b8
commit af516510fa
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
7 changed files with 2 additions and 78 deletions

View file

@ -1,38 +0,0 @@
/*
* @source: https://github.com/kytta/share2fedi/blob/main/lib/scss/_fonts.scss
*
* share2fedi - Instance-agnostic share page for the Fediverse.
* Copyright (C) 2020-2023 Nikita Karamov <me@kytta.dev>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 400;
src: local("Roboto"), url("/fonts/Roboto-400.woff2?v=29") format("woff2"),
url("/fonts/Roboto-400.woff?v=29") format("woff");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 500;
src: local("Roboto Medium"), local("Roboto-Medium"),
url("/fonts/Roboto-500.woff2?v=29") format("woff2"),
url("/fonts/Roboto-500.woff?v=29") format("woff");
}

View file

@ -1,35 +0,0 @@
/*
* @source: https://github.com/kytta/share2fedi/blob/main/lib/scss/_variables.scss
*
* share2fedi - Instance-agnostic share page for the Fediverse.
* Copyright (C) 2020-2023 Nikita Karamov <me@kytta.dev>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
$text-font: "Roboto", sans-serif;
$bg: #1f232b;
$text: #9baec8;
$title: #d9e1e8;
$button-bg: #2b90d9;
$button-hover-bg: #56a7e1;
$button-text: white;
$input-bg: #131419;
$border-color: #303643;

View file

@ -20,10 +20,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*/ */
@use "sass:color";
@import "fonts";
@import "variables";
*, *,
*::before, *::before,
*::after { *::after {
@ -68,7 +64,8 @@ html,
body { body {
background-color: var(--s2f-bg-color); background-color: var(--s2f-bg-color);
color: var(--s2f-text-color); color: var(--s2f-text-color);
font-family: $text-font; font-family: "Helvetica Neue", Helvetica, FreeSans, "Nimbus Sans L", "Inter",
Arial, system-ui, sans-serif;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: 1; line-height: 1;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.