Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Magenta
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Flashpoint
Components
Themes
Magenta
Commits
2f87ed14
Commit
2f87ed14
authored
1 year ago
by
Wumbo
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
master
No related merge requests found
Pipeline
#1032
passed with stages
in 1 minute and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+44
-0
44 additions, 0 deletions
.gitlab-ci.yml
Magenta/theme.css
+19
-0
19 additions, 0 deletions
Magenta/theme.css
with
63 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
44
−
0
View file @
2f87ed14
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
This diff is collapsed.
Click to expand it.
Magenta/theme.css
0 → 100644
+
19
−
0
View file @
2f87ed14
/*
==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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment