summaryrefslogtreecommitdiffstats
path: root/semantic.json
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-01-21 13:17:58 +0800
committerGitHub <noreply@github.com>2020-01-21 13:17:58 +0800
commit5cf241b3123a6096076a9cb582d28fb8919969e0 (patch)
treeb89ebb827c7feb81a63a605c4d641a9886db0e04 /semantic.json
parente7322a1138ec0285091abbfc51e3ac1d47ae0fb2 (diff)
downloadgitea-5cf241b3123a6096076a9cb582d28fb8919969e0.tar.gz
gitea-5cf241b3123a6096076a9cb582d28fb8919969e0.zip
Use npm to manage fomantic and only build needed components (#9561)
* Use npm to manage fomantic * Only build needed semantic components * Fix make * Don't import fonts from google sites since we have loaded * [misc] devendor fomantic-ui and rebuild upon src or config changes only Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Change sort alphabetically of semantic components * Fix trailing slash * fix makefile * Remove dependency to gulp from package.json * Fix something * Simplife the makefile * add missed fomantic compnent Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
Diffstat (limited to 'semantic.json')
-rw-r--r--semantic.json59
1 files changed, 59 insertions, 0 deletions
diff --git a/semantic.json b/semantic.json
new file mode 100644
index 0000000000..060d10c19b
--- /dev/null
+++ b/semantic.json
@@ -0,0 +1,59 @@
+{
+ "version": "2.8.3",
+ "base": "node_modules/fomantic-ui",
+ "paths": {
+ "source": {
+ "config": "src/theme.config",
+ "definitions": "src/definitions/",
+ "site": "src/site/",
+ "themes": "src/themes/"
+ },
+ "output": {
+ "packaged": "../../public/fomantic/",
+ "uncompressed": "../../public/fomantic/components/",
+ "compressed": "../../public/fomantic/components/",
+ "themes": "../../public/fomantic/themes/"
+ },
+ "clean": "../../public/fomantic/"
+ },
+ "permission": false,
+ "autoInstall": false,
+ "rtl": false,
+ "admin": false,
+ "components": [
+ "accordion",
+ "breadcrumb",
+ "button",
+ "checkbox",
+ "comment",
+ "container",
+ "dimmer",
+ "divider",
+ "dropdown",
+ "form",
+ "grid",
+ "header",
+ "icon",
+ "image",
+ "input",
+ "item",
+ "label",
+ "list",
+ "loader",
+ "menu",
+ "message",
+ "modal",
+ "popup",
+ "progress",
+ "reset",
+ "search",
+ "segment",
+ "sidebar",
+ "site",
+ "sticky",
+ "tab",
+ "table",
+ "text",
+ "transition"
+ ]
+}