From f9b82abafa9dc33cdc993d301c8d8548b4a7daf8 Mon Sep 17 00:00:00 2001 From: Lu Baumann Date: Fri, 20 Oct 2023 02:56:02 +0200 Subject: [PATCH] Create action.yml --- action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..48a5670 --- /dev/null +++ b/action.yml @@ -0,0 +1,11 @@ +name: Logseq adjust Content Width +description: A postprocessor for logseq-spa. Adjusts the width of the website content +inputs: + content-width: + description: If drawings should be exported in dark mode + required: true +runs: + using: composite + steps: + - name: Replace content width css + run: sed -ri 's|--ls-main-content-max-width:\s*\w*|--ls-main-content-max-width:${{ inputs.content-width }}|g' "${{ github.workspace }}/www/static/css/style.css"