more file shuffling

This commit is contained in:
f0x 2024-07-28 15:31:42 +02:00
parent 19b432c509
commit 26a0f21451
5 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,18 @@
/*
GoToSocial
Copyright (C) GoToSocial Authors admin@gotosocial.org
SPDX-License-Identifier: AGPL-3.0-or-later
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 <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1 @@
@import "modern-normalize/modern-normalize.css";

View File

@ -1,4 +1,4 @@
// Style emoji to fit in-line with text
/* Style emoji to fit in-line with text */
.emoji {
width: 1.45em;
height: 1.45em;

View File

@ -19,7 +19,7 @@
@import "modern-normalize/modern-normalize.css"; /* needs to be the first import */
@import "./base/fonts.css";
/* @import "./base/fonts.css";
@import "./base/main.css";
@import "./components/account-card.css";
@ -28,4 +28,4 @@
@import "./components/lists.css";
@import "./components/utility.css";
@import "./vendor/prism.css";
@import "./vendor/prism.css"; */

View File

@ -22,6 +22,7 @@ const path = require("path");
const { globSync } = require("glob");
const cssDir = path.join(__dirname, "./css");
const cssFiles = globSync(cssDir + "/**/*.css", { ignore: cssDir + "/themes/**" });
const cssThemes = globSync(cssDir + "/themes/**/*.css");
const prodCfg = {
@ -95,7 +96,7 @@ skulk({
}]]
},
css: {
entryFiles: cssDir + "/main.css",
entryFiles: cssFiles,
outputFile: "_discard",
presets: [["postcss", {
output: "style.css"