diff --git a/lib/scss/_fonts.scss b/lib/scss/_fonts.scss deleted file mode 100644 index 73b0ad3..0000000 --- a/lib/scss/_fonts.scss +++ /dev/null @@ -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 - * - * 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 . - * - * 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"); -} diff --git a/lib/scss/_variables.scss b/lib/scss/_variables.scss deleted file mode 100644 index eab58d1..0000000 --- a/lib/scss/_variables.scss +++ /dev/null @@ -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 - * - * 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 . - * - * 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; diff --git a/lib/scss/style.scss b/lib/scss/style.scss index f96df19..7fcf6b4 100644 --- a/lib/scss/style.scss +++ b/lib/scss/style.scss @@ -20,10 +20,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -@use "sass:color"; -@import "fonts"; -@import "variables"; - *, *::before, *::after { @@ -68,7 +64,8 @@ html, body { background-color: var(--s2f-bg-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-weight: 400; line-height: 1; diff --git a/public/fonts/Roboto-400.woff b/public/fonts/Roboto-400.woff deleted file mode 100644 index 86b3863..0000000 Binary files a/public/fonts/Roboto-400.woff and /dev/null differ diff --git a/public/fonts/Roboto-400.woff2 b/public/fonts/Roboto-400.woff2 deleted file mode 100644 index ebe1795..0000000 Binary files a/public/fonts/Roboto-400.woff2 and /dev/null differ diff --git a/public/fonts/Roboto-500.woff b/public/fonts/Roboto-500.woff deleted file mode 100644 index c9eb5ca..0000000 Binary files a/public/fonts/Roboto-500.woff and /dev/null differ diff --git a/public/fonts/Roboto-500.woff2 b/public/fonts/Roboto-500.woff2 deleted file mode 100644 index ce795fa..0000000 Binary files a/public/fonts/Roboto-500.woff2 and /dev/null differ