Skip to content
Snippets Groups Projects
Commit 2f87ed14 authored by Wumbo's avatar Wumbo
Browse files

Initial commit

parents
Branches master
No related merge requests found
Pipeline #1032 passed with stages
in 1 minute and 21 seconds
variables:
COMPONENT_NAME: "theme-magenta"
NEXUS_REPO: "components"
META_NAME: "Magenta"
META_DESCRIPTION: "A generic magenta theme."
include:
- project: 'flashpoint/docker/nexus-deploy-action'
ref: main
file: '/docker-build.gitlab-ci.yml'
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
deploy:
stage: build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script: |
COMP_FILE=${COMPONENT_NAME}.zip
COMP_JSON=${COMPONENT_NAME}.json
zip -r $COMP_FILE ./ -x "./.**"
jq --null-input \
--arg name "$META_NAME" \
--arg desc "$META_DESCRIPTION" \
--arg date $(date +%s) \
--arg download $(du -b $COMP_FILE | awk '{print $1}') \
--arg install $(7z l $COMP_FILE | tail -n 1 | awk '{print $3}') \
--arg path "Data/Themes" \
--arg hash $(crc32 $COMP_FILE) \
--arg depends "theme-colorized" \
'{
"title": $name,
"description": $desc,
"date-modified": $date,
"download-size": $download,
"install-size": $install,
"path": $path,
"crc32": $hash,
"depends": $depends
}' > $COMP_JSON
zip artifact.zip $COMP_FILE $COMP_JSON
artifacts:
paths:
- artifact.zip
/*
==Theme==
@name Magenta
@version 1.1
@description The Colorized theme set to Magenta.
@author mathgeniuszach
@launcher-version alpha
==/Theme==
*/
@import url("../Colorized/root.css");
:root {
--hue: 300; /* HSL Hue. */
--saturation: 0.75; /* Percentage to multiply the base saturation values by. Must be a decimal. */
--lightness: 0.5; /* Percentage to multiply the base lightness values by. Must be a decimal. */
--alternate: 0%; /* Extra lightness between back-secondary and back-primary. Set to 0% to make them both be back-secondary. */
--accent: 1; /* How bright text and other elements should be. 100% is white, 50% is gray, while 0% is black. Must be a decimal. */
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment