diff --git a/package-lock.json b/package-lock.json index dd918f0..194db1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,10 @@ "@types/three": "^0.156.0", "chart.js": "^4.4.0", "clipboard-copy": "^4.0.1", - "d3": "^7.8.5", "marked": "^9.0.3", "qrcode-svg": "^1.1.0", "sanitize-html": "^2.11.0", + "svelvet": "^8.1.0", "three": "^0.156.1", "three-globe": "^2.29.3", "three-trackballcontrols": "^0.9.0", @@ -2291,14 +2291,6 @@ "simple-swizzle": "^0.2.2" } }, - "node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "engines": { - "node": ">= 10" - } - }, "node_modules/common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", @@ -2407,46 +2399,6 @@ "node": ">=0.10.0" } }, - "node_modules/d3": { - "version": "7.8.5", - "resolved": "https://registry.npmjs.org/d3/-/d3-7.8.5.tgz", - "integrity": "sha512-JgoahDG51ncUfJu6wX/1vWQEqOflgXyl4MaHqlcSruTez7yhaRKR9i8VjjcQGeS2en/jnFivXuaIMnseMMt0XA==", - "dependencies": { - "d3-array": "3", - "d3-axis": "3", - "d3-brush": "3", - "d3-chord": "3", - "d3-color": "3", - "d3-contour": "4", - "d3-delaunay": "6", - "d3-dispatch": "3", - "d3-drag": "3", - "d3-dsv": "3", - "d3-ease": "3", - "d3-fetch": "3", - "d3-force": "3", - "d3-format": "3", - "d3-geo": "3", - "d3-hierarchy": "3", - "d3-interpolate": "3", - "d3-path": "3", - "d3-polygon": "3", - "d3-quadtree": "3", - "d3-random": "3", - "d3-scale": "4", - "d3-scale-chromatic": "3", - "d3-selection": "3", - "d3-shape": "3", - "d3-time": "3", - "d3-time-format": "4", - "d3-timer": "3", - "d3-transition": "3", - "d3-zoom": "3" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/d3-array": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", @@ -2458,40 +2410,6 @@ "node": ">=12" } }, - "node_modules/d3-axis": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz", - "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-brush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz", - "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "3", - "d3-transition": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-chord": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz", - "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", - "dependencies": { - "d3-path": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/d3-color": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", @@ -2500,17 +2418,6 @@ "node": ">=12" } }, - "node_modules/d3-contour": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz", - "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", - "dependencies": { - "d3-array": "^3.2.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/d3-delaunay": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz", @@ -2522,82 +2429,6 @@ "node": ">=12" } }, - "node_modules/d3-dispatch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", - "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-drag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", - "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-selection": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dsv": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz", - "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", - "dependencies": { - "commander": "7", - "iconv-lite": "0.6", - "rw": "1" - }, - "bin": { - "csv2json": "bin/dsv2json.js", - "csv2tsv": "bin/dsv2dsv.js", - "dsv2dsv": "bin/dsv2dsv.js", - "dsv2json": "bin/dsv2json.js", - "json2csv": "bin/json2dsv.js", - "json2dsv": "bin/json2dsv.js", - "json2tsv": "bin/json2dsv.js", - "tsv2csv": "bin/dsv2dsv.js", - "tsv2json": "bin/dsv2json.js" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-ease": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", - "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-fetch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz", - "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", - "dependencies": { - "d3-dsv": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-force": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz", - "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-quadtree": "1 - 3", - "d3-timer": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/d3-format": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", @@ -2631,14 +2462,6 @@ "node": ">=12" } }, - "node_modules/d3-hierarchy": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", - "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", - "engines": { - "node": ">=12" - } - }, "node_modules/d3-interpolate": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", @@ -2650,38 +2473,6 @@ "node": ">=12" } }, - "node_modules/d3-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", - "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-polygon": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz", - "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-quadtree": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz", - "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-random": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz", - "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", - "engines": { - "node": ">=12" - } - }, "node_modules/d3-scale": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", @@ -2709,25 +2500,6 @@ "node": ">=12" } }, - "node_modules/d3-selection": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", - "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-shape": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", - "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", - "dependencies": { - "d3-path": "^3.1.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/d3-time": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", @@ -2750,32 +2522,6 @@ "node": ">=12" } }, - "node_modules/d3-timer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", - "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-transition": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", - "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", - "dependencies": { - "d3-color": "1 - 3", - "d3-dispatch": "1 - 3", - "d3-ease": "1 - 3", - "d3-interpolate": "1 - 3", - "d3-timer": "1 - 3" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "d3-selection": "2 - 3" - } - }, "node_modules/d3-tricontour": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/d3-tricontour/-/d3-tricontour-1.0.2.tgz", @@ -2788,21 +2534,6 @@ "node": ">=12" } }, - "node_modules/d3-zoom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", - "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "2 - 3", - "d3-transition": "2 - 3" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/daisyui": { "version": "2.46.1", "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-2.46.1.tgz", @@ -4048,17 +3779,6 @@ "entities": "^4.4.0" } }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -5601,9 +5321,9 @@ } }, "node_modules/postcss": { - "version": "8.4.29", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", - "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -6081,11 +5801,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rw": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" - }, "node_modules/sade": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", @@ -6098,11 +5813,6 @@ "node": ">=6" } }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "node_modules/sander": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/sander/-/sander-0.5.1.tgz", @@ -6496,7 +6206,6 @@ "version": "3.59.2", "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.59.2.tgz", "integrity": "sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==", - "dev": true, "engines": { "node": ">= 8" } @@ -6632,6 +6341,14 @@ "schema-dts": "^1.1.2" } }, + "node_modules/svelvet": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/svelvet/-/svelvet-8.1.0.tgz", + "integrity": "sha512-rH67tgb7e2aTBQZBCW+V5hSvulLwvzBiOml9Dzdz2ATkgQr58mHi2WtlQFOOb+eZt6zH/J10a2MataC29Qdpuw==", + "peerDependencies": { + "svelte": ">=3.59.2 || ^4.0.0" + } + }, "node_modules/table": { "version": "6.8.1", "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", @@ -9062,11 +8779,6 @@ "simple-swizzle": "^0.2.2" } }, - "commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" - }, "common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", @@ -9154,43 +8866,6 @@ "array-find-index": "^1.0.1" } }, - "d3": { - "version": "7.8.5", - "resolved": "https://registry.npmjs.org/d3/-/d3-7.8.5.tgz", - "integrity": "sha512-JgoahDG51ncUfJu6wX/1vWQEqOflgXyl4MaHqlcSruTez7yhaRKR9i8VjjcQGeS2en/jnFivXuaIMnseMMt0XA==", - "requires": { - "d3-array": "3", - "d3-axis": "3", - "d3-brush": "3", - "d3-chord": "3", - "d3-color": "3", - "d3-contour": "4", - "d3-delaunay": "6", - "d3-dispatch": "3", - "d3-drag": "3", - "d3-dsv": "3", - "d3-ease": "3", - "d3-fetch": "3", - "d3-force": "3", - "d3-format": "3", - "d3-geo": "3", - "d3-hierarchy": "3", - "d3-interpolate": "3", - "d3-path": "3", - "d3-polygon": "3", - "d3-quadtree": "3", - "d3-random": "3", - "d3-scale": "4", - "d3-scale-chromatic": "3", - "d3-selection": "3", - "d3-shape": "3", - "d3-time": "3", - "d3-time-format": "4", - "d3-timer": "3", - "d3-transition": "3", - "d3-zoom": "3" - } - }, "d3-array": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", @@ -9199,44 +8874,11 @@ "internmap": "1 - 2" } }, - "d3-axis": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz", - "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==" - }, - "d3-brush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz", - "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", - "requires": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "3", - "d3-transition": "3" - } - }, - "d3-chord": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz", - "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", - "requires": { - "d3-path": "1 - 3" - } - }, "d3-color": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==" }, - "d3-contour": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz", - "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", - "requires": { - "d3-array": "^3.2.0" - } - }, "d3-delaunay": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz", @@ -9245,53 +8887,6 @@ "delaunator": "5" } }, - "d3-dispatch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", - "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==" - }, - "d3-drag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", - "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", - "requires": { - "d3-dispatch": "1 - 3", - "d3-selection": "3" - } - }, - "d3-dsv": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz", - "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", - "requires": { - "commander": "7", - "iconv-lite": "0.6", - "rw": "1" - } - }, - "d3-ease": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", - "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==" - }, - "d3-fetch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz", - "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", - "requires": { - "d3-dsv": "1 - 3" - } - }, - "d3-force": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz", - "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", - "requires": { - "d3-dispatch": "1 - 3", - "d3-quadtree": "1 - 3", - "d3-timer": "1 - 3" - } - }, "d3-format": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", @@ -9316,11 +8911,6 @@ "d3-tricontour": "1" } }, - "d3-hierarchy": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", - "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==" - }, "d3-interpolate": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", @@ -9329,26 +8919,6 @@ "d3-color": "1 - 3" } }, - "d3-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", - "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==" - }, - "d3-polygon": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz", - "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==" - }, - "d3-quadtree": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz", - "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==" - }, - "d3-random": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz", - "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==" - }, "d3-scale": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", @@ -9370,19 +8940,6 @@ "d3-interpolate": "1 - 3" } }, - "d3-selection": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", - "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==" - }, - "d3-shape": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", - "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", - "requires": { - "d3-path": "^3.1.0" - } - }, "d3-time": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", @@ -9399,23 +8956,6 @@ "d3-time": "1 - 3" } }, - "d3-timer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", - "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==" - }, - "d3-transition": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", - "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", - "requires": { - "d3-color": "1 - 3", - "d3-dispatch": "1 - 3", - "d3-ease": "1 - 3", - "d3-interpolate": "1 - 3", - "d3-timer": "1 - 3" - } - }, "d3-tricontour": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/d3-tricontour/-/d3-tricontour-1.0.2.tgz", @@ -9425,18 +8965,6 @@ "d3-scale": "4" } }, - "d3-zoom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", - "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", - "requires": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "2 - 3", - "d3-transition": "2 - 3" - } - }, "daisyui": { "version": "2.46.1", "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-2.46.1.tgz", @@ -10353,14 +9881,6 @@ "entities": "^4.4.0" } }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -11443,9 +10963,9 @@ } }, "postcss": { - "version": "8.4.29", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", - "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -11731,11 +11251,6 @@ "queue-microtask": "^1.2.2" } }, - "rw": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" - }, "sade": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", @@ -11745,11 +11260,6 @@ "mri": "^1.1.0" } }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "sander": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/sander/-/sander-0.5.1.tgz", @@ -12039,8 +11549,7 @@ "svelte": { "version": "3.59.2", "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.59.2.tgz", - "integrity": "sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==", - "dev": true + "integrity": "sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==" }, "svelte-check": { "version": "2.10.3", @@ -12107,6 +11616,12 @@ "schema-dts": "^1.1.2" } }, + "svelvet": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/svelvet/-/svelvet-8.1.0.tgz", + "integrity": "sha512-rH67tgb7e2aTBQZBCW+V5hSvulLwvzBiOml9Dzdz2ATkgQr58mHi2WtlQFOOb+eZt6zH/J10a2MataC29Qdpuw==", + "requires": {} + }, "table": { "version": "6.8.1", "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", diff --git a/package.json b/package.json index c1b14e6..a6f52a2 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "marked": "^9.0.3", "qrcode-svg": "^1.1.0", "sanitize-html": "^2.11.0", + "svelvet": "^8.1.0", "three": "^0.156.1", "three-globe": "^2.29.3", "three-trackballcontrols": "^0.9.0", diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte new file mode 100644 index 0000000..9f05621 --- /dev/null +++ b/src/components/Footer.svelte @@ -0,0 +1,9 @@ + + +
+ +
diff --git a/src/components/icons/Activity.svelte b/src/components/icons/Activity.svelte new file mode 100644 index 0000000..f1cb223 --- /dev/null +++ b/src/components/icons/Activity.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/components/icons/FissionFooterLogo.svelte b/src/components/icons/FissionFooterLogo.svelte new file mode 100644 index 0000000..923b31c --- /dev/null +++ b/src/components/icons/FissionFooterLogo.svelte @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/icons/FooterBrand.svelte b/src/components/icons/FooterBrand.svelte new file mode 100644 index 0000000..b614982 --- /dev/null +++ b/src/components/icons/FooterBrand.svelte @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/icons/Functions.svelte b/src/components/icons/Functions.svelte new file mode 100644 index 0000000..a350f4f --- /dev/null +++ b/src/components/icons/Functions.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/components/icons/HeaderLogo.svelte b/src/components/icons/HeaderLogo.svelte new file mode 100644 index 0000000..d4fd2b0 --- /dev/null +++ b/src/components/icons/HeaderLogo.svelte @@ -0,0 +1,11 @@ + + + + + diff --git a/src/components/icons/Settings.svelte b/src/components/icons/Settings.svelte index 8c3c705..e1b5c8b 100644 --- a/src/components/icons/Settings.svelte +++ b/src/components/icons/Settings.svelte @@ -1,9 +1,8 @@ - + diff --git a/src/components/icons/Workflows.svelte b/src/components/icons/Workflows.svelte new file mode 100644 index 0000000..8987c83 --- /dev/null +++ b/src/components/icons/Workflows.svelte @@ -0,0 +1,8 @@ + + + diff --git a/src/components/nav/Nav.svelte b/src/components/nav/Nav.svelte new file mode 100644 index 0000000..4d0f2e0 --- /dev/null +++ b/src/components/nav/Nav.svelte @@ -0,0 +1,55 @@ + + + + + + diff --git a/src/global.css b/src/global.css index 13d0cba..26fb7c0 100644 --- a/src/global.css +++ b/src/global.css @@ -3,95 +3,87 @@ @tailwind utilities; @font-face { - font-family: 'UncutSans'; - src: url('/fonts/uncut-sans-regular-webfont.woff2') format('woff2'), - url('/fonts/uncut-sans-regular-webfont.woff') format('woff'); - font-weight: 400; + font-family: 'Overpass'; + src: url('/fonts/overpass-variablefont_wght-webfont.woff2') format('woff2'), + url('/fonts/overpass-variablefont_wght-webfont.woff') format('woff'); + font-weight: 400 700; font-style: normal; } @font-face { - font-family: 'UncutSans'; - src: url('/fonts/uncut-sans-medium-webfont.woff2') format('woff2'), - url('/fonts/uncut-sans-medium-webfont.woff') format('woff'); - font-weight: 500; - font-style: normal; -} - -@font-face { - font-family: 'UncutSans'; - src: url('/fonts/uncut-sans-medium-webfont.woff2') format('woff2'), - url('/fonts/uncut-sans-medium-webfont.woff') format('woff'); - font-weight: 600; - font-style: normal; -} - -@font-face { - font-family: 'UncutSans'; - src: url('/fonts/uncut-sans-bold-webfont.woff2') format('woff2'), - url('/fonts/uncut-sans-bold-webfont.woff') format('woff'); - font-weight: 700; + font-family: 'Literata'; + src: url('/fonts/Literata-VariableFont_opsz,wght.ttf') format('truetype'); + font-weight: 100 600; font-style: normal; } -h1, h2, h3 { - @apply font-bold; -} - -h4, h5, h6 { - @apply font-medium; +h1, h2, h3, h4, h5, h6 { + @apply font-sans; } body, input { @apply font-sans; + @apply text-body-m; + font-weight: 350; } /* Button default styles */ .btn { - @apply font-medium; - @apply border-2; - @apply min-h-0; + @apply font-sans; + @apply border-0; + @apply transition-colors; + @apply ease-in; } .btn-circle { - @apply text-base-100; - @apply bg-base-content; + @apply text-odd-gray-500; + @apply bg-odd-gray-200; + @apply h-8; + @apply min-h-8; + @apply w-8; } .btn-circle:hover { - @apply bg-base-content; + @apply bg-odd-gray-150; } .btn-outline { - @apply text-sm; - @apply text-base-content; - @apply border-base-content; - @apply bg-base-100; - @apply shadow-orange; - @apply h-10; + @apply text-btn; + @apply text-odd-gray-500; + @apply bg-odd-gray-200; @apply px-4; } +.btn-clear { + @apply text-btn; + @apply text-odd-blue-500; + @apply bg-transparent; +} + .btn-primary { - @apply text-sm; - @apply text-neutral-900; - @apply border-neutral-900; - @apply shadow-orange; - @apply bg-gradient-to-r; - @apply from-orange-300; - @apply to-orange-600; - @apply h-10; + @apply text-btn; + @apply text-odd-blue-100; + @apply bg-odd-blue-500; @apply px-4; } +.btn-primary:hover { + @apply bg-odd-blue-400; +} + .btn-primary:disabled { + @apply bg-odd-blue-500; + @apply text-odd-blue-100; @apply opacity-50; - @apply text-neutral-900; - @apply border-neutral-900; } -.btn-primary:hover, .btn-warning:hover { - @apply border-neutral-900; +.btn-warning { + @apply bg-odd-pink-500; + @apply text-odd-pink-100; +} + +.btn-warning:hover { + @apply bg-odd-pink-400; } .btn-link { @@ -105,11 +97,18 @@ body, input { @apply border-base-content; } +.modal { + @apply bg-base-100; + @apply bg-opacity-75; +} + /* Modal default styles */ .modal-box { - @apply p-8; + @apply p-12; @apply border-2; @apply border-base-content; + @apply min-w-[33vw]; + @apply max-w-2xl; } /* Label default styles */ @@ -118,10 +117,9 @@ body, input { } .label-text-alt { - @apply text-sm; + @apply text-body-sm; } - /* Markdown styles */ .markdown-body { @apply p-4 rounded; diff --git a/src/lib/tasks.ts b/src/lib/functions.ts similarity index 74% rename from src/lib/tasks.ts rename to src/lib/functions.ts index ef29404..ecbcd7f 100644 --- a/src/lib/tasks.ts +++ b/src/lib/functions.ts @@ -1,11 +1,11 @@ -export type TasksStore = { +export type FunctionsStore = { loading: boolean - tasks: Task[] + functions: Func[] } -export type Task = { +export type Func = { id: string name: string slug: string diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c71dcb8..a20f613 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,9 +6,10 @@ import { errorToMessage } from '$lib/session' import { initialize } from '$lib/init' import FullScreenLoadingSpinner from '$components/common/FullScreenLoadingSpinner.svelte' - import Header from '$components/Header.svelte' + // import Header from '$components/Header.svelte' + import Footer from '$components/Footer.svelte' + import Nav from '$components/nav/Nav.svelte' import Notifications from '$components/notifications/Notifications.svelte' - import SidebarNav from '$components/nav/SidebarNav.svelte' sessionStore.subscribe(session => { if (session.error) { @@ -44,11 +45,14 @@ {#if $sessionStore.loading} {:else} - -
-
+
+
{/if}
diff --git a/src/routes/activity/+page.svelte b/src/routes/activity/+page.svelte new file mode 100644 index 0000000..dc65f20 --- /dev/null +++ b/src/routes/activity/+page.svelte @@ -0,0 +1 @@ +Logs diff --git a/src/routes/tasks/+page.svelte b/src/routes/functions/+page.svelte similarity index 67% rename from src/routes/tasks/+page.svelte rename to src/routes/functions/+page.svelte index 44a9d3d..c4f578f 100644 --- a/src/routes/tasks/+page.svelte +++ b/src/routes/functions/+page.svelte @@ -1,23 +1,23 @@ -

Tasks

+
{ if (event.key === 'Escape') { @@ -36,24 +36,24 @@
- {#each tasks as task} + {#each functions as func}
- +
-

{task?.name}

+

{func?.name}

diff --git a/src/routes/tasks/[id]/+page.svelte b/src/routes/functions/[id]/+page.svelte similarity index 55% rename from src/routes/tasks/[id]/+page.svelte rename to src/routes/functions/[id]/+page.svelte index 1a09905..756f5ec 100644 --- a/src/routes/tasks/[id]/+page.svelte +++ b/src/routes/functions/[id]/+page.svelte @@ -3,23 +3,23 @@ import { marked } from 'marked' import sanitizeHtml from 'sanitize-html' - import '$routes/tasks/styles/markdown-styles-light.css' - import { tasksStore } from '$src/stores' + import '$routes/functions/styles/markdown-styles-light.css' + import { functionsStore } from '$src/stores' - $: task = $tasksStore?.tasks?.find(task => task?.id === $page.params.id) + $: func = $functionsStore?.functions?.find(f => f?.id === $page.params.id)
- {#if task} + {#if func}
-

{task?.name}

+

{func?.name}

- {@html sanitizeHtml(marked(task?.description))} + {@html sanitizeHtml(marked(func?.description))}
@@ -27,34 +27,34 @@

Version

-

- {task?.version} +

+ {func?.version}

Used in

-

- {task?.numberOfProjectsUsing} workflows +

+ {func?.numberOfProjectsUsing} workflows

Last published

-

- {task?.lastModifiedTime} ago +

+ {func?.lastModifiedTime} ago

License

-

- {task?.license} +

+ {func?.license}

diff --git a/src/routes/tasks/lib/task-mocks.ts b/src/routes/functions/lib/function-mocks.ts similarity index 100% rename from src/routes/tasks/lib/task-mocks.ts rename to src/routes/functions/lib/function-mocks.ts diff --git a/src/routes/tasks/styles/markdown-styles-dark.css b/src/routes/functions/styles/markdown-styles-dark.css similarity index 100% rename from src/routes/tasks/styles/markdown-styles-dark.css rename to src/routes/functions/styles/markdown-styles-dark.css diff --git a/src/routes/tasks/styles/markdown-styles-light.css b/src/routes/functions/styles/markdown-styles-light.css similarity index 100% rename from src/routes/tasks/styles/markdown-styles-light.css rename to src/routes/functions/styles/markdown-styles-light.css diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index e5adf48..dcbe268 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -10,16 +10,14 @@ {#if $sessionStore.session}
-

Account Settings

-
- + diff --git a/src/routes/workflows/+page.svelte b/src/routes/workflows/+page.svelte index 3eb9fd0..299806f 100644 --- a/src/routes/workflows/+page.svelte +++ b/src/routes/workflows/+page.svelte @@ -12,13 +12,13 @@ const handleClearSearch = () => (searchTerm = '') -

Workflows

+
{ if (event.key === 'Escape') { diff --git a/src/routes/workflows/[id]/+page.svelte b/src/routes/workflows/[id]/+page.svelte index 19534af..b4d3127 100644 --- a/src/routes/workflows/[id]/+page.svelte +++ b/src/routes/workflows/[id]/+page.svelte @@ -74,10 +74,10 @@
{#if workflow} -

{workflow.name}

+

{workflow.name}

Preview

-
+

Custom Domains

@@ -160,12 +160,12 @@
-
+
{#each tabs as tab}
{#if activeTab === tabs[0]}
diff --git a/src/routes/workflows/lib/workflow-mocks.ts b/src/routes/workflows/lib/workflow-mocks.ts index 0bcd860..f59748b 100644 --- a/src/routes/workflows/lib/workflow-mocks.ts +++ b/src/routes/workflows/lib/workflow-mocks.ts @@ -1,7 +1,7 @@ export default [ { id: '7706e116-21fc-4574-a53c-a6d2efad0b04', - name: 'hello-world-shiny-star-f6bf', + name: 'hello-world-driving-crooner-f6bf', requests: 124, errors: 1, lastModifiedTime: '2 hours', diff --git a/src/stores.ts b/src/stores.ts index 1a205a3..17e10cd 100644 --- a/src/stores.ts +++ b/src/stores.ts @@ -9,8 +9,8 @@ import type { Session } from '$lib/session' import type { Theme } from '$lib/theme' import type { ProjectsStore } from '$lib/projects' import projects from '$routes/projects/lib/project-mocks' -import type { TasksStore } from '$lib/tasks' -import tasks from '$routes/tasks/lib/task-mocks' +import type { FunctionsStore } from '$lib/functions' +import functions from '$routes/functions/lib/function-mocks' import type { WorkflowsStore } from '$lib/workflows' import workflows from '$routes/workflows/lib/workflow-mocks' @@ -39,9 +39,9 @@ export const projectsStore: Writable = writable({ projects }) -export const tasksStore: Writable = writable({ +export const functionsStore: Writable = writable({ loading: false, - tasks + functions }) export const workflowsStore: Writable = writable({ diff --git a/static/fonts/Literata-VariableFont_opsz,wght.ttf b/static/fonts/Literata-VariableFont_opsz,wght.ttf new file mode 100644 index 0000000..527a458 Binary files /dev/null and b/static/fonts/Literata-VariableFont_opsz,wght.ttf differ diff --git a/static/fonts/overpass-variablefont_wght-webfont.woff b/static/fonts/overpass-variablefont_wght-webfont.woff new file mode 100644 index 0000000..3a75b04 Binary files /dev/null and b/static/fonts/overpass-variablefont_wght-webfont.woff differ diff --git a/static/fonts/overpass-variablefont_wght-webfont.woff2 b/static/fonts/overpass-variablefont_wght-webfont.woff2 new file mode 100644 index 0000000..5b443da Binary files /dev/null and b/static/fonts/overpass-variablefont_wght-webfont.woff2 differ diff --git a/static/fonts/uncut-sans-bold-webfont.woff b/static/fonts/uncut-sans-bold-webfont.woff deleted file mode 100644 index 92764e4..0000000 Binary files a/static/fonts/uncut-sans-bold-webfont.woff and /dev/null differ diff --git a/static/fonts/uncut-sans-bold-webfont.woff2 b/static/fonts/uncut-sans-bold-webfont.woff2 deleted file mode 100644 index f767519..0000000 Binary files a/static/fonts/uncut-sans-bold-webfont.woff2 and /dev/null differ diff --git a/static/fonts/uncut-sans-medium-webfont.woff b/static/fonts/uncut-sans-medium-webfont.woff deleted file mode 100644 index 51edef3..0000000 Binary files a/static/fonts/uncut-sans-medium-webfont.woff and /dev/null differ diff --git a/static/fonts/uncut-sans-medium-webfont.woff2 b/static/fonts/uncut-sans-medium-webfont.woff2 deleted file mode 100644 index 180b36b..0000000 Binary files a/static/fonts/uncut-sans-medium-webfont.woff2 and /dev/null differ diff --git a/static/fonts/uncut-sans-regular-webfont.woff b/static/fonts/uncut-sans-regular-webfont.woff deleted file mode 100644 index b349be7..0000000 Binary files a/static/fonts/uncut-sans-regular-webfont.woff and /dev/null differ diff --git a/static/fonts/uncut-sans-regular-webfont.woff2 b/static/fonts/uncut-sans-regular-webfont.woff2 deleted file mode 100644 index b054144..0000000 Binary files a/static/fonts/uncut-sans-regular-webfont.woff2 and /dev/null differ diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 0511b66..c414eb8 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -17,8 +17,8 @@ module.exports = { success: '#BBF7D0', warning: '#fdba74', error: '#DC2626', - 'base-content': '#FAFAFA', // Base text content color - 'base-100': '#171717', // Base background color + 'base-content': '#E1E2EA', // Base text content color + 'base-100': '#313245', // Base background color '--rounded-box': '16px', '--rounded-btn': '4px', '--rounded-badge': '2px', @@ -35,8 +35,8 @@ module.exports = { success: '#BBF7D0', warning: '#fed7aa', error: '#DC2626', - 'base-content': '#171717', // Base text content color - 'base-100': '#FAFAFA', // Base background color + 'base-content': '#313245', // Base text content color + 'base-100': '#E1E2EA', // Base background color '--rounded-box': '16px', '--rounded-btn': '4px', '--rounded-badge': '2px', @@ -60,54 +60,83 @@ module.exports = { aspectRatio: { '22/23': '22 / 23' }, - boxShadow: { - orange: '0px 4px 0px rgba(243, 110, 101, 0.35)' - }, colors: { - blue: { - 100: '#DBEAFE', - 600: '#2563EB', - 900: '#1E3A8A' + 'odd-gray': { + 100: '#E1E2EA', + 150: '#C8CADA', + 200: '#AAADC4', + 300: '#74789D', + 400: '#484A65', + 500: '#313245' + }, + 'odd-blue': { + 100: '#F1EDFD', + 200: '#D5C3FD', + 300: '#B79AFC', + 400: '#9372FB', + 500: '#6649F8' }, - green: { - 300: '#86EFAC', - 500: '#22C55E', - 700: '#15803D' + 'odd-pink': { + 100: '#FEF6F8', + 200: '#FFCFD5', + 300: '#FFA8B2', + 400: '#FA7F91', + 500: '#F15072' }, - neutral: { - 50: '#FAFAFA', - 200: '#E5E5E5', - 500: '#737373', - 700: '#404040', - 800: '#262626', - 900: '#171717' + 'odd-green': { + 100: '#E1F0EB', + 200: '#B1D9CA', + 300: '#82C1A8', + 400: '#52A985', + 500: '#0F9162' }, - orange: { - 50: '#FFF7ED', - 200: '#FDBA74', - 300: '#F26D64', - 500: '#F36E65', - 600: '#EED082', - 700: '#C2410C' + 'odd-red': { + 100: '#F0E1E5', + 200: '#E2B2BD', + 300: '#D28392', + 400: '#BE5366', + 500: '#BE5366' }, - red: { - 400: '#F87171', - 600: '#DC2626' + 'odd-yellow': { + 100: '#F0EDE1', + 200: '#EDE1BE', + 300: '#E8D49A', + 400: '#E3CA78', + 500: '#DFC334' } }, fontFamily: { - sans: ['UncutSans'] + sans: ['Overpass'], + serif: ['Literata'] }, fontSize: { - mobileNav: ['24px', { lineHeight: '24px' }], - deviceCode: ['30px', { lineHeight: '36px' }], - xxs: ['12px', { lineHeight: '16px' }], - xs: ['13px', { lineHeight: '24px', letterSpacing: '0.1em' }], - sm: ['16px', { lineHeight: '24px' }], - base: ['20px', { lineHeight: '28px' }], - lg: ['24px', { lineHeight: '32px' }], - xl: ['38px', { lineHeight: '48px' }], - '2xl': ['50px', { lineHeight: '62px' }] + 'btn-sm': ['16px', { lineHeight: '17px' }], + btn: ['20px', { lineHeight: '22px' }], + 'body-xs': ['12px', { lineHeight: '18px' }], + 'body-sm': ['16px', { lineHeight: '24px' }], + 'body-m': ['20px', { lineHeight: '30px' }], + 'body-lg': ['24px', { lineHeight: '36px' }], + 'heading-sm': [ + '16px', + { + lineHeight: '17px', + textTransform: 'uppercase', + letterSpacing: '0.04em' + } + ], + 'heading-m': ['28px', { lineHeight: '30px', letterSpacing: '-0.02em' }], + 'heading-lg': [ + '38px', + { lineHeight: '41px', letterSpacing: '-0.02em' } + ], + 'heading-xl': [ + '50px', + { lineHeight: '54px', letterSpacing: '-0.02em' } + ], + 'heading-2xl': [ + '56px', + { lineHeight: '60px', letterSpacing: '-0.02em' } + ] }, keyframes: { marquee: {