Icons: init figma icon sync & optimizer

This commit is contained in:
Johannes Kirschbauer
2024-11-06 12:30:41 +01:00
committed by hsjobeki
parent 38e12781fa
commit 2b0f4fc4b8
39 changed files with 639 additions and 90 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, deno }:
let
src = ./.;
in
pkgs.writeShellApplication {
name = "update";
runtimeInputs = [ deno ];
runtimeEnv = {
FIGMA_ICON_FILE_ID = "KJgLnsBI9nvUt44qKJXmVm";
FRAME_ID = "709-324";
};
text = ''
OUT_DIR=$(realpath ../webview-ui/app/icons)
deno run --allow-all ${src}/main.ts
'';
}