-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
104 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Add possibility of inputting HEX in color parameters | ||
Add text-outline-font-family, text-outline-font-color, bg-blur variables | ||
Add possibility of inputting HEX in color parameters [done] | ||
Add text-outline-thickness, text-outline-color, bg-blur variables [done] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,51 @@ | ||
#################### | ||
# | ||
# border-thickness: {int number}px | Thickness in pixels | ||
# border-thickness: {float number}% | Border thickness in pixels relative to min(width, height) | ||
# border-thickness: {int number}px | Thickness in pixels | ||
# border-thickness: {float number}% | Border thickness in pixels relative to min(width, height) | ||
# | ||
# border-color: {string} | Name of the color: "black", "white", etc. | ||
# border-color: {0-255},{0-255},{0-255} | RGB color | ||
# border-color: {string} | Name of the color: "black", "white", etc. | ||
# border-color: {HEX string} | Hex string of the color. For example #4287f5, #ffffff, etc. | ||
# border-color: {0-255},{0-255},{0-255} | RGB color | ||
# | ||
# font-size: {int number}px | Font size in pixels | ||
# font-size: {float number}% | Font size in pixels relative to min(width, height) | ||
# font-size: {int number}px | Font size in pixels | ||
# font-size: {float number}% | Font size in pixels relative to min(width, height) | ||
# | ||
# crop-vertical-size: {int number}px | Crop image from the top and the bottom by a given amount of pixels | ||
# crop-vertical-size: {float number}% | Crop image from the top and the bottom by a given amount of pixels | ||
# | relative to min(width, height) | ||
# bg-crop-vertical-size: {int number}px | Crop image from the top and the bottom by a given amount of pixels | ||
# bg-crop-vertical-size: {float number}% | Crop image from the top and the bottom by a given amount of pixels | ||
# | relative to min(width, height) | ||
# | ||
# font-color: {string} | Name of the color: "black", "white", etc. | ||
# font-color: {0-255},{0-255},{0-255} | RGB color | ||
# font-color: {string} | Name of the color: "black", "white", etc. | ||
# font-color: {HEX string} | Hex string of the color. For example #4287f5, #ffffff, etc. | ||
# font-color: {0-255},{0-255},{0-255} | RGB color | ||
# | ||
# font-family: {string} | Path to the 'ttf' font file | ||
# font-family: default | 'data/fonts/SourceCodePro-Regular.ttf' | ||
# font-family: {string} | Path to the 'ttf' font file | ||
# font-family: default | 'data/fonts/SourceCodePro-Regular.ttf' | ||
# | ||
# text: YAML list of python f-strings | | ||
# text: default | ["{artist} - {title}", "Beatmap by {creator}"] | ||
# text: YAML list of python f-strings | | ||
# text: default | ["{artist} - {title}", "Beatmap by {creator}"] | ||
# | ||
# Available f-strings: ('title', 'title_unicode', 'artist', 'artist_unicode', | ||
# 'creator', 'source', 'beatmap_id', 'beatmap_set_id') | ||
# I.e. Some metadata | ||
# | ||
# I.e. Some metadata | ||
# | ||
# text-outline-thickness: {int}px | Thickness radius, recommended to specify it in px | ||
# | ||
# text-outline-color: {string} | Name of the color: "black", "white", etc. | ||
# text-outline-color: {HEX string} | Hex string of the color. For example #4287f5, #ffffff, etc. | ||
# text-outline-color: {0-255},{0-255},{0-255} | RGB color | ||
# | ||
# bg-blur-radius: {int}px | Gaussian blur specified in px | ||
# | ||
################### | ||
$schema: ../yaml_schemas/yaml_schema.json # Just specifying a schema, not necessary | ||
parameters: | ||
border-thickness: 5% | ||
border-color: white | ||
font-size: 60px | ||
crop-vertical-size: 15% | ||
bg-crop-vertical-size: 15% | ||
font-color: white | ||
font-family: default | ||
text: default | ||
text: default | ||
text-outline-thickness: 2px | ||
text-outline-color: black | ||
bg-blur-radius: 10px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
parameters: | ||
border-thickness: 5% | ||
border-color: 255,10,210 | ||
font-size: 60px | ||
crop-vertical-size: 20% | ||
border-color: black | ||
font-size: 70px | ||
bg-crop-vertical-size: 20% | ||
font-color: black | ||
font-family: data/fonts/ofont.ru_Oldtimer.ttf | ||
text: default | ||
font-family: default | ||
text: default | ||
text-outline-thickness: 4px | ||
text-outline-color: white | ||
bg-blur-radius: 2px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters