diff --git a/assets/fonts/Arimo-Italic-Variable.ttf b/assets/fonts/Arimo-Italic-Variable.ttf new file mode 100644 index 0000000..2d2519e Binary files /dev/null and b/assets/fonts/Arimo-Italic-Variable.ttf differ diff --git a/assets/fonts/Arimo-Italic-Variable.ttf.import b/assets/fonts/Arimo-Italic-Variable.ttf.import new file mode 100644 index 0000000..3c90cc1 --- /dev/null +++ b/assets/fonts/Arimo-Italic-Variable.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://mhyxg23s7tq1" +path="res://.godot/imported/Arimo-Italic-Variable.ttf-424e7669ab2b93a8a3776771dc557357.fontdata" + +[deps] + +source_file="res://assets/fonts/Arimo-Italic-Variable.ttf" +dest_files=["res://.godot/imported/Arimo-Italic-Variable.ttf-424e7669ab2b93a8a3776771dc557357.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Arimo-Variable.ttf b/assets/fonts/Arimo-Variable.ttf new file mode 100644 index 0000000..428b8cb Binary files /dev/null and b/assets/fonts/Arimo-Variable.ttf differ diff --git a/assets/fonts/Arimo-Variable.ttf.import b/assets/fonts/Arimo-Variable.ttf.import new file mode 100644 index 0000000..b4c0181 --- /dev/null +++ b/assets/fonts/Arimo-Variable.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://bnee0e8si8oww" +path="res://.godot/imported/Arimo-Variable.ttf-5fb13cf9de5a21e3387d1b6e8f3994cd.fontdata" + +[deps] + +source_file="res://assets/fonts/Arimo-Variable.ttf" +dest_files=["res://.godot/imported/Arimo-Variable.ttf-5fb13cf9de5a21e3387d1b6e8f3994cd.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Bangers-Regular.ttf b/assets/fonts/Bangers-Regular.ttf new file mode 100644 index 0000000..9b0f8c1 Binary files /dev/null and b/assets/fonts/Bangers-Regular.ttf differ diff --git a/assets/fonts/Bangers-Regular.ttf.import b/assets/fonts/Bangers-Regular.ttf.import new file mode 100644 index 0000000..94c77e5 --- /dev/null +++ b/assets/fonts/Bangers-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://biufms4kse4s6" +path="res://.godot/imported/Bangers-Regular.ttf-1096e4d6e36d932f856599d7c9cc030f.fontdata" + +[deps] + +source_file="res://assets/fonts/Bangers-Regular.ttf" +dest_files=["res://.godot/imported/Bangers-Regular.ttf-1096e4d6e36d932f856599d7c9cc030f.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ChakraPetch-Bold.ttf b/assets/fonts/ChakraPetch-Bold.ttf new file mode 100644 index 0000000..76369ff Binary files /dev/null and b/assets/fonts/ChakraPetch-Bold.ttf differ diff --git a/assets/fonts/ChakraPetch-Bold.ttf.import b/assets/fonts/ChakraPetch-Bold.ttf.import new file mode 100644 index 0000000..49814db --- /dev/null +++ b/assets/fonts/ChakraPetch-Bold.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://pqur47q4jqeq" +path="res://.godot/imported/ChakraPetch-Bold.ttf-36b1681cc4458f50138f3d51061f0fbc.fontdata" + +[deps] + +source_file="res://assets/fonts/ChakraPetch-Bold.ttf" +dest_files=["res://.godot/imported/ChakraPetch-Bold.ttf-36b1681cc4458f50138f3d51061f0fbc.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ChakraPetch-Italic.ttf b/assets/fonts/ChakraPetch-Italic.ttf new file mode 100644 index 0000000..4656c73 Binary files /dev/null and b/assets/fonts/ChakraPetch-Italic.ttf differ diff --git a/assets/fonts/ChakraPetch-Italic.ttf.import b/assets/fonts/ChakraPetch-Italic.ttf.import new file mode 100644 index 0000000..a828cf8 --- /dev/null +++ b/assets/fonts/ChakraPetch-Italic.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dgy0r0nlul85q" +path="res://.godot/imported/ChakraPetch-Italic.ttf-34a3e1dd004418fca93c9e07b4d07bd5.fontdata" + +[deps] + +source_file="res://assets/fonts/ChakraPetch-Italic.ttf" +dest_files=["res://.godot/imported/ChakraPetch-Italic.ttf-34a3e1dd004418fca93c9e07b4d07bd5.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ChakraPetch-Regular.ttf b/assets/fonts/ChakraPetch-Regular.ttf new file mode 100644 index 0000000..c1167ce Binary files /dev/null and b/assets/fonts/ChakraPetch-Regular.ttf differ diff --git a/assets/fonts/ChakraPetch-Regular.ttf.import b/assets/fonts/ChakraPetch-Regular.ttf.import new file mode 100644 index 0000000..5f46729 --- /dev/null +++ b/assets/fonts/ChakraPetch-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://drybj6wn3hlsp" +path="res://.godot/imported/ChakraPetch-Regular.ttf-da050ac5f5f58524f1048d8edddf525b.fontdata" + +[deps] + +source_file="res://assets/fonts/ChakraPetch-Regular.ttf" +dest_files=["res://.godot/imported/ChakraPetch-Regular.ttf-da050ac5f5f58524f1048d8edddf525b.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ComicNeue-Bold.ttf b/assets/fonts/ComicNeue-Bold.ttf new file mode 100644 index 0000000..378eb20 Binary files /dev/null and b/assets/fonts/ComicNeue-Bold.ttf differ diff --git a/assets/fonts/ComicNeue-Bold.ttf.import b/assets/fonts/ComicNeue-Bold.ttf.import new file mode 100644 index 0000000..cb2f0ac --- /dev/null +++ b/assets/fonts/ComicNeue-Bold.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://e54fsyek3cf2" +path="res://.godot/imported/ComicNeue-Bold.ttf-af8ff781fdbc1d8383a23353a1bad950.fontdata" + +[deps] + +source_file="res://assets/fonts/ComicNeue-Bold.ttf" +dest_files=["res://.godot/imported/ComicNeue-Bold.ttf-af8ff781fdbc1d8383a23353a1bad950.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ComicNeue-Italic.ttf b/assets/fonts/ComicNeue-Italic.ttf new file mode 100644 index 0000000..72d9b0b Binary files /dev/null and b/assets/fonts/ComicNeue-Italic.ttf differ diff --git a/assets/fonts/ComicNeue-Italic.ttf.import b/assets/fonts/ComicNeue-Italic.ttf.import new file mode 100644 index 0000000..2c1b76d --- /dev/null +++ b/assets/fonts/ComicNeue-Italic.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dl1n0xlwc38uq" +path="res://.godot/imported/ComicNeue-Italic.ttf-6fc0b3ae2db038ae3bc005828d6e2647.fontdata" + +[deps] + +source_file="res://assets/fonts/ComicNeue-Italic.ttf" +dest_files=["res://.godot/imported/ComicNeue-Italic.ttf-6fc0b3ae2db038ae3bc005828d6e2647.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/ComicNeue-Regular.ttf b/assets/fonts/ComicNeue-Regular.ttf new file mode 100644 index 0000000..88e9417 Binary files /dev/null and b/assets/fonts/ComicNeue-Regular.ttf differ diff --git a/assets/fonts/ComicNeue-Regular.ttf.import b/assets/fonts/ComicNeue-Regular.ttf.import new file mode 100644 index 0000000..2f499cb --- /dev/null +++ b/assets/fonts/ComicNeue-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://hbmkg8hui8sq" +path="res://.godot/imported/ComicNeue-Regular.ttf-11872ec8bd338434a00ce2df66ffe523.fontdata" + +[deps] + +source_file="res://assets/fonts/ComicNeue-Regular.ttf" +dest_files=["res://.godot/imported/ComicNeue-Regular.ttf-11872ec8bd338434a00ce2df66ffe523.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/CourierPrime-Bold.ttf b/assets/fonts/CourierPrime-Bold.ttf new file mode 100644 index 0000000..d27ce71 Binary files /dev/null and b/assets/fonts/CourierPrime-Bold.ttf differ diff --git a/assets/fonts/CourierPrime-Bold.ttf.import b/assets/fonts/CourierPrime-Bold.ttf.import new file mode 100644 index 0000000..6ce19e5 --- /dev/null +++ b/assets/fonts/CourierPrime-Bold.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://cw5wv28cxkkhw" +path="res://.godot/imported/CourierPrime-Bold.ttf-976e7168a9bd68d3075217c154f4000e.fontdata" + +[deps] + +source_file="res://assets/fonts/CourierPrime-Bold.ttf" +dest_files=["res://.godot/imported/CourierPrime-Bold.ttf-976e7168a9bd68d3075217c154f4000e.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/CourierPrime-Italic.ttf b/assets/fonts/CourierPrime-Italic.ttf new file mode 100644 index 0000000..9f8dc6c Binary files /dev/null and b/assets/fonts/CourierPrime-Italic.ttf differ diff --git a/assets/fonts/CourierPrime-Italic.ttf.import b/assets/fonts/CourierPrime-Italic.ttf.import new file mode 100644 index 0000000..e8e8df1 --- /dev/null +++ b/assets/fonts/CourierPrime-Italic.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://n85xvjsk1g8h" +path="res://.godot/imported/CourierPrime-Italic.ttf-21e835682841d7d697ff0e9e2d04814e.fontdata" + +[deps] + +source_file="res://assets/fonts/CourierPrime-Italic.ttf" +dest_files=["res://.godot/imported/CourierPrime-Italic.ttf-21e835682841d7d697ff0e9e2d04814e.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/CourierPrime-Regular.ttf b/assets/fonts/CourierPrime-Regular.ttf new file mode 100644 index 0000000..2a0f8bd Binary files /dev/null and b/assets/fonts/CourierPrime-Regular.ttf differ diff --git a/assets/fonts/CourierPrime-Regular.ttf.import b/assets/fonts/CourierPrime-Regular.ttf.import new file mode 100644 index 0000000..d06af52 --- /dev/null +++ b/assets/fonts/CourierPrime-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://b3mwtpt77857c" +path="res://.godot/imported/CourierPrime-Regular.ttf-54402e9929ac5857dac75d764efd223b.fontdata" + +[deps] + +source_file="res://assets/fonts/CourierPrime-Regular.ttf" +dest_files=["res://.godot/imported/CourierPrime-Regular.ttf-54402e9929ac5857dac75d764efd223b.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Fredoka-Variable.ttf b/assets/fonts/Fredoka-Variable.ttf new file mode 100644 index 0000000..349b6ec Binary files /dev/null and b/assets/fonts/Fredoka-Variable.ttf differ diff --git a/assets/fonts/Fredoka-Variable.ttf.import b/assets/fonts/Fredoka-Variable.ttf.import new file mode 100644 index 0000000..1a1ed5e --- /dev/null +++ b/assets/fonts/Fredoka-Variable.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c0f5fouwgo5sk" +path="res://.godot/imported/Fredoka-Variable.ttf-be82ba9dfdb46f07e2455d8b62d90c28.fontdata" + +[deps] + +source_file="res://assets/fonts/Fredoka-Variable.ttf" +dest_files=["res://.godot/imported/Fredoka-Variable.ttf-be82ba9dfdb46f07e2455d8b62d90c28.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/IMFellEnglishSC-Regular.ttf b/assets/fonts/IMFellEnglishSC-Regular.ttf new file mode 100644 index 0000000..c97d4a0 Binary files /dev/null and b/assets/fonts/IMFellEnglishSC-Regular.ttf differ diff --git a/assets/fonts/IMFellEnglishSC-Regular.ttf.import b/assets/fonts/IMFellEnglishSC-Regular.ttf.import new file mode 100644 index 0000000..20eb32c --- /dev/null +++ b/assets/fonts/IMFellEnglishSC-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://sutsngxpl4pp" +path="res://.godot/imported/IMFellEnglishSC-Regular.ttf-ebc04104741601da5803e009b756fda4.fontdata" + +[deps] + +source_file="res://assets/fonts/IMFellEnglishSC-Regular.ttf" +dest_files=["res://.godot/imported/IMFellEnglishSC-Regular.ttf-ebc04104741601da5803e009b756fda4.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/OFL-Arimo.txt b/assets/fonts/OFL-Arimo.txt new file mode 100644 index 0000000..d610cd5 --- /dev/null +++ b/assets/fonts/OFL-Arimo.txt @@ -0,0 +1,93 @@ +Copyright 2026 The Arimo Project Authors (https://github.com/googlefonts/arimo) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-Bangers.txt b/assets/fonts/OFL-Bangers.txt new file mode 100644 index 0000000..16beaca --- /dev/null +++ b/assets/fonts/OFL-Bangers.txt @@ -0,0 +1,93 @@ +Copyright 2010 The Bangers Project Authors (https://github.com/googlefonts/bangers) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-ChakraPetch.txt b/assets/fonts/OFL-ChakraPetch.txt new file mode 100644 index 0000000..9cee5a5 --- /dev/null +++ b/assets/fonts/OFL-ChakraPetch.txt @@ -0,0 +1,93 @@ +Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-ComicNeue.txt b/assets/fonts/OFL-ComicNeue.txt new file mode 100644 index 0000000..1a1fefa --- /dev/null +++ b/assets/fonts/OFL-ComicNeue.txt @@ -0,0 +1,93 @@ +Copyright 2014 The Comic Neue Project Authors (https://github.com/crozynski/comicneue) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-CourierPrime.txt b/assets/fonts/OFL-CourierPrime.txt new file mode 100644 index 0000000..7cdc333 --- /dev/null +++ b/assets/fonts/OFL-CourierPrime.txt @@ -0,0 +1,93 @@ +Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime). + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. \ No newline at end of file diff --git a/assets/fonts/OFL-Fredoka.txt b/assets/fonts/OFL-Fredoka.txt new file mode 100644 index 0000000..791a98d --- /dev/null +++ b/assets/fonts/OFL-Fredoka.txt @@ -0,0 +1,93 @@ +Copyright 2016 The Fredoka Project Authors (https://github.com/hafontia/Fredoka-One) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-IMFellEnglishSC.txt b/assets/fonts/OFL-IMFellEnglishSC.txt new file mode 100644 index 0000000..1bf2ab0 --- /dev/null +++ b/assets/fonts/OFL-IMFellEnglishSC.txt @@ -0,0 +1,93 @@ +Copyright (c) 2010, Igino Marini (mail@iginomarini.com) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-ShareTechMono.txt b/assets/fonts/OFL-ShareTechMono.txt new file mode 100644 index 0000000..2ff09c1 --- /dev/null +++ b/assets/fonts/OFL-ShareTechMono.txt @@ -0,0 +1,93 @@ +Copyright (c) 2012, Carrois Type Design, Ralph du Carrois (post@carrois.com www.carrois.com), with Reserved Font Name 'Share' + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/OFL-Silkscreen.txt b/assets/fonts/OFL-Silkscreen.txt new file mode 100644 index 0000000..3dd7cfb --- /dev/null +++ b/assets/fonts/OFL-Silkscreen.txt @@ -0,0 +1,93 @@ +Copyright 2001 The Silkscreen Project Authors (https://github.com/googlefonts/silkscreen) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/ShareTechMono-Regular.ttf b/assets/fonts/ShareTechMono-Regular.ttf new file mode 100644 index 0000000..1611474 Binary files /dev/null and b/assets/fonts/ShareTechMono-Regular.ttf differ diff --git a/assets/fonts/ShareTechMono-Regular.ttf.import b/assets/fonts/ShareTechMono-Regular.ttf.import new file mode 100644 index 0000000..577aa52 --- /dev/null +++ b/assets/fonts/ShareTechMono-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://wm4uwlw1lseq" +path="res://.godot/imported/ShareTechMono-Regular.ttf-e284e7c8df68d7d931beb3b0762d7c17.fontdata" + +[deps] + +source_file="res://assets/fonts/ShareTechMono-Regular.ttf" +dest_files=["res://.godot/imported/ShareTechMono-Regular.ttf-e284e7c8df68d7d931beb3b0762d7c17.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Silkscreen-Bold.ttf b/assets/fonts/Silkscreen-Bold.ttf new file mode 100644 index 0000000..6771252 Binary files /dev/null and b/assets/fonts/Silkscreen-Bold.ttf differ diff --git a/assets/fonts/Silkscreen-Bold.ttf.import b/assets/fonts/Silkscreen-Bold.ttf.import new file mode 100644 index 0000000..6292df7 --- /dev/null +++ b/assets/fonts/Silkscreen-Bold.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c18lv7snm6rjb" +path="res://.godot/imported/Silkscreen-Bold.ttf-c5bfe206a7f26b7a826f144afbfe2747.fontdata" + +[deps] + +source_file="res://assets/fonts/Silkscreen-Bold.ttf" +dest_files=["res://.godot/imported/Silkscreen-Bold.ttf-c5bfe206a7f26b7a826f144afbfe2747.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/fonts/Silkscreen-Regular.ttf b/assets/fonts/Silkscreen-Regular.ttf new file mode 100644 index 0000000..8caff81 Binary files /dev/null and b/assets/fonts/Silkscreen-Regular.ttf differ diff --git a/assets/fonts/Silkscreen-Regular.ttf.import b/assets/fonts/Silkscreen-Regular.ttf.import new file mode 100644 index 0000000..e94b5c1 --- /dev/null +++ b/assets/fonts/Silkscreen-Regular.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://bgs0p5p3rqgbx" +path="res://.godot/imported/Silkscreen-Regular.ttf-0088f200f2f1c02c371962cb8d277333.fontdata" + +[deps] + +source_file="res://assets/fonts/Silkscreen-Regular.ttf" +dest_files=["res://.godot/imported/Silkscreen-Regular.ttf-0088f200f2f1c02c371962cb8d277333.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=3 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 562ce4c..2371c3b 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -81,7 +81,9 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol Morgan recolouring by role, background scene + tile, frame sets (3-stop gradient map), picture threads, sounds (View ▾ → Sound: Off / Quiet / Medium / Loud; default Quiet). Nine new built-in themes from the mockup (Vaporwave … Terminal) with stand-in art and synthesised sounds; 10 new OFL - fonts. `--theme=` CLI flag. Not hand-tested yet. Map: ARCHITECTURE §3d; format: THEMES.md. + fonts. `--theme=` CLI flag. Then (same day) Web 1.0 + the 8 suggested themes (Case File, Eldritch + Archive, Comic Panel, Brass & Gears, Chrome Street, Star Chart, Cartographer, Storybook): 18 new + built-ins in all, 20 bundled-font additions. Placeholder list: Theme Art Guide, "Placeholder art". Not hand-tested yet. Map: ARCHITECTURE §3d; format: THEMES.md. Known gaps vs mockup: corner ornaments show on all four corners; no card drop shadows; Terminal has no scanlines. `pipe_layer.gd` is now 456 lines (size audit). diff --git a/themes/aero/theme.gd b/themes/aero/theme.gd index 94ee4a1..1ca766a 100644 --- a/themes/aero/theme.gd +++ b/themes/aero/theme.gd @@ -58,7 +58,8 @@ const DATA := { "scale": 0.25, "outset": 11.0, "pad": 2, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/autumn/theme.gd b/themes/autumn/theme.gd index 90ae9e7..ccc22d3 100644 --- a/themes/autumn/theme.gd +++ b/themes/autumn/theme.gd @@ -60,7 +60,8 @@ const DATA := { "scale": 0.25, "outset": 16.0, "pad": 4, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/brass/background_tile.svg b/themes/brass/background_tile.svg new file mode 100644 index 0000000..c027474 --- /dev/null +++ b/themes/brass/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/brass/background_tile.svg.import b/themes/brass/background_tile.svg.import new file mode 100644 index 0000000..4ab97f8 --- /dev/null +++ b/themes/brass/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://drxr782cb7jkc" +path="res://.godot/imported/background_tile.svg-b39dc62bf50bcc01aec3cfa706485242.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/brass/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-b39dc62bf50bcc01aec3cfa706485242.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/brass/frame_corner.svg b/themes/brass/frame_corner.svg new file mode 100644 index 0000000..a44c599 --- /dev/null +++ b/themes/brass/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/brass/frame_corner.svg.import b/themes/brass/frame_corner.svg.import new file mode 100644 index 0000000..8c2e516 --- /dev/null +++ b/themes/brass/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://oavrdd7rq8de" +path="res://.godot/imported/frame_corner.svg-d4586b0a8f0cb5e3b31be61950b1fea3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/brass/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-d4586b0a8f0cb5e3b31be61950b1fea3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/brass/frame_corner_fixed.svg b/themes/brass/frame_corner_fixed.svg new file mode 100644 index 0000000..2601229 --- /dev/null +++ b/themes/brass/frame_corner_fixed.svg @@ -0,0 +1 @@ + diff --git a/themes/brass/frame_corner_fixed.svg.import b/themes/brass/frame_corner_fixed.svg.import new file mode 100644 index 0000000..39a6662 --- /dev/null +++ b/themes/brass/frame_corner_fixed.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8ppkvk5lbf87" +path="res://.godot/imported/frame_corner_fixed.svg-93da7c4b36832c9dc1012e20c6f1016d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/brass/frame_corner_fixed.svg" +dest_files=["res://.godot/imported/frame_corner_fixed.svg-93da7c4b36832c9dc1012e20c6f1016d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/brass/frame_edge.svg b/themes/brass/frame_edge.svg new file mode 100644 index 0000000..0263638 --- /dev/null +++ b/themes/brass/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/brass/frame_edge.svg.import b/themes/brass/frame_edge.svg.import new file mode 100644 index 0000000..cd590a9 --- /dev/null +++ b/themes/brass/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ltg8r2cbwjf5" +path="res://.godot/imported/frame_edge.svg-c010aeb6ff5953613d121a57a2381db5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/brass/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-c010aeb6ff5953613d121a57a2381db5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/brass/sounds/card_turn.ogg b/themes/brass/sounds/card_turn.ogg new file mode 100644 index 0000000..885d2a6 Binary files /dev/null and b/themes/brass/sounds/card_turn.ogg differ diff --git a/themes/brass/sounds/card_turn.ogg.import b/themes/brass/sounds/card_turn.ogg.import new file mode 100644 index 0000000..c5dfd2e --- /dev/null +++ b/themes/brass/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://pu16gv1kpib2" +path="res://.godot/imported/card_turn.ogg-0bf4386503ae917d1ff97647654a6460.oggvorbisstr" + +[deps] + +source_file="res://themes/brass/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-0bf4386503ae917d1ff97647654a6460.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/brass/sounds/roll.ogg b/themes/brass/sounds/roll.ogg new file mode 100644 index 0000000..8e2571a Binary files /dev/null and b/themes/brass/sounds/roll.ogg differ diff --git a/themes/brass/sounds/roll.ogg.import b/themes/brass/sounds/roll.ogg.import new file mode 100644 index 0000000..2e62cef --- /dev/null +++ b/themes/brass/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bthedhgvbcu8c" +path="res://.godot/imported/roll.ogg-e1c6760a1d9384eff3bfe070a59e5fd9.oggvorbisstr" + +[deps] + +source_file="res://themes/brass/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-e1c6760a1d9384eff3bfe070a59e5fd9.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/brass/theme.gd b/themes/brass/theme.gd new file mode 100644 index 0000000..bf80fee --- /dev/null +++ b/themes/brass/theme.gd @@ -0,0 +1,117 @@ +extends RefCounted +## Built-in theme: Brass & Gears. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "brass", + "name": "Brass & Gears", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "lora", + "font_display": "cinzel", + "background": { + "kind": "radial", + "colors": [ + "#5a2422", + "#3a1614", + "#24100c" + ], + "center": [ + 0.4, + 0.3 + ] + }, + "panel": { + "kind": "linear", + "colors": [ + "#2b1a12", + "#1c110b" + ], + "angle": 90 + }, + "mascot_colors": { + "outline": "#2b1a12", + "cloth": "#4a1c1a", + "trim": "#c8a04a", + "eye": "#4f9a8a", + "eye_glint": "#ffcf7a", + "inner_line": "#3c1b16" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.14, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_fixed": "frame_corner_fixed.svg", + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 6.5, + "pad": 10, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 32, + 28 + ], + "width": 17.5 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#3a1614", + "BG_DEEP": "#200c0b", + "BG_HOVER": "#583937", + "PANEL": "#2b1a12", + "ON_BG": "#f1e6cc", + "ON_BG_MUTED": "#b19d8c", + "CARD": "#f1e6cc", + "CARD_SOFT": "#f6eedb", + "CARD_HOVER": "#e4d5b3", + "CARD_SHADE": "#d0c3aa", + "INK": "#2b1a12", + "MUTED": "#6d5a44", + "FAINT": "#a2927a", + "RULE": "#dcc9a2", + "DASH": "#aa9778", + "HOVER_ROW": "#e5e5d2", + "STRIPE": "#2b1a120e", + "TRIM": "#c8a04a", + "TRIM_DARK": "#7a5520", + "THREAD": "#b5652e", + "THREAD_DARK": "#5c2e12", + "ACCENT": "#c8a04a", + "ACCENT_DARK": "#5a4821", + "GROUP": "#c8a04a", + "LIT": "#cfe3dc", + "FLICK": "#c8a04a59", + "PULSE": "#eee2c9", + "GLOW": "#4f9a8a", + "VALUE_BG": "#ead9b5", + "VALUE_BORDER": "#dac084", + "VALUE_INK": "#645025", + "VALUE_INK_ON_BG": "#c8a04a", + "REF_BG": "#d1d7bf", + "REF_INK": "#284d45", + "REF_INK_ON_BG": "#84b8ad" + } +} diff --git a/themes/brass/theme.gd.uid b/themes/brass/theme.gd.uid new file mode 100644 index 0000000..8cbb6fe --- /dev/null +++ b/themes/brass/theme.gd.uid @@ -0,0 +1 @@ +uid://bm6vdg3uc4rho diff --git a/themes/brass/thread_strip.svg b/themes/brass/thread_strip.svg new file mode 100644 index 0000000..87452ad --- /dev/null +++ b/themes/brass/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/brass/thread_strip.svg.import b/themes/brass/thread_strip.svg.import new file mode 100644 index 0000000..32239ef --- /dev/null +++ b/themes/brass/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bi0jft6iq0cu" +path="res://.godot/imported/thread_strip.svg-a77d4f022bdf51604313070bfc524a67.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/brass/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-a77d4f022bdf51604313070bfc524a67.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/chrome/background_scene.svg b/themes/chrome/background_scene.svg new file mode 100644 index 0000000..3840b0d --- /dev/null +++ b/themes/chrome/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/chrome/background_scene.svg.import b/themes/chrome/background_scene.svg.import new file mode 100644 index 0000000..039bb61 --- /dev/null +++ b/themes/chrome/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duj8r5cwvmubm" +path="res://.godot/imported/background_scene.svg-d19c94967bd75df7a829ad1f4d42703b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/chrome/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-d19c94967bd75df7a829ad1f4d42703b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/chrome/background_tile.svg b/themes/chrome/background_tile.svg new file mode 100644 index 0000000..f4f4c56 --- /dev/null +++ b/themes/chrome/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/chrome/background_tile.svg.import b/themes/chrome/background_tile.svg.import new file mode 100644 index 0000000..0e91595 --- /dev/null +++ b/themes/chrome/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7ulv4gtudpgg" +path="res://.godot/imported/background_tile.svg-cde6feffc2edbe912470e82eeec7aa8e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/chrome/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-cde6feffc2edbe912470e82eeec7aa8e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/chrome/frame_corner.svg b/themes/chrome/frame_corner.svg new file mode 100644 index 0000000..9211615 --- /dev/null +++ b/themes/chrome/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/chrome/frame_corner.svg.import b/themes/chrome/frame_corner.svg.import new file mode 100644 index 0000000..7062fdc --- /dev/null +++ b/themes/chrome/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d0tsqknbb3hje" +path="res://.godot/imported/frame_corner.svg-7b909b782ac7b0f80d93a3d5dcabf81d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/chrome/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-7b909b782ac7b0f80d93a3d5dcabf81d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/chrome/frame_edge.svg b/themes/chrome/frame_edge.svg new file mode 100644 index 0000000..8c7e655 --- /dev/null +++ b/themes/chrome/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/chrome/frame_edge.svg.import b/themes/chrome/frame_edge.svg.import new file mode 100644 index 0000000..1fca75c --- /dev/null +++ b/themes/chrome/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cimalkkwfr6rp" +path="res://.godot/imported/frame_edge.svg-596ae4d08bd3b8ed2832dfeb12016ebd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/chrome/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-596ae4d08bd3b8ed2832dfeb12016ebd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/chrome/sounds/card_turn.ogg b/themes/chrome/sounds/card_turn.ogg new file mode 100644 index 0000000..d7710b7 Binary files /dev/null and b/themes/chrome/sounds/card_turn.ogg differ diff --git a/themes/chrome/sounds/card_turn.ogg.import b/themes/chrome/sounds/card_turn.ogg.import new file mode 100644 index 0000000..9ed93b9 --- /dev/null +++ b/themes/chrome/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://uolal2neermj" +path="res://.godot/imported/card_turn.ogg-5c97cfd675e892356c1423df4c593d75.oggvorbisstr" + +[deps] + +source_file="res://themes/chrome/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-5c97cfd675e892356c1423df4c593d75.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/chrome/sounds/roll.ogg b/themes/chrome/sounds/roll.ogg new file mode 100644 index 0000000..a29fced Binary files /dev/null and b/themes/chrome/sounds/roll.ogg differ diff --git a/themes/chrome/sounds/roll.ogg.import b/themes/chrome/sounds/roll.ogg.import new file mode 100644 index 0000000..c2428ca --- /dev/null +++ b/themes/chrome/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bar3e8ow2c0m8" +path="res://.godot/imported/roll.ogg-dd7db928b1a46fedcca72e5eae469eef.oggvorbisstr" + +[deps] + +source_file="res://themes/chrome/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-dd7db928b1a46fedcca72e5eae469eef.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/chrome/theme.gd b/themes/chrome/theme.gd new file mode 100644 index 0000000..c853461 --- /dev/null +++ b/themes/chrome/theme.gd @@ -0,0 +1,119 @@ +extends RefCounted +## Built-in theme: Chrome Street. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "chrome", + "name": "Chrome Street", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "chakrapetch", + "font_display": "chakrapetch", + "background": { + "kind": "linear", + "colors": [ + "#0e1013", + "#151a20" + ], + "angle": 90 + }, + "panel": { + "kind": "solid", + "colors": [ + "#08090b" + ] + }, + "mascot_colors": { + "outline": "#0e1013", + "cloth": "#23272e", + "trim": "#d7ff3a", + "eye": "#00e1ff", + "eye_glint": "#ffffff", + "inner_line": "#1a1d22" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "bottom" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.55, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 128, + 128 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 9.0, + "pad": 4, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 88, + 24 + ], + "width": 15.0 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#11141a", + "BG_DEEP": "#090b0e", + "BG_HOVER": "#35373c", + "PANEL": "#08090b", + "ON_BG": "#e6edf3", + "ON_BG_MUTED": "#9ba1a7", + "CARD": "#1a1e24", + "CARD_SOFT": "#20252c", + "CARD_HOVER": "#272c35", + "CARD_SHADE": "#363c44", + "INK": "#e6edf3", + "MUTED": "#8a96a3", + "FAINT": "#5d6670", + "RULE": "#2f3640", + "DASH": "#58616d", + "HOVER_ROW": "#4a1f2c", + "STRIPE": "#e6edf30e", + "TRIM": "#5b6470", + "TRIM_DARK": "#23272e", + "THREAD": "#00e1ff", + "THREAD_DARK": "#00525e", + "ACCENT": "#d7ff3a", + "ACCENT_DARK": "#61731a", + "GROUP": "#d7ff3a", + "LIT": "#a3223a", + "FLICK": "#d7ff3a59", + "PULSE": "#f3ffc4", + "GLOW": "#00e1ff", + "VALUE_BG": "#3c4628", + "VALUE_BORDER": "#829a30", + "VALUE_INK": "#dfff61", + "VALUE_INK_ON_BG": "#d7ff3a", + "REF_BG": "#154550", + "REF_INK": "#4ceaff", + "REF_INK_ON_BG": "#4ceaff", + "WARN_BG": "#552f2f", + "WARN_INK": "#ffb1a3", + "DANGER_INK": "#ff8a7a", + "OK_INK": "#7fe0a0", + "NO_INK": "#ff8a7a" + } +} diff --git a/themes/chrome/theme.gd.uid b/themes/chrome/theme.gd.uid new file mode 100644 index 0000000..522365a --- /dev/null +++ b/themes/chrome/theme.gd.uid @@ -0,0 +1 @@ +uid://d0bux4b8gc8d2 diff --git a/themes/chrome/thread_strip.svg b/themes/chrome/thread_strip.svg new file mode 100644 index 0000000..5eb1b2f --- /dev/null +++ b/themes/chrome/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/chrome/thread_strip.svg.import b/themes/chrome/thread_strip.svg.import new file mode 100644 index 0000000..7587bf5 --- /dev/null +++ b/themes/chrome/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://tm546i1rqyl5" +path="res://.godot/imported/thread_strip.svg-ad1a55d6185597cda440b29e0b08acf7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/chrome/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-ad1a55d6185597cda440b29e0b08acf7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/comic/background_scene.svg b/themes/comic/background_scene.svg new file mode 100644 index 0000000..522b462 --- /dev/null +++ b/themes/comic/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/comic/background_scene.svg.import b/themes/comic/background_scene.svg.import new file mode 100644 index 0000000..7397824 --- /dev/null +++ b/themes/comic/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://jwsthi3f7tk" +path="res://.godot/imported/background_scene.svg-71dcb74ad46e776cd8db20accec2bbc9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/comic/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-71dcb74ad46e776cd8db20accec2bbc9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/comic/background_tile.svg b/themes/comic/background_tile.svg new file mode 100644 index 0000000..53f365b --- /dev/null +++ b/themes/comic/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/comic/background_tile.svg.import b/themes/comic/background_tile.svg.import new file mode 100644 index 0000000..e2f5141 --- /dev/null +++ b/themes/comic/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rwp6cd0u3c75" +path="res://.godot/imported/background_tile.svg-4cb23ef34f178b160ec9e9afc6f36400.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/comic/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-4cb23ef34f178b160ec9e9afc6f36400.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/comic/frame_corner.svg b/themes/comic/frame_corner.svg new file mode 100644 index 0000000..9ce8113 --- /dev/null +++ b/themes/comic/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/comic/frame_corner.svg.import b/themes/comic/frame_corner.svg.import new file mode 100644 index 0000000..930d76a --- /dev/null +++ b/themes/comic/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgmese7rn34fg" +path="res://.godot/imported/frame_corner.svg-b023fe1682dccacaab97f266919354f5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/comic/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-b023fe1682dccacaab97f266919354f5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/comic/frame_edge.svg b/themes/comic/frame_edge.svg new file mode 100644 index 0000000..2988a77 --- /dev/null +++ b/themes/comic/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/comic/frame_edge.svg.import b/themes/comic/frame_edge.svg.import new file mode 100644 index 0000000..d7c39bc --- /dev/null +++ b/themes/comic/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8nnmddj8nduv" +path="res://.godot/imported/frame_edge.svg-c5bbc6a26d774a7bf502aa68a9ff66f0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/comic/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-c5bbc6a26d774a7bf502aa68a9ff66f0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/comic/sounds/card_turn.ogg b/themes/comic/sounds/card_turn.ogg new file mode 100644 index 0000000..5444494 Binary files /dev/null and b/themes/comic/sounds/card_turn.ogg differ diff --git a/themes/comic/sounds/card_turn.ogg.import b/themes/comic/sounds/card_turn.ogg.import new file mode 100644 index 0000000..e97fc6c --- /dev/null +++ b/themes/comic/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://btolnyvfxlao0" +path="res://.godot/imported/card_turn.ogg-c64750d76eef6edb2ea646beec009b8b.oggvorbisstr" + +[deps] + +source_file="res://themes/comic/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-c64750d76eef6edb2ea646beec009b8b.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/comic/sounds/roll.ogg b/themes/comic/sounds/roll.ogg new file mode 100644 index 0000000..f9ea1c2 Binary files /dev/null and b/themes/comic/sounds/roll.ogg differ diff --git a/themes/comic/sounds/roll.ogg.import b/themes/comic/sounds/roll.ogg.import new file mode 100644 index 0000000..44d8f50 --- /dev/null +++ b/themes/comic/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://c0it6m6nwfmo8" +path="res://.godot/imported/roll.ogg-5ebc3ae5e47cc23bb045f090f3320f63.oggvorbisstr" + +[deps] + +source_file="res://themes/comic/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-5ebc3ae5e47cc23bb045f090f3320f63.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/comic/theme.gd b/themes/comic/theme.gd new file mode 100644 index 0000000..64b9bb3 --- /dev/null +++ b/themes/comic/theme.gd @@ -0,0 +1,112 @@ +extends RefCounted +## Built-in theme: Comic Panel. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "comic", + "name": "Comic Panel", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "comicneue", + "font_display": "bangers", + "background": { + "kind": "solid", + "colors": [ + "#fff3c4" + ] + }, + "panel": { + "kind": "solid", + "colors": [ + "#ffd23f" + ] + }, + "mascot_colors": { + "outline": "#111111", + "cloth": "#1d71f2", + "trim": "#ffd23f", + "eye": "#e63946", + "eye_glint": "#ffffff", + "inner_line": "#18468d" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "center" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.22, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 8.0, + "pad": 6, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 32, + 36 + ], + "width": 22.5 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#fff3c4", + "BG_DEEP": "#111111", + "BG_HOVER": "#fff5cd", + "PANEL": "#ffd23f", + "ON_BG": "#111111", + "ON_BG_MUTED": "#4a463c", + "CARD": "#fffbea", + "CARD_SOFT": "#fff4cc", + "CARD_HOVER": "#e8e1c2", + "CARD_SHADE": "#d4d1c2", + "INK": "#111111", + "MUTED": "#55524a", + "FAINT": "#99968a", + "RULE": "#d9d0a8", + "DASH": "#9e977e", + "HOVER_ROW": "#ffedae", + "STRIPE": "#1111110e", + "TRIM": "#111111", + "TRIM_DARK": "#111111", + "THREAD": "#111111", + "THREAD_DARK": "#ffffff", + "ACCENT": "#e63946", + "ACCENT_DARK": "#671a20", + "GROUP": "#e63946", + "LIT": "#ffd23f", + "FLICK": "#e6394659", + "PULSE": "#f8c4c8", + "GLOW": "#1d71f2", + "VALUE_BG": "#fad8cc", + "VALUE_BORDER": "#f19090", + "VALUE_INK": "#731c23", + "VALUE_INK_ON_BG": "#e63946", + "REF_BG": "#d2dfec", + "REF_INK": "#0e3879", + "REF_INK_ON_BG": "#619cf6" + } +} diff --git a/themes/comic/theme.gd.uid b/themes/comic/theme.gd.uid new file mode 100644 index 0000000..d9f6a4b --- /dev/null +++ b/themes/comic/theme.gd.uid @@ -0,0 +1 @@ +uid://cwdfsg2rv5ywv diff --git a/themes/comic/thread_strip.svg b/themes/comic/thread_strip.svg new file mode 100644 index 0000000..3f70d37 --- /dev/null +++ b/themes/comic/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/comic/thread_strip.svg.import b/themes/comic/thread_strip.svg.import new file mode 100644 index 0000000..3f438f4 --- /dev/null +++ b/themes/comic/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://28wck688upaw" +path="res://.godot/imported/thread_strip.svg-a5df85961c1429e3d3ddac717489c17c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/comic/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-a5df85961c1429e3d3ddac717489c17c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/background_scene.svg b/themes/eldritch/background_scene.svg new file mode 100644 index 0000000..4e8fbb5 --- /dev/null +++ b/themes/eldritch/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/background_scene.svg.import b/themes/eldritch/background_scene.svg.import new file mode 100644 index 0000000..ab50924 --- /dev/null +++ b/themes/eldritch/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpuff73x841q3" +path="res://.godot/imported/background_scene.svg-fafe7136d01636a13ecd6f3625fd5d11.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-fafe7136d01636a13ecd6f3625fd5d11.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/background_tile.svg b/themes/eldritch/background_tile.svg new file mode 100644 index 0000000..5f7cdbd --- /dev/null +++ b/themes/eldritch/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/background_tile.svg.import b/themes/eldritch/background_tile.svg.import new file mode 100644 index 0000000..a04fa11 --- /dev/null +++ b/themes/eldritch/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3yrx1feedai" +path="res://.godot/imported/background_tile.svg-49575be0f466026130dd3f9cfd5eff22.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-49575be0f466026130dd3f9cfd5eff22.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/frame_corner.svg b/themes/eldritch/frame_corner.svg new file mode 100644 index 0000000..1358d91 --- /dev/null +++ b/themes/eldritch/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/frame_corner.svg.import b/themes/eldritch/frame_corner.svg.import new file mode 100644 index 0000000..294616c --- /dev/null +++ b/themes/eldritch/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1gyjsuu6p5w2" +path="res://.godot/imported/frame_corner.svg-9656ba249c34c5e855d7812cb2a90cbd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-9656ba249c34c5e855d7812cb2a90cbd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/frame_corner_fixed.svg b/themes/eldritch/frame_corner_fixed.svg new file mode 100644 index 0000000..d25d87b --- /dev/null +++ b/themes/eldritch/frame_corner_fixed.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/frame_corner_fixed.svg.import b/themes/eldritch/frame_corner_fixed.svg.import new file mode 100644 index 0000000..818e146 --- /dev/null +++ b/themes/eldritch/frame_corner_fixed.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xith6jmr2vcd" +path="res://.godot/imported/frame_corner_fixed.svg-16c650fe95e2d7fbfda0eeccfa7af04a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/frame_corner_fixed.svg" +dest_files=["res://.godot/imported/frame_corner_fixed.svg-16c650fe95e2d7fbfda0eeccfa7af04a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/frame_edge.svg b/themes/eldritch/frame_edge.svg new file mode 100644 index 0000000..faed386 --- /dev/null +++ b/themes/eldritch/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/frame_edge.svg.import b/themes/eldritch/frame_edge.svg.import new file mode 100644 index 0000000..9dd4d76 --- /dev/null +++ b/themes/eldritch/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1bcxmc6xd5fl" +path="res://.godot/imported/frame_edge.svg-f2f7f3a417c22a3c983fc456318b8c0a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-f2f7f3a417c22a3c983fc456318b8c0a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/eldritch/sounds/card_turn.ogg b/themes/eldritch/sounds/card_turn.ogg new file mode 100644 index 0000000..cba5a1f Binary files /dev/null and b/themes/eldritch/sounds/card_turn.ogg differ diff --git a/themes/eldritch/sounds/card_turn.ogg.import b/themes/eldritch/sounds/card_turn.ogg.import new file mode 100644 index 0000000..90222f7 --- /dev/null +++ b/themes/eldritch/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://356urowdomrs" +path="res://.godot/imported/card_turn.ogg-4e65f6f8f7b6fc7e9f3cee6d417ef10f.oggvorbisstr" + +[deps] + +source_file="res://themes/eldritch/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-4e65f6f8f7b6fc7e9f3cee6d417ef10f.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/eldritch/sounds/roll.ogg b/themes/eldritch/sounds/roll.ogg new file mode 100644 index 0000000..91e04da Binary files /dev/null and b/themes/eldritch/sounds/roll.ogg differ diff --git a/themes/eldritch/sounds/roll.ogg.import b/themes/eldritch/sounds/roll.ogg.import new file mode 100644 index 0000000..c4d801d --- /dev/null +++ b/themes/eldritch/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://c63ulwj1gilbq" +path="res://.godot/imported/roll.ogg-31f17e5e8655e1397a77ba0e30878b52.oggvorbisstr" + +[deps] + +source_file="res://themes/eldritch/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-31f17e5e8655e1397a77ba0e30878b52.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/eldritch/theme.gd b/themes/eldritch/theme.gd new file mode 100644 index 0000000..1b3e78a --- /dev/null +++ b/themes/eldritch/theme.gd @@ -0,0 +1,118 @@ +extends RefCounted +## Built-in theme: Eldritch Archive. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "eldritch", + "name": "Eldritch Archive", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "imfell", + "font_display": "imfellsc", + "background": { + "kind": "radial", + "colors": [ + "#16302c", + "#0d1a1a" + ], + "center": [ + 0.5, + 0.4 + ] + }, + "panel": { + "kind": "solid", + "colors": [ + "#081010" + ] + }, + "mascot_colors": { + "outline": "#0d1a1a", + "cloth": "#2e4038", + "trim": "#5a3d5c", + "eye": "#b8e06a", + "eye_glint": "#ffffff", + "inner_line": "#1f2f2b" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "center" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.9, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_fixed": "frame_corner_fixed.svg", + "corner_size": [ + 232, + 232 + ], + "edge_size": [ + 168, + 64 + ], + "side_mid": 84, + "top_mid": 84, + "edge_mid": 84, + "scale": 0.25, + "outset": 22.38, + "pad": 4, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 88, + 24 + ], + "width": 15.0 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#0d1a1a", + "BG_DEEP": "#070e0e", + "BG_HOVER": "#313c3c", + "PANEL": "#081010", + "ON_BG": "#e8dfc4", + "ON_BG_MUTED": "#9b9a89", + "CARD": "#e8dfc4", + "CARD_SOFT": "#efe8d2", + "CARD_HOVER": "#d9cfb0", + "CARD_SHADE": "#c6bea5", + "INK": "#22201a", + "MUTED": "#5f5a48", + "FAINT": "#968f7a", + "RULE": "#cfc4a2", + "DASH": "#9d947a", + "HOVER_ROW": "#e4dacf", + "STRIPE": "#22201a0e", + "TRIM": "#2e4038", + "TRIM_DARK": "#0d1a1a", + "THREAD": "#b8e06a", + "THREAD_DARK": "#2e4038", + "ACCENT": "#b8e06a", + "ACCENT_DARK": "#536530", + "GROUP": "#b8e06a", + "LIT": "#ddd0e3", + "FLICK": "#b8e06a59", + "PULSE": "#eaf6d2", + "GLOW": "#b8e06a", + "VALUE_BG": "#dfdfb4", + "VALUE_BORDER": "#cee092", + "VALUE_INK": "#5c7035", + "VALUE_INK_ON_BG": "#b8e06a", + "REF_BG": "#dedfb2", + "REF_INK": "#5c7035", + "REF_INK_ON_BG": "#cde997" + } +} diff --git a/themes/eldritch/theme.gd.uid b/themes/eldritch/theme.gd.uid new file mode 100644 index 0000000..71d3abb --- /dev/null +++ b/themes/eldritch/theme.gd.uid @@ -0,0 +1 @@ +uid://0nckhj21je4y diff --git a/themes/eldritch/thread_strip.svg b/themes/eldritch/thread_strip.svg new file mode 100644 index 0000000..d32737b --- /dev/null +++ b/themes/eldritch/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/eldritch/thread_strip.svg.import b/themes/eldritch/thread_strip.svg.import new file mode 100644 index 0000000..d43df00 --- /dev/null +++ b/themes/eldritch/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dui62t25npvv8" +path="res://.godot/imported/thread_strip.svg-f34cdd06fbbd20de5362db6943d13b32.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/eldritch/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-f34cdd06fbbd20de5362db6943d13b32.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/gothic/theme.gd b/themes/gothic/theme.gd index 1d87ee6..2c7d70d 100644 --- a/themes/gothic/theme.gd +++ b/themes/gothic/theme.gd @@ -63,7 +63,8 @@ const DATA := { "scale": 0.25, "outset": 14.0, "pad": 7, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/map/background_scene.svg b/themes/map/background_scene.svg new file mode 100644 index 0000000..02b9bb1 --- /dev/null +++ b/themes/map/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/map/background_scene.svg.import b/themes/map/background_scene.svg.import new file mode 100644 index 0000000..2ae627a --- /dev/null +++ b/themes/map/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bghws7qkbrjr5" +path="res://.godot/imported/background_scene.svg-3f84a27181dadd6814049f20112cb828.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/map/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-3f84a27181dadd6814049f20112cb828.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/map/background_tile.svg b/themes/map/background_tile.svg new file mode 100644 index 0000000..b9e8999 --- /dev/null +++ b/themes/map/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/map/background_tile.svg.import b/themes/map/background_tile.svg.import new file mode 100644 index 0000000..d586e78 --- /dev/null +++ b/themes/map/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b7q0m4jt53xu7" +path="res://.godot/imported/background_tile.svg-6958e7a773d3a03a7276834764ad847c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/map/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-6958e7a773d3a03a7276834764ad847c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/map/frame_corner.svg b/themes/map/frame_corner.svg new file mode 100644 index 0000000..c6019ca --- /dev/null +++ b/themes/map/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/map/frame_corner.svg.import b/themes/map/frame_corner.svg.import new file mode 100644 index 0000000..bb8494e --- /dev/null +++ b/themes/map/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1xhg2jejikk1" +path="res://.godot/imported/frame_corner.svg-148c65b32e3e620c5b6749db4f18a4f4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/map/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-148c65b32e3e620c5b6749db4f18a4f4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/map/frame_edge.svg b/themes/map/frame_edge.svg new file mode 100644 index 0000000..05d61f8 --- /dev/null +++ b/themes/map/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/map/frame_edge.svg.import b/themes/map/frame_edge.svg.import new file mode 100644 index 0000000..cd3a5c2 --- /dev/null +++ b/themes/map/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://33uxfyuv1fn4" +path="res://.godot/imported/frame_edge.svg-145217582b8061bc577fb8e357b030ea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/map/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-145217582b8061bc577fb8e357b030ea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/map/sounds/card_turn.ogg b/themes/map/sounds/card_turn.ogg new file mode 100644 index 0000000..2d0fced Binary files /dev/null and b/themes/map/sounds/card_turn.ogg differ diff --git a/themes/map/sounds/card_turn.ogg.import b/themes/map/sounds/card_turn.ogg.import new file mode 100644 index 0000000..126061c --- /dev/null +++ b/themes/map/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://qt7n0qpaj3of" +path="res://.godot/imported/card_turn.ogg-1b2c0b8854a806191308e880ef263a88.oggvorbisstr" + +[deps] + +source_file="res://themes/map/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-1b2c0b8854a806191308e880ef263a88.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/map/sounds/roll.ogg b/themes/map/sounds/roll.ogg new file mode 100644 index 0000000..a7c7d47 Binary files /dev/null and b/themes/map/sounds/roll.ogg differ diff --git a/themes/map/sounds/roll.ogg.import b/themes/map/sounds/roll.ogg.import new file mode 100644 index 0000000..6a2b667 --- /dev/null +++ b/themes/map/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://d3cfdax0k5eg7" +path="res://.godot/imported/roll.ogg-9f717358d136ee63de5e5411072036d7.oggvorbisstr" + +[deps] + +source_file="res://themes/map/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-9f717358d136ee63de5e5411072036d7.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/map/theme.gd b/themes/map/theme.gd new file mode 100644 index 0000000..6d5f922 --- /dev/null +++ b/themes/map/theme.gd @@ -0,0 +1,119 @@ +extends RefCounted +## Built-in theme: Cartographer. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "map", + "name": "Cartographer", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "imfell", + "font_display": "uncial", + "background": { + "kind": "radial", + "colors": [ + "#f0e2bf", + "#dcc391" + ], + "center": [ + 0.5, + 0.4 + ] + }, + "panel": { + "kind": "linear", + "colors": [ + "#e3cf9f", + "#cdb47e" + ], + "angle": 90 + }, + "mascot_colors": { + "outline": "#2e2014", + "cloth": "#3f7f86", + "trim": "#c79a45", + "eye": "#a8322a", + "eye_glint": "#fff8e0", + "inner_line": "#375453" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "bottom" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.55, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 64, + 64 + ], + "side_mid": 32, + "top_mid": 32, + "edge_mid": 32, + "scale": 0.25, + "outset": 10.5, + "pad": 3, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 52, + 10 + ], + "width": 6.0 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#e8d6ab", + "BG_DEEP": "#4a3420", + "BG_HOVER": "#ebdcb8", + "PANEL": "#d9c28f", + "ON_BG": "#2e2014", + "ON_BG_MUTED": "#5a4630", + "CARD": "#f6ecd2", + "CARD_SOFT": "#efe2c0", + "CARD_HOVER": "#e4d4b0", + "CARD_SHADE": "#d3c6ab", + "INK": "#2e2014", + "MUTED": "#6b5638", + "FAINT": "#a39276", + "RULE": "#d8c49a", + "DASH": "#a7936e", + "HOVER_ROW": "#e8e8d3", + "STRIPE": "#2e20140e", + "TRIM": "#4a3420", + "TRIM_DARK": "#2e2014", + "THREAD": "#a8322a", + "THREAD_DARK": "#4a3420", + "ACCENT": "#a8322a", + "ACCENT_DARK": "#4c1613", + "GROUP": "#a8322a", + "LIT": "#cfe0d6", + "FLICK": "#a8322a59", + "PULSE": "#e5c2bf", + "GLOW": "#3f7f86", + "VALUE_BG": "#e8cbb4", + "VALUE_BORDER": "#cb8676", + "VALUE_INK": "#541915", + "VALUE_INK_ON_BG": "#a8322a", + "REF_BG": "#d1d6c3", + "REF_INK": "#204043", + "REF_INK_ON_BG": "#79a5aa" + } +} diff --git a/themes/map/theme.gd.uid b/themes/map/theme.gd.uid new file mode 100644 index 0000000..7dba4d8 --- /dev/null +++ b/themes/map/theme.gd.uid @@ -0,0 +1 @@ +uid://88k7kyc7n88x diff --git a/themes/map/thread_strip.svg b/themes/map/thread_strip.svg new file mode 100644 index 0000000..6c97726 --- /dev/null +++ b/themes/map/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/map/thread_strip.svg.import b/themes/map/thread_strip.svg.import new file mode 100644 index 0000000..e649e84 --- /dev/null +++ b/themes/map/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btm1xtrbd6mwb" +path="res://.godot/imported/thread_strip.svg-de249ba8d168f55448a53d9faa868433.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/map/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-de249ba8d168f55448a53d9faa868433.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/background_scene.svg b/themes/noir/background_scene.svg new file mode 100644 index 0000000..2879751 --- /dev/null +++ b/themes/noir/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/background_scene.svg.import b/themes/noir/background_scene.svg.import new file mode 100644 index 0000000..5176368 --- /dev/null +++ b/themes/noir/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5pacs8ia8egw" +path="res://.godot/imported/background_scene.svg-d77eb3ef1f5ff8ef653339ee909f6f55.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-d77eb3ef1f5ff8ef653339ee909f6f55.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/background_tile.svg b/themes/noir/background_tile.svg new file mode 100644 index 0000000..d414922 --- /dev/null +++ b/themes/noir/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/background_tile.svg.import b/themes/noir/background_tile.svg.import new file mode 100644 index 0000000..0309cc1 --- /dev/null +++ b/themes/noir/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://doj7cx8bmtqgo" +path="res://.godot/imported/background_tile.svg-13964d6c8dd9f5ff35ef71550262aab9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-13964d6c8dd9f5ff35ef71550262aab9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/frame_corner.svg b/themes/noir/frame_corner.svg new file mode 100644 index 0000000..1849a3a --- /dev/null +++ b/themes/noir/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/frame_corner.svg.import b/themes/noir/frame_corner.svg.import new file mode 100644 index 0000000..0860684 --- /dev/null +++ b/themes/noir/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0djk1ytnle6i" +path="res://.godot/imported/frame_corner.svg-c50673150ecd3fcc63f2e44fc01b7ad5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-c50673150ecd3fcc63f2e44fc01b7ad5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/frame_corner_fixed.svg b/themes/noir/frame_corner_fixed.svg new file mode 100644 index 0000000..a07630c --- /dev/null +++ b/themes/noir/frame_corner_fixed.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/frame_corner_fixed.svg.import b/themes/noir/frame_corner_fixed.svg.import new file mode 100644 index 0000000..cff4405 --- /dev/null +++ b/themes/noir/frame_corner_fixed.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fdcvac843m36" +path="res://.godot/imported/frame_corner_fixed.svg-4368c5ccdc443e0a4db5ca553e3c704d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/frame_corner_fixed.svg" +dest_files=["res://.godot/imported/frame_corner_fixed.svg-4368c5ccdc443e0a4db5ca553e3c704d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/frame_edge.svg b/themes/noir/frame_edge.svg new file mode 100644 index 0000000..85f73d3 --- /dev/null +++ b/themes/noir/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/frame_edge.svg.import b/themes/noir/frame_edge.svg.import new file mode 100644 index 0000000..7c0e925 --- /dev/null +++ b/themes/noir/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d2728nrc1bren" +path="res://.godot/imported/frame_edge.svg-3bff039962c02fbb9e53406dead6b7d2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-3bff039962c02fbb9e53406dead6b7d2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/sounds/card_turn.ogg b/themes/noir/sounds/card_turn.ogg new file mode 100644 index 0000000..2542df6 Binary files /dev/null and b/themes/noir/sounds/card_turn.ogg differ diff --git a/themes/noir/sounds/card_turn.ogg.import b/themes/noir/sounds/card_turn.ogg.import new file mode 100644 index 0000000..0c18ad0 --- /dev/null +++ b/themes/noir/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://6hgbonyh7ubl" +path="res://.godot/imported/card_turn.ogg-b654bc44aa832e0c43cbcd79056ea174.oggvorbisstr" + +[deps] + +source_file="res://themes/noir/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-b654bc44aa832e0c43cbcd79056ea174.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/noir/sounds/roll.ogg b/themes/noir/sounds/roll.ogg new file mode 100644 index 0000000..cb5e78a Binary files /dev/null and b/themes/noir/sounds/roll.ogg differ diff --git a/themes/noir/sounds/roll.ogg.import b/themes/noir/sounds/roll.ogg.import new file mode 100644 index 0000000..145dd42 --- /dev/null +++ b/themes/noir/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://dokyqefbvvnfd" +path="res://.godot/imported/roll.ogg-6feaafb08906d0cfe4880fa5e26ccbc6.oggvorbisstr" + +[deps] + +source_file="res://themes/noir/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-6feaafb08906d0cfe4880fa5e26ccbc6.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/noir/theme.gd b/themes/noir/theme.gd new file mode 100644 index 0000000..f89d64f --- /dev/null +++ b/themes/noir/theme.gd @@ -0,0 +1,117 @@ +extends RefCounted +## Built-in theme: Case File. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "noir", + "name": "Case File", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "courierprime", + "font_display": "specialelite", + "background": { + "kind": "linear", + "colors": [ + "#2a2826", + "#141312" + ], + "angle": 120 + }, + "panel": { + "kind": "solid", + "colors": [ + "#0c0b0a" + ] + }, + "mascot_colors": { + "outline": "#111111", + "cloth": "#3a3836", + "trim": "#e6d3a3", + "eye": "#e9c46a", + "eye_glint": "#ffffff", + "inner_line": "#282625" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "center" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.7, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_fixed": "frame_corner_fixed.svg", + "corner_size": [ + 112, + 216 + ], + "edge_size": [ + 100, + 64 + ], + "side_mid": 50, + "top_mid": 50, + "edge_mid": 50, + "scale": 0.25, + "outset": 14.0, + "pad": 2, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "pin": "thread_pin.svg", + "strip_size": [ + 32, + 7 + ], + "width": 4.5, + "pin_size": 13 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#1e1d1b", + "BG_DEEP": "#10100f", + "BG_HOVER": "#403f3d", + "PANEL": "#0c0b0a", + "ON_BG": "#ece4d2", + "ON_BG_MUTED": "#a49e92", + "CARD": "#e6d3a3", + "CARD_SOFT": "#ecdcb3", + "CARD_HOVER": "#d6c18d", + "CARD_SHADE": "#c4b38c", + "INK": "#1a1714", + "MUTED": "#5d5446", + "FAINT": "#94876b", + "RULE": "#cbb57e", + "DASH": "#9a8965", + "HOVER_ROW": "#edddb5", + "STRIPE": "#1a17140e", + "TRIM": "#8a7448", + "TRIM_DARK": "#3a3836", + "THREAD": "#c4302a", + "THREAD_DARK": "#6b120e", + "ACCENT": "#e9c46a", + "ACCENT_DARK": "#695830", + "GROUP": "#e9c46a", + "LIT": "#fbefd6", + "FLICK": "#e9c46a59", + "PULSE": "#f8edd2", + "GLOW": "#e9c46a", + "VALUE_BG": "#e7d099", + "VALUE_BORDER": "#e8cb84", + "VALUE_INK": "#746235", + "VALUE_INK_ON_BG": "#e9c46a", + "REF_BG": "#e7d098", + "REF_INK": "#746235", + "REF_INK_ON_BG": "#f0d697" + } +} diff --git a/themes/noir/theme.gd.uid b/themes/noir/theme.gd.uid new file mode 100644 index 0000000..5313c03 --- /dev/null +++ b/themes/noir/theme.gd.uid @@ -0,0 +1 @@ +uid://caqld8wfucvx2 diff --git a/themes/noir/thread_pin.svg b/themes/noir/thread_pin.svg new file mode 100644 index 0000000..9ecfecf --- /dev/null +++ b/themes/noir/thread_pin.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/thread_pin.svg.import b/themes/noir/thread_pin.svg.import new file mode 100644 index 0000000..24a647d --- /dev/null +++ b/themes/noir/thread_pin.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dsbu40rkiw3fg" +path="res://.godot/imported/thread_pin.svg-b50530d891609a88349a1fc1b0be9e9d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/thread_pin.svg" +dest_files=["res://.godot/imported/thread_pin.svg-b50530d891609a88349a1fc1b0be9e9d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/noir/thread_strip.svg b/themes/noir/thread_strip.svg new file mode 100644 index 0000000..0263b0f --- /dev/null +++ b/themes/noir/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/noir/thread_strip.svg.import b/themes/noir/thread_strip.svg.import new file mode 100644 index 0000000..e96170a --- /dev/null +++ b/themes/noir/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dvtm82n05rlcf" +path="res://.godot/imported/thread_strip.svg-811270b4708344af625de80e7ee09783.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/noir/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-811270b4708344af625de80e7ee09783.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/rustic/theme.gd b/themes/rustic/theme.gd index a8269b1..b39ff64 100644 --- a/themes/rustic/theme.gd +++ b/themes/rustic/theme.gd @@ -60,13 +60,14 @@ const DATA := { "scale": 0.25, "outset": 7.0, "pad": 10, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", "strip_size": [ 24, - 22.0 + 22 ], "width": 13.8 }, diff --git a/themes/sky/theme.gd b/themes/sky/theme.gd index 949a918..c1d24fa 100644 --- a/themes/sky/theme.gd +++ b/themes/sky/theme.gd @@ -59,7 +59,8 @@ const DATA := { "scale": 0.25, "outset": 14.0, "pad": 2, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/starchart/background_scene.svg b/themes/starchart/background_scene.svg new file mode 100644 index 0000000..fa95768 --- /dev/null +++ b/themes/starchart/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/starchart/background_scene.svg.import b/themes/starchart/background_scene.svg.import new file mode 100644 index 0000000..fb117b3 --- /dev/null +++ b/themes/starchart/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bod8rekdgjnco" +path="res://.godot/imported/background_scene.svg-0cd05826c16362fa5fbe1b5eaafb9de4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/starchart/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-0cd05826c16362fa5fbe1b5eaafb9de4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/starchart/background_tile.svg b/themes/starchart/background_tile.svg new file mode 100644 index 0000000..0da5a0b --- /dev/null +++ b/themes/starchart/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/starchart/background_tile.svg.import b/themes/starchart/background_tile.svg.import new file mode 100644 index 0000000..487ff45 --- /dev/null +++ b/themes/starchart/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://in1uy4iwd722" +path="res://.godot/imported/background_tile.svg-d533f7df76f65529262b92a63b0435bc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/starchart/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-d533f7df76f65529262b92a63b0435bc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/starchart/frame_corner.svg b/themes/starchart/frame_corner.svg new file mode 100644 index 0000000..7d7e20a --- /dev/null +++ b/themes/starchart/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/starchart/frame_corner.svg.import b/themes/starchart/frame_corner.svg.import new file mode 100644 index 0000000..0054caf --- /dev/null +++ b/themes/starchart/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://csspbc4870qc5" +path="res://.godot/imported/frame_corner.svg-1e0bafe74d52380d38bae3f578411a2a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/starchart/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-1e0bafe74d52380d38bae3f578411a2a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/starchart/frame_edge.svg b/themes/starchart/frame_edge.svg new file mode 100644 index 0000000..44144bf --- /dev/null +++ b/themes/starchart/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/starchart/frame_edge.svg.import b/themes/starchart/frame_edge.svg.import new file mode 100644 index 0000000..812b2a3 --- /dev/null +++ b/themes/starchart/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cg4luwt2sqyf1" +path="res://.godot/imported/frame_edge.svg-40aa251e94e6892dc018a172e0e1c213.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/starchart/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-40aa251e94e6892dc018a172e0e1c213.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/starchart/sounds/card_turn.ogg b/themes/starchart/sounds/card_turn.ogg new file mode 100644 index 0000000..67fe617 Binary files /dev/null and b/themes/starchart/sounds/card_turn.ogg differ diff --git a/themes/starchart/sounds/card_turn.ogg.import b/themes/starchart/sounds/card_turn.ogg.import new file mode 100644 index 0000000..bb8d205 --- /dev/null +++ b/themes/starchart/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://cpn4vk1slte2w" +path="res://.godot/imported/card_turn.ogg-ee70044b48e1cd1bdb3b94acd804c509.oggvorbisstr" + +[deps] + +source_file="res://themes/starchart/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-ee70044b48e1cd1bdb3b94acd804c509.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/starchart/sounds/roll.ogg b/themes/starchart/sounds/roll.ogg new file mode 100644 index 0000000..9e21087 Binary files /dev/null and b/themes/starchart/sounds/roll.ogg differ diff --git a/themes/starchart/sounds/roll.ogg.import b/themes/starchart/sounds/roll.ogg.import new file mode 100644 index 0000000..655c2b0 --- /dev/null +++ b/themes/starchart/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://b838smpcfv2rm" +path="res://.godot/imported/roll.ogg-c7504316c578cda4b3a18c57b94c3c63.oggvorbisstr" + +[deps] + +source_file="res://themes/starchart/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-c7504316c578cda4b3a18c57b94c3c63.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/starchart/theme.gd b/themes/starchart/theme.gd new file mode 100644 index 0000000..97eb353 --- /dev/null +++ b/themes/starchart/theme.gd @@ -0,0 +1,122 @@ +extends RefCounted +## Built-in theme: Star Chart. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "starchart", + "name": "Star Chart", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "sharetechmono", + "font_display": "orbitron", + "background": { + "kind": "radial", + "colors": [ + "#141e48", + "#070b1a" + ], + "center": [ + 0.7, + 0.2 + ] + }, + "panel": { + "kind": "solid", + "colors": [ + "#050816" + ] + }, + "mascot_colors": { + "outline": "#070b1a", + "cloth": "#4b3a8c", + "trim": "#5ce1e6", + "eye": "#ffb347", + "eye_glint": "#ffffff", + "inner_line": "#2c2559" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "center" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 1.0, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 128, + 128 + ], + "edge_size": [ + 48, + 64 + ], + "side_mid": 24, + "top_mid": 24, + "edge_mid": 24, + "scale": 0.25, + "outset": 6.0, + "pad": 4, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 28, + 9 + ], + "width": 5.5 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#0a1029", + "BG_DEEP": "#060917", + "BG_HOVER": "#2f3449", + "PANEL": "#050816", + "ON_BG": "#e8f1ff", + "ON_BG_MUTED": "#9aa2b4", + "CARD": "#0f1a3a", + "CARD_SOFT": "#132048", + "CARD_HOVER": "#1c2a53", + "CARD_SHADE": "#2f3c5e", + "INK": "#e8f1ff", + "MUTED": "#8ea3c9", + "FAINT": "#5b6c90", + "RULE": "#253563", + "DASH": "#546691", + "HOVER_ROW": "#2f2b2c", + "STRIPE": "#e8f1ff0e", + "TRIM": "#5ce1e6", + "TRIM_DARK": "#1b5f6a", + "THREAD": "#5ce1e6", + "THREAD_DARK": "#123a48", + "ACCENT": "#ffb347", + "ACCENT_DARK": "#735120", + "GROUP": "#ffb347", + "LIT": "#6b4a12", + "FLICK": "#ffb34759", + "PULSE": "#ffe8c8", + "GLOW": "#5ce1e6", + "VALUE_BG": "#3a363c", + "VALUE_BORDER": "#936e41", + "VALUE_INK": "#ffc26c", + "VALUE_INK_ON_BG": "#ffb347", + "REF_BG": "#1e425c", + "REF_INK": "#8deaee", + "REF_INK_ON_BG": "#8deaee", + "WARN_BG": "#4e2c3f", + "WARN_INK": "#ffb1a3", + "DANGER_INK": "#ff8a7a", + "OK_INK": "#7fe0a0", + "NO_INK": "#ff8a7a" + } +} diff --git a/themes/starchart/theme.gd.uid b/themes/starchart/theme.gd.uid new file mode 100644 index 0000000..f6231d6 --- /dev/null +++ b/themes/starchart/theme.gd.uid @@ -0,0 +1 @@ +uid://b5jt7us7d47nk diff --git a/themes/starchart/thread_strip.svg b/themes/starchart/thread_strip.svg new file mode 100644 index 0000000..50438f2 --- /dev/null +++ b/themes/starchart/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/starchart/thread_strip.svg.import b/themes/starchart/thread_strip.svg.import new file mode 100644 index 0000000..34cae40 --- /dev/null +++ b/themes/starchart/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bmqdh2bdmlbt" +path="res://.godot/imported/thread_strip.svg-ffd90077c15569c9a55fec3ef7a3eb8a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/starchart/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-ffd90077c15569c9a55fec3ef7a3eb8a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/story/background_scene.svg b/themes/story/background_scene.svg new file mode 100644 index 0000000..8d6d496 --- /dev/null +++ b/themes/story/background_scene.svg @@ -0,0 +1 @@ + diff --git a/themes/story/background_scene.svg.import b/themes/story/background_scene.svg.import new file mode 100644 index 0000000..d656586 --- /dev/null +++ b/themes/story/background_scene.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdeidj6p8yqs1" +path="res://.godot/imported/background_scene.svg-eb6ff996737b2aeb48d317f9780a58c5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/story/background_scene.svg" +dest_files=["res://.godot/imported/background_scene.svg-eb6ff996737b2aeb48d317f9780a58c5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/story/background_tile.svg b/themes/story/background_tile.svg new file mode 100644 index 0000000..efe4f54 --- /dev/null +++ b/themes/story/background_tile.svg @@ -0,0 +1 @@ + diff --git a/themes/story/background_tile.svg.import b/themes/story/background_tile.svg.import new file mode 100644 index 0000000..4528d37 --- /dev/null +++ b/themes/story/background_tile.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xlimdd2qya1g" +path="res://.godot/imported/background_tile.svg-9db807e8034001b6fae5f0ecb2a14555.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/story/background_tile.svg" +dest_files=["res://.godot/imported/background_tile.svg-9db807e8034001b6fae5f0ecb2a14555.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/story/frame_corner.svg b/themes/story/frame_corner.svg new file mode 100644 index 0000000..cce4416 --- /dev/null +++ b/themes/story/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/story/frame_corner.svg.import b/themes/story/frame_corner.svg.import new file mode 100644 index 0000000..6e5e8ec --- /dev/null +++ b/themes/story/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bgxfybjwvw2wq" +path="res://.godot/imported/frame_corner.svg-2a7b8a70754059eecf74009724754a9d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/story/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-2a7b8a70754059eecf74009724754a9d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/story/frame_edge.svg b/themes/story/frame_edge.svg new file mode 100644 index 0000000..9b7c228 --- /dev/null +++ b/themes/story/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/story/frame_edge.svg.import b/themes/story/frame_edge.svg.import new file mode 100644 index 0000000..317766a --- /dev/null +++ b/themes/story/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://2o82j6a8oprn" +path="res://.godot/imported/frame_edge.svg-e7ec0b6d30218ffe8b134cebaf4941c5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/story/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-e7ec0b6d30218ffe8b134cebaf4941c5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/story/sounds/card_turn.ogg b/themes/story/sounds/card_turn.ogg new file mode 100644 index 0000000..ae8077b Binary files /dev/null and b/themes/story/sounds/card_turn.ogg differ diff --git a/themes/story/sounds/card_turn.ogg.import b/themes/story/sounds/card_turn.ogg.import new file mode 100644 index 0000000..9e52f93 --- /dev/null +++ b/themes/story/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://cnm5ee4eecgui" +path="res://.godot/imported/card_turn.ogg-adbf6dd862204790e5270ae22a9f0823.oggvorbisstr" + +[deps] + +source_file="res://themes/story/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-adbf6dd862204790e5270ae22a9f0823.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/story/sounds/roll.ogg b/themes/story/sounds/roll.ogg new file mode 100644 index 0000000..524eb07 Binary files /dev/null and b/themes/story/sounds/roll.ogg differ diff --git a/themes/story/sounds/roll.ogg.import b/themes/story/sounds/roll.ogg.import new file mode 100644 index 0000000..276f9ea --- /dev/null +++ b/themes/story/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://dks8hrmk73weo" +path="res://.godot/imported/roll.ogg-e95f4af13fa03b935c315fb8e3902a74.oggvorbisstr" + +[deps] + +source_file="res://themes/story/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-e95f4af13fa03b935c315fb8e3902a74.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/story/theme.gd b/themes/story/theme.gd new file mode 100644 index 0000000..0ad159c --- /dev/null +++ b/themes/story/theme.gd @@ -0,0 +1,114 @@ +extends RefCounted +## Built-in theme: Storybook. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "story", + "name": "Storybook", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "andika", + "font_display": "fredoka", + "background": { + "kind": "solid", + "colors": [ + "#f6ecd6" + ] + }, + "panel": { + "kind": "linear", + "colors": [ + "#efdcb8", + "#e4cc9e" + ], + "angle": 90 + }, + "mascot_colors": { + "outline": "#3c2a1c", + "cloth": "#b4475f", + "trim": "#e8b04b", + "eye": "#4f86a6", + "eye_glint": "#ffffff", + "inner_line": "#7e3a41" + }, + "background_scene": { + "file": "background_scene.svg", + "anchor": "center" + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.8, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 144, + 144 + ], + "edge_size": [ + 96, + 168 + ], + "side_mid": 48, + "top_mid": 48, + "edge_mid": 48, + "scale": 0.25, + "outset": 14.0, + "pad": 2, + "mid": 0.5, + "highlight": 0.45 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 36, + 18 + ], + "width": 11.2 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#f6ecd6", + "BG_DEEP": "#3c2a1c", + "BG_HOVER": "#f7efdc", + "PANEL": "#ead6ad", + "ON_BG": "#3c2a1c", + "ON_BG_MUTED": "#6a5440", + "CARD": "#fffaf0", + "CARD_SOFT": "#fbf3e2", + "CARD_HOVER": "#f4e8d3", + "CARD_SHADE": "#ded4c8", + "INK": "#3c2a1c", + "MUTED": "#7a6450", + "FAINT": "#afa090", + "RULE": "#ecdcc0", + "DASH": "#b9a68e", + "HOVER_ROW": "#fcf1d6", + "STRIPE": "#3c2a1c0e", + "TRIM": "#6a4a32", + "TRIM_DARK": "#3c2a1c", + "THREAD": "#b4475f", + "THREAD_DARK": "#7a2a3c", + "ACCENT": "#e8b04b", + "ACCENT_DARK": "#684f22", + "GROUP": "#e8b04b", + "LIT": "#f6dfa5", + "FLICK": "#e8b04b59", + "PULSE": "#f8e7c9", + "GLOW": "#9bb38a", + "VALUE_BG": "#fbedd2", + "VALUE_BORDER": "#f2d195", + "VALUE_INK": "#745826", + "VALUE_INK_ON_BG": "#e8b04b", + "REF_BG": "#ebecdc", + "REF_INK": "#4e5a45", + "REF_INK_ON_BG": "#b9caad" + } +} diff --git a/themes/story/theme.gd.uid b/themes/story/theme.gd.uid new file mode 100644 index 0000000..d081311 --- /dev/null +++ b/themes/story/theme.gd.uid @@ -0,0 +1 @@ +uid://dx6j3dca238i diff --git a/themes/story/thread_strip.svg b/themes/story/thread_strip.svg new file mode 100644 index 0000000..3b00cab --- /dev/null +++ b/themes/story/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/story/thread_strip.svg.import b/themes/story/thread_strip.svg.import new file mode 100644 index 0000000..1402f59 --- /dev/null +++ b/themes/story/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://wu3ftuk7aabp" +path="res://.godot/imported/thread_strip.svg-c0a9bf64696e8ee156e3f6a68bac59ff.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/story/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-c0a9bf64696e8ee156e3f6a68bac59ff.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/synthwave/theme.gd b/themes/synthwave/theme.gd index 6c7e554..02ef91c 100644 --- a/themes/synthwave/theme.gd +++ b/themes/synthwave/theme.gd @@ -56,7 +56,8 @@ const DATA := { "scale": 0.25, "outset": 10.0, "pad": 4, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/terminal/theme.gd b/themes/terminal/theme.gd index 87a1abf..0f89856 100644 --- a/themes/terminal/theme.gd +++ b/themes/terminal/theme.gd @@ -53,13 +53,14 @@ const DATA := { "scale": 0.25, "outset": 8.5, "pad": 4, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", "strip_size": [ 40, - 10.0 + 10 ], "width": 6.2 }, diff --git a/themes/vaporwave/theme.gd b/themes/vaporwave/theme.gd index bd15c7f..96cf12d 100644 --- a/themes/vaporwave/theme.gd +++ b/themes/vaporwave/theme.gd @@ -63,7 +63,8 @@ const DATA := { "scale": 0.25, "outset": 16.0, "pad": 4, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/themes/web1/background_tile.png b/themes/web1/background_tile.png new file mode 100644 index 0000000..6638ffb Binary files /dev/null and b/themes/web1/background_tile.png differ diff --git a/themes/web1/background_tile.png.import b/themes/web1/background_tile.png.import new file mode 100644 index 0000000..8150ac6 --- /dev/null +++ b/themes/web1/background_tile.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfpn8ew350q4h" +path="res://.godot/imported/background_tile.png-e88bdb5a0c5e71ac26944517b587d6a5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/web1/background_tile.png" +dest_files=["res://.godot/imported/background_tile.png-e88bdb5a0c5e71ac26944517b587d6a5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/themes/web1/frame_corner.svg b/themes/web1/frame_corner.svg new file mode 100644 index 0000000..0728b8d --- /dev/null +++ b/themes/web1/frame_corner.svg @@ -0,0 +1 @@ + diff --git a/themes/web1/frame_corner.svg.import b/themes/web1/frame_corner.svg.import new file mode 100644 index 0000000..a864b4b --- /dev/null +++ b/themes/web1/frame_corner.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://yogp4o5jkm47" +path="res://.godot/imported/frame_corner.svg-a6ff941dee02e859c70ba1bef34d92c4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/web1/frame_corner.svg" +dest_files=["res://.godot/imported/frame_corner.svg-a6ff941dee02e859c70ba1bef34d92c4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/web1/frame_edge.svg b/themes/web1/frame_edge.svg new file mode 100644 index 0000000..8d9ff86 --- /dev/null +++ b/themes/web1/frame_edge.svg @@ -0,0 +1 @@ + diff --git a/themes/web1/frame_edge.svg.import b/themes/web1/frame_edge.svg.import new file mode 100644 index 0000000..6438172 --- /dev/null +++ b/themes/web1/frame_edge.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djalas2gf2vdh" +path="res://.godot/imported/frame_edge.svg-c7b2a7acf15e6c831ccce016a4125fa1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/web1/frame_edge.svg" +dest_files=["res://.godot/imported/frame_edge.svg-c7b2a7acf15e6c831ccce016a4125fa1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/web1/sounds/card_turn.ogg b/themes/web1/sounds/card_turn.ogg new file mode 100644 index 0000000..5164392 Binary files /dev/null and b/themes/web1/sounds/card_turn.ogg differ diff --git a/themes/web1/sounds/card_turn.ogg.import b/themes/web1/sounds/card_turn.ogg.import new file mode 100644 index 0000000..e22655e --- /dev/null +++ b/themes/web1/sounds/card_turn.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://chqmlg308rmr0" +path="res://.godot/imported/card_turn.ogg-e51dc22fdcab3c2a85b6669b34f4f11d.oggvorbisstr" + +[deps] + +source_file="res://themes/web1/sounds/card_turn.ogg" +dest_files=["res://.godot/imported/card_turn.ogg-e51dc22fdcab3c2a85b6669b34f4f11d.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/web1/sounds/roll.ogg b/themes/web1/sounds/roll.ogg new file mode 100644 index 0000000..7898013 Binary files /dev/null and b/themes/web1/sounds/roll.ogg differ diff --git a/themes/web1/sounds/roll.ogg.import b/themes/web1/sounds/roll.ogg.import new file mode 100644 index 0000000..1d0fc26 --- /dev/null +++ b/themes/web1/sounds/roll.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://cx0wow5ip6rkc" +path="res://.godot/imported/roll.ogg-0600741ef33cbdc08f4d36699bc8406d.oggvorbisstr" + +[deps] + +source_file="res://themes/web1/sounds/roll.ogg" +dest_files=["res://.godot/imported/roll.ogg-0600741ef33cbdc08f4d36699bc8406d.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/themes/web1/theme.gd b/themes/web1/theme.gd new file mode 100644 index 0000000..2aea4e0 --- /dev/null +++ b/themes/web1/theme.gd @@ -0,0 +1,110 @@ +extends RefCounted +## Built-in theme: Web 1.0. Written by tools/theme_defs/make_theme_defs.py: +## change tools/theme_defs/palettes.py and re-run it rather than editing this file. + +const DATA := { + "id": "web1", + "name": "Web 1.0", + "builtin": true, + "pattern": "none", + "logo": "fortune_teller", + "card_frame": "art", + "font_body": "arimo", + "font_display": "silkscreen", + "background": { + "kind": "solid", + "colors": [ + "#5a1a10" + ] + }, + "panel": { + "kind": "linear", + "colors": [ + "#a0602a", + "#7a4318" + ], + "angle": 90 + }, + "mascot_colors": { + "outline": "#000000", + "cloth": "#000080", + "trim": "#ffff00", + "eye": "#00ffff", + "eye_glint": "#ffffff", + "inner_line": "#2a2a8a" + }, + "background_tile": { + "file": "background_tile.png", + "opacity": 1.0, + "scale": 1.0 + }, + "frame": { + "corner": "frame_corner.svg", + "edge": "frame_edge.svg", + "corner_size": [ + 96, + 96 + ], + "edge_size": [ + 64, + 64 + ], + "side_mid": 32, + "top_mid": 32, + "edge_mid": 32, + "scale": 0.25, + "outset": 5.0, + "pad": 9, + "mid": 0.5, + "highlight": 1.0 + }, + "thread": { + "strip": "thread_strip.svg", + "strip_size": [ + 56, + 24 + ], + "width": 15.0 + }, + "sounds": { + "roll": "sounds/roll.ogg", + "card_turn": "sounds/card_turn.ogg" + }, + "colors": { + "BG": "#5a1a10", + "BG_DEEP": "#000000", + "BG_HOVER": "#733c34", + "PANEL": "#7a4318", + "ON_BG": "#fff6e0", + "ON_BG_MUTED": "#c5a997", + "CARD": "#ffffff", + "CARD_SOFT": "#f2f2f2", + "CARD_HOVER": "#dedede", + "CARD_SHADE": "#d3d3d3", + "INK": "#000000", + "MUTED": "#505050", + "FAINT": "#969696", + "RULE": "#c8c8c8", + "DASH": "#929292", + "HOVER_ROW": "#ebefff", + "STRIPE": "#0000000e", + "TRIM": "#c0c0c0", + "TRIM_DARK": "#404040", + "THREAD": "#ffd400", + "THREAD_DARK": "#000000", + "ACCENT": "#ffff00", + "ACCENT_DARK": "#737300", + "GROUP": "#ffff00", + "LIT": "#c6d2ff", + "FLICK": "#ffff0059", + "PULSE": "#ffffb2", + "GLOW": "#008080", + "VALUE_BG": "#ffffd1", + "VALUE_BORDER": "#ffff73", + "VALUE_INK": "#808000", + "VALUE_INK_ON_BG": "#ffff00", + "REF_BG": "#cce6e6", + "REF_INK": "#004040", + "REF_INK_ON_BG": "#4ca6a6" + } +} diff --git a/themes/web1/theme.gd.uid b/themes/web1/theme.gd.uid new file mode 100644 index 0000000..b6bd9d6 --- /dev/null +++ b/themes/web1/theme.gd.uid @@ -0,0 +1 @@ +uid://dewsmao2ccy7p diff --git a/themes/web1/thread_strip.svg b/themes/web1/thread_strip.svg new file mode 100644 index 0000000..c76a398 --- /dev/null +++ b/themes/web1/thread_strip.svg @@ -0,0 +1 @@ + diff --git a/themes/web1/thread_strip.svg.import b/themes/web1/thread_strip.svg.import new file mode 100644 index 0000000..9284fcc --- /dev/null +++ b/themes/web1/thread_strip.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbucregkjhn4m" +path="res://.godot/imported/thread_strip.svg-ca302e9c9449fd05a516a4929463724e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://themes/web1/thread_strip.svg" +dest_files=["res://.godot/imported/thread_strip.svg-ca302e9c9449fd05a516a4929463724e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/themes/woodsy/theme.gd b/themes/woodsy/theme.gd index e40fd08..319ab88 100644 --- a/themes/woodsy/theme.gd +++ b/themes/woodsy/theme.gd @@ -64,7 +64,8 @@ const DATA := { "scale": 0.25, "outset": 18.0, "pad": 4, - "mid": 0.5 + "mid": 0.5, + "highlight": 0.45 }, "thread": { "strip": "thread_strip.svg", diff --git a/tools/.gitignore b/tools/.gitignore new file mode 100644 index 0000000..c18dd8d --- /dev/null +++ b/tools/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/tools/theme_art/.gitignore b/tools/theme_art/.gitignore new file mode 100644 index 0000000..c18dd8d --- /dev/null +++ b/tools/theme_art/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/tools/theme_art/__pycache__/frame_styles.cpython-314.pyc b/tools/theme_art/__pycache__/frame_styles.cpython-314.pyc deleted file mode 100644 index 229cc9a..0000000 Binary files a/tools/theme_art/__pycache__/frame_styles.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/frames.cpython-314.pyc b/tools/theme_art/__pycache__/frames.cpython-314.pyc deleted file mode 100644 index b94b038..0000000 Binary files a/tools/theme_art/__pycache__/frames.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/scene_floor.cpython-314.pyc b/tools/theme_art/__pycache__/scene_floor.cpython-314.pyc deleted file mode 100644 index e3ba48e..0000000 Binary files a/tools/theme_art/__pycache__/scene_floor.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/scenes.cpython-314.pyc b/tools/theme_art/__pycache__/scenes.cpython-314.pyc deleted file mode 100644 index 669017c..0000000 Binary files a/tools/theme_art/__pycache__/scenes.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/svg_common.cpython-314.pyc b/tools/theme_art/__pycache__/svg_common.cpython-314.pyc deleted file mode 100644 index 8d37e90..0000000 Binary files a/tools/theme_art/__pycache__/svg_common.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/theme_colours.cpython-314.pyc b/tools/theme_art/__pycache__/theme_colours.cpython-314.pyc deleted file mode 100644 index 6882ada..0000000 Binary files a/tools/theme_art/__pycache__/theme_colours.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/threads.cpython-314.pyc b/tools/theme_art/__pycache__/threads.cpython-314.pyc deleted file mode 100644 index a60a81a..0000000 Binary files a/tools/theme_art/__pycache__/threads.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/__pycache__/tiles.cpython-314.pyc b/tools/theme_art/__pycache__/tiles.cpython-314.pyc deleted file mode 100644 index 8c9c60e..0000000 Binary files a/tools/theme_art/__pycache__/tiles.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_art/frame_styles.py b/tools/theme_art/frame_styles.py index ef51f4d..024c0a7 100644 --- a/tools/theme_art/frame_styles.py +++ b/tools/theme_art/frame_styles.py @@ -114,3 +114,7 @@ def ascii_box(colours): FRAME_STYLES = {"memphis": memphis, "neon": neon, "leaf": leaf, "plank": plank, "vine": vine, "cloud": cloud, "glass": glass, "stone": stone, "ascii": ascii_box} + +from frame_styles_more import MORE_FRAME_STYLES # noqa: E402 (second batch of looks) + +FRAME_STYLES.update(MORE_FRAME_STYLES) diff --git a/tools/theme_art/frame_styles_more.py b/tools/theme_art/frame_styles_more.py new file mode 100644 index 0000000..02309b9 --- /dev/null +++ b/tools/theme_art/frame_styles_more.py @@ -0,0 +1,109 @@ +"""Nine more frame looks from the wardrobe mockup (second batch). Same rules as frame_styles.py.""" + +from frame_wobble import wobbly_corner, wobbly_edge +from frames import FrameStyle, Stroke +from svg_common import grey, num + + +def _place(inner, card_corner, box_corner_px): + """Place a mockup ornament (drawn in screen px, 4x here) so its box corner sits `box_corner_px` + from the card corner. `card_corner` is the card corner's position in the corner art (source units).""" + shift = card_corner - box_corner_px * 4 + return f'{inner}' + + +def folder(colours): + """Manila folder: a darker folder-back rim and a paperclip.""" + clip = ('') + return FrameStyle(band_mid=50, radius=46, corner_size=(112, 216), band_inside_px=-1.5, + strokes=[Stroke(16, 0.0, 0.35), Stroke(12, 0.5)], + corner_fixed=_place(clip, 56, 14), + notes=["paperclip on all four corners (mockup: one)", "no folder tab, no tilt, no drop shadow"]) + + +def eldritch(colours): + """Doubled thin rule with a faint halo; tentacle curls (trim) with glowing suckers.""" + card_corner = 89.5 + tentacle = ('') + suckers = "".join(f'' + for index, (x, y) in enumerate(((40, 10), (28, 10), (16, 18), (11, 30)))) + return FrameStyle(band_mid=84, radius=46, corner_size=(232, 232), band_inside_px=-1.375, + strokes=[Stroke(40, 1.0, 0.05), Stroke(26, 1.0, 0.07), + Stroke(5, 0.5, 1.0, -8.5), Stroke(5, 0.5, 1.0, 8.5)], + corner_extras=_place(tentacle, card_corner, 22), + corner_fixed=_place(suckers, card_corner, 22), + notes=["tentacles on all four corners (mockup: two)", + "halo is the trim's highlight, not the green glow colour"]) + + +def comic(colours): + """A thick, square black panel line.""" + return FrameStyle(band_mid=40, radius=0, corner_size=(112, 112), band_inside_px=2, + strokes=[Stroke(16, 0.5)], notes=["no hard black offset shadow"]) + + +def brass(colours): + """Polished brass: light and dark metal bands, rivet heads on the corners.""" + shading = [Stroke(32, 0.0), Stroke(28, 0.82), Stroke(22, 0.62), Stroke(14, 0.38), Stroke(6, 0.68)] + rivet = ('' + '') + return FrameStyle(band_mid=40, radius=16, corner_size=(112, 112), band_inside_px=3.5, + strokes=shading, corner_fixed=rivet, + notes=["the metal shine runs along the band, not as one diagonal sweep across the card"]) + + +def chamfer(colours): + """A steel panel with 45 degree cut corners; the cut-off card corner is covered in the dark colour.""" + band_mid, cut = 40, 56 + diagonal = 2 * band_mid + cut + cover_start = band_mid - 12 + cover = (f'') + return FrameStyle(band_mid=band_mid, radius=0, chamfer=cut, corner_size=(128, 128), band_inside_px=1, + strokes=[Stroke(8, 0.5), Stroke(2, 1.0, 0.5)], corner_under=cover, + notes=["the cut corner is filled with the dark colour (BG_DEEP) to hide the round card corner", + "no hazard stripe (it belongs to the header)"]) + + +def hud(colours): + """A faint thin outline with bright L-shaped corner brackets.""" + bracket = f'' + return FrameStyle(band_mid=24, radius=40, corner_size=(128, 128), + strokes=[Stroke(4, 0.5, 0.45)], corner_extras=bracket, band_half_px=1.2, + notes=["brackets are 24 px (mockup: 16 px) so the corner is big enough to read"]) + + +def map_rule(colours): + """Three thin ink rules (a card border and a doubled outer rule) with a diamond on each corner.""" + diamond = f'' + return FrameStyle(band_mid=32, radius=50, corner_size=(112, 112), band_inside_px=-2.5, + strokes=[Stroke(4, 0.5, 1.0, offset) for offset in (-12, 0, 12)], + corner_extras=f'{diamond}', + notes=["the three rules are evenly spaced (mockup: double rule a little further out)"]) + + +def story(colours): + """A wobbly hand-drawn band with a dashed stitch line running inside it.""" + band_mid, radius, half_width, edge_length = 48, 72, 8, 168 + corner_width = corner_height = band_mid + radius + 24 + stitch = Stroke(4, 1.0, 0.6, 0, "16 12") + return FrameStyle(band_mid=band_mid, radius=radius, corner_size=(corner_width, corner_height), + edge_length=edge_length, band_inside_px=-2, strokes=[stitch], band_half_px=2, + corner_under=wobbly_corner(band_mid, radius, corner_width, corner_height, half_width, 2, 1.5), + edge_under=wobbly_edge(band_mid, edge_length, half_width, 2, 1.5), + notes=["the stitch is inside the band, in the trim's highlight (mockup: amber accent, " + "inside the card)", "all corners share one radius (mockup: four different ones)"]) + + +def bevel(colours): + """A 90s window edge, made symmetric: black line, white line, light grey body, white line, black line.""" + return FrameStyle(band_mid=32, radius=0, corner_size=(96, 96), band_inside_px=3, highlight=1.0, + strokes=[Stroke(32, 0.0), Stroke(24, 1.0), Stroke(16, 0.75)], + notes=["symmetric bevel (true light-top-left / dark-bottom-right needs unmirrored corners)", + "needs highlight 1.0 so l=0.75 maps to #c0c0c0 and white stays white"]) + + +MORE_FRAME_STYLES = {"folder": folder, "eldritch": eldritch, "comic": comic, "brass": brass, + "chamfer": chamfer, "hud": hud, "map": map_rule, "story": story, "bevel": bevel} diff --git a/tools/theme_art/frame_wobble.py b/tools/theme_art/frame_wobble.py new file mode 100644 index 0000000..bc45845 --- /dev/null +++ b/tools/theme_art/frame_wobble.py @@ -0,0 +1,65 @@ +"""A hand-drawn (wobbly) frame band, drawn as a filled shape whose two sides wave gently. + +The wave is zero at both ends of the corner and of the edge tile, so the pieces still join exactly. +""" + +import math + +from svg_common import grey, num + +OUTER_WAVES, INNER_WAVES = 1, 2 + + +def _offsets(fraction, half_width, outer_wobble, inner_wobble): + """How far the outer and inner sides sit from the centre line at this point (0..1 along the piece).""" + outer = half_width + outer_wobble * math.sin(2 * math.pi * OUTER_WAVES * fraction) + inner = half_width - inner_wobble * math.sin(2 * math.pi * INNER_WAVES * fraction) + return outer, inner + + +def _polygon(points): + return " ".join(f"{num(x)},{num(y)}" for x, y in points) + + +def wobbly_edge(band_mid, length, half_width, outer_wobble, inner_wobble, lightness=0.5): + """Filled vertical band for an edge tile.""" + left_side, right_side = [], [] + steps = 24 + for step in range(steps + 1): + y = length * step / steps + outer, inner = _offsets(step / steps, half_width, outer_wobble, inner_wobble) + left_side.append((band_mid - outer, y)) + right_side.append((band_mid + inner, y)) + return f'' + + +def _corner_centre_line(band_mid, radius, width, height, steps=60): + """Points (x, y, outward normal) along the corner's centre line, from the bottom edge to the right edge.""" + straight_down = height - (band_mid + radius) + straight_right = width - (band_mid + radius) + arc_length = math.pi * radius / 2 + total = straight_down + arc_length + straight_right + centre = band_mid + radius + points = [] + for step in range(steps + 1): + travelled = total * step / steps + if travelled <= straight_down: + points.append((band_mid, height - travelled, (-1.0, 0.0), travelled / total)) + elif travelled <= straight_down + arc_length: + angle = math.pi + (travelled - straight_down) / radius # from pointing left to pointing up + normal = (math.cos(angle), math.sin(angle)) + points.append((centre + radius * normal[0], centre + radius * normal[1], normal, travelled / total)) + else: + along = travelled - straight_down - arc_length + points.append((centre + along, band_mid, (0.0, -1.0), travelled / total)) + return points + + +def wobbly_corner(band_mid, radius, width, height, half_width, outer_wobble, inner_wobble, lightness=0.5): + """Filled band around the corner's turn, with the same wave rule as the edge.""" + outer_side, inner_side = [], [] + for x, y, (normal_x, normal_y), fraction in _corner_centre_line(band_mid, radius, width, height): + outer, inner = _offsets(fraction, half_width, outer_wobble, inner_wobble) + outer_side.append((x + normal_x * outer, y + normal_y * outer)) + inner_side.append((x - normal_x * inner, y - normal_y * inner)) + return f'' diff --git a/tools/theme_art/frames.py b/tools/theme_art/frames.py index 8c9c96b..d7694ad 100644 --- a/tools/theme_art/frames.py +++ b/tools/theme_art/frames.py @@ -35,6 +35,11 @@ class FrameStyle: edge_extras: str = "" # extra greyscale shapes drawn on each edge tile corner_fixed: str = "" # coloured overlay shapes (empty = no corner_fixed file) pad_extra_px: float = 2.0 + chamfer: float = 0.0 # > 0: the corner is cut on a 45 degree line this long (source units) + corner_under: str = "" # greyscale shapes drawn under the strokes (corner) + edge_under: str = "" # greyscale shapes drawn under the strokes (edge) + band_half_px: float = 0.0 # override for the band's half thickness when it is not made of strokes + highlight: float = 0.45 # how far white lightens the trim colour (gradient map) notes: list = field(default_factory=list) @@ -50,6 +55,10 @@ def corner_path(style, offset): position = style.band_mid + offset turn_start = style.band_mid + style.radius turn_radius = max(style.radius - offset, 0) + if style.chamfer > 0: + diagonal = 2 * style.band_mid + style.chamfer + offset * math.sqrt(2) - position + return (f"M{num(position)},{num(height)} L{num(position)},{num(diagonal)} " + f"L{num(diagonal)},{num(position)} L{num(width)},{num(position)}") if style.radius <= 0: return f"M{num(position)},{num(height)} L{num(position)},{num(position)} L{num(width)},{num(position)}" return (f"M{num(position)},{num(height)} L{num(position)},{num(turn_start)} " @@ -59,7 +68,7 @@ def corner_path(style, offset): def corner_svg(style): join = "miter" if style.radius <= 0 else "round" - body = "".join(f'' + body = style.corner_under + "".join(f'' for stroke in style.strokes) width, height = style.corner_size return svg_document(width, height, body + style.corner_extras) @@ -71,7 +80,7 @@ def edge_size(style): def edge_svg(style): width, height = edge_size(style) - body = "" + body = style.edge_under for stroke in style.strokes: position = num(style.band_mid + stroke.offset) body += f'' @@ -87,13 +96,13 @@ def corner_fixed_svg(style): def frame_meta(style): """The numbers the app needs to place this frame set.""" - band_half_px = max(stroke.width / 2 + abs(stroke.offset) for stroke in style.strokes - if stroke.opacity >= 0.5) * SCALE + band_half_px = style.band_half_px or max(stroke.width / 2 + abs(stroke.offset) for stroke in style.strokes + if stroke.opacity >= 0.5) * SCALE outset = style.band_mid * SCALE - style.band_inside_px pad = max(0.0, style.band_inside_px + band_half_px) + style.pad_extra_px return { "corner_size": list(style.corner_size), "edge_size": edge_size(style), "side_mid": style.band_mid, "top_mid": style.band_mid, "edge_mid": style.band_mid, "scale": SCALE, "outset": round(outset, 2), "pad": math.ceil(pad), - "mid": 0.5, "has_corner_fixed": bool(style.corner_fixed), + "mid": 0.5, "highlight": style.highlight, "has_corner_fixed": bool(style.corner_fixed), } diff --git a/tools/theme_art/make_theme_art.py b/tools/theme_art/make_theme_art.py index e17ec48..f91075c 100644 --- a/tools/theme_art/make_theme_art.py +++ b/tools/theme_art/make_theme_art.py @@ -9,6 +9,7 @@ import json import os import sys +sys.dont_write_bytecode = True # keep __pycache__ out of the repo sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from frame_styles import FRAME_STYLES # noqa: E402 @@ -17,6 +18,7 @@ from scenes import make_background_scene # noqa: E402 from svg_common import remove_theme_file, write_theme_file # noqa: E402 from theme_colours import THEMES # noqa: E402 from threads import make_thread_strip # noqa: E402 +from threads_more import PIN_SIZE_PX, pushpin_svg # noqa: E402 META_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "meta.json") @@ -28,12 +30,25 @@ def write_or_remove(theme_id, file_name, text): write_theme_file(theme_id, file_name, text) +def write_background_tile(theme_id, pattern): + """Write the tile (SVG, or PNG for marble, which needs noise SVG cannot draw in ThorVG); return its meta.""" + if pattern["kind"] == "marble": + from marble_tile import make_marble_png # only this tile needs numpy + + remove_theme_file(theme_id, "background_tile.svg") + write_theme_file(theme_id, "background_tile.png", make_marble_png(pattern)) + return {"file": "background_tile.png", "opacity": pattern["op"], "scale": 1.0} + from tiles import make_background_tile + + remove_theme_file(theme_id, "background_tile.png") + tile_text, tile_meta = make_background_tile(pattern) + write_or_remove(theme_id, "background_tile.svg", tile_text) + return tile_meta + + def build_theme(theme_id, theme): """Write one theme's files and return its meta entry.""" - from tiles import make_background_tile # local import keeps the module list above short - - tile_text, tile_meta = make_background_tile(theme["pattern"]) - write_or_remove(theme_id, "background_tile.svg", tile_text) + tile_meta = write_background_tile(theme_id, theme["pattern"]) scene_text, scene_meta = make_background_scene(theme["scene"]) write_or_remove(theme_id, "background_scene.svg", scene_text) @@ -44,6 +59,10 @@ def build_theme(theme_id, theme): strip_text, thread_meta = make_thread_strip(theme["thread"]) write_theme_file(theme_id, "thread_strip.svg", strip_text) + has_pins = theme.get("pins", False) + write_or_remove(theme_id, "thread_pin.svg", pushpin_svg(theme["colours"]) if has_pins else None) + if has_pins: + thread_meta["pin_size"] = PIN_SIZE_PX return {"frame": frame_meta(style), "thread": thread_meta, "background_tile": tile_meta, "background_scene": scene_meta} diff --git a/tools/theme_art/marble_tile.py b/tools/theme_art/marble_tile.py new file mode 100644 index 0000000..583d50a --- /dev/null +++ b/tools/theme_art/marble_tile.py @@ -0,0 +1,80 @@ +"""A seamless red marble picture (PNG), standing in for the mockup's SVG feTurbulence filter. + +ThorVG has no SVG filters, so this module draws the noise itself. It is the only module that uses numpy. +Recipe (like feTurbulence type="turbulence" -> greyscale -> table colour ramp): +1. Periodic gradient (Perlin) noise: the random lattice wraps, so the picture tiles with no seam. +2. Turbulence: add the absolute value of six octaves, each twice as fine and half as strong. +3. Colour: the mockup's seven-step red / green / blue tables turn the value into veined dark red. +""" + +import struct +import zlib + +import numpy + +TILE_SIZE = 256 +BASE_CELLS = (5, 7) # lattice cells across x and y for the first octave (mockup: 0.018 x 0.026 per px) +OCTAVES = 6 +SEED = 4 + + +def _fade(values): + return values * values * values * (values * (values * 6 - 15) + 10) + + +def periodic_noise(size, cells_x, cells_y, random): + """Perlin noise on a size x size grid that repeats exactly every `size` pixels.""" + angles = random.uniform(0, 2 * numpy.pi, (cells_y, cells_x)) + gradient_x, gradient_y = numpy.cos(angles), numpy.sin(angles) + pixel = numpy.arange(size) + 0.5 + cell_u, cell_v = pixel * cells_x / size, pixel * cells_y / size + column, row = numpy.floor(cell_u).astype(int), numpy.floor(cell_v).astype(int) + frac_u, frac_v = cell_u - column, cell_v - row + frac_u, frac_v = frac_u[numpy.newaxis, :], frac_v[:, numpy.newaxis] + columns = (column, (column + 1) % cells_x) + rows = (row, (row + 1) % cells_y) + + def corner(step_y, step_x): + gradient_index = (rows[step_y][:, numpy.newaxis], columns[step_x][numpy.newaxis, :]) + return (gradient_x[gradient_index] * (frac_u - step_x) + gradient_y[gradient_index] * (frac_v - step_y)) + + blend_u, blend_v = _fade(frac_u), _fade(frac_v) + top = corner(0, 0) + blend_u * (corner(0, 1) - corner(0, 0)) + bottom = corner(1, 0) + blend_u * (corner(1, 1) - corner(1, 0)) + return top + blend_v * (bottom - top) + + +def turbulence(size=TILE_SIZE, seed=SEED): + random = numpy.random.default_rng(seed) + total = numpy.zeros((size, size)) + for octave in range(OCTAVES): + scale = 2 ** octave + total += numpy.abs(periodic_noise(size, BASE_CELLS[0] * scale, BASE_CELLS[1] * scale, random)) / scale + return total + + +def colour_ramp(values, red, green, blue): + """feComponentTransfer type="table": straight lines between evenly spaced table values.""" + stops = numpy.linspace(0, 1, len(red)) + channels = [numpy.interp(values, stops, table) for table in (red, green, blue)] + return numpy.clip(numpy.stack(channels, axis=-1) * 255 + 0.5, 0, 255).astype(numpy.uint8) + + +def png_bytes(rgb): + """Encode an (height, width, 3) uint8 array as an RGB PNG (stdlib zlib only).""" + height, width, _ = rgb.shape + raw = b"".join(b"\x00" + rgb[row].tobytes() for row in range(height)) + + def chunk(kind, data): + return struct.pack(">I", len(data)) + kind + data + struct.pack(">I", zlib.crc32(kind + data) & 0xFFFFFFFF) + + header = struct.pack(">IIBBBBB", width, height, 8, 2, 0, 0, 0) + return (b"\x89PNG\r\n\x1a\n" + chunk(b"IHDR", header) + chunk(b"IDAT", zlib.compress(raw, 9)) + + chunk(b"IEND", b"")) + + +def make_marble_png(pattern): + """Return PNG bytes for the theme's marble tile.""" + values = turbulence() + values = values / max(values.max(), 1e-6) + return png_bytes(colour_ramp(values, pattern["red"], pattern["green"], pattern["blue"])) diff --git a/tools/theme_art/meta.json b/tools/theme_art/meta.json index c7dd60e..40d8eaf 100644 --- a/tools/theme_art/meta.json +++ b/tools/theme_art/meta.json @@ -16,6 +16,7 @@ "outset": 16.0, "pad": 4, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": true }, "thread": { @@ -26,6 +27,7 @@ "width": 3 }, "background_tile": { + "file": "background_tile.svg", "opacity": 0.6, "scale": 1.0 }, @@ -50,6 +52,7 @@ "outset": 10.0, "pad": 4, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": false }, "thread": { @@ -81,6 +84,7 @@ "outset": 16.0, "pad": 4, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": true }, "thread": { @@ -91,6 +95,7 @@ "width": 4 }, "background_tile": { + "file": "background_tile.svg", "opacity": 0.55, "scale": 1.0 }, @@ -113,16 +118,18 @@ "outset": 7.0, "pad": 10, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": true }, "thread": { "strip_size": [ 24, - 22.0 + 22 ], "width": 5.5 }, "background_tile": { + "file": "background_tile.svg", "opacity": 0.92, "scale": 1.0 }, @@ -145,6 +152,7 @@ "outset": 18.0, "pad": 4, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": true }, "thread": { @@ -155,6 +163,7 @@ "width": 3 }, "background_tile": { + "file": "background_tile.svg", "opacity": 0.9, "scale": 1.0 }, @@ -179,6 +188,7 @@ "outset": 14.0, "pad": 2, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": true }, "thread": { @@ -210,6 +220,7 @@ "outset": 11.0, "pad": 2, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": false }, "thread": { @@ -241,6 +252,7 @@ "outset": 14.0, "pad": 7, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": false }, "thread": { @@ -251,6 +263,7 @@ "width": 4 }, "background_tile": { + "file": "background_tile.svg", "opacity": 0.9, "scale": 1.0 }, @@ -275,16 +288,339 @@ "outset": 8.5, "pad": 4, "mid": 0.5, + "highlight": 0.45, "has_corner_fixed": false }, "thread": { "strip_size": [ 40, - 10.0 + 10 ], "width": 2.5 }, "background_tile": { + "file": "background_tile.svg", + "opacity": 1.0, + "scale": 1.0 + }, + "background_scene": null + }, + "noir": { + "frame": { + "corner_size": [ + 112, + 216 + ], + "edge_size": [ + 100, + 64 + ], + "side_mid": 50, + "top_mid": 50, + "edge_mid": 50, + "scale": 0.25, + "outset": 14.0, + "pad": 2, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": true + }, + "thread": { + "strip_size": [ + 32, + 7 + ], + "width": 1.8, + "pin_size": 13 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.7, + "scale": 1.0 + }, + "background_scene": { + "anchor": "center" + } + }, + "eldritch": { + "frame": { + "corner_size": [ + 232, + 232 + ], + "edge_size": [ + 168, + 64 + ], + "side_mid": 84, + "top_mid": 84, + "edge_mid": 84, + "scale": 0.25, + "outset": 22.38, + "pad": 4, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": true + }, + "thread": { + "strip_size": [ + 88, + 24 + ], + "width": 6 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.9, + "scale": 1.0 + }, + "background_scene": { + "anchor": "center" + } + }, + "comic": { + "frame": { + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 8.0, + "pad": 6, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 32, + 36 + ], + "width": 9 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.22, + "scale": 1.0 + }, + "background_scene": { + "anchor": "center" + } + }, + "brass": { + "frame": { + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 6.5, + "pad": 10, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": true + }, + "thread": { + "strip_size": [ + 32, + 28 + ], + "width": 7 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.14, + "scale": 1.0 + }, + "background_scene": null + }, + "chrome": { + "frame": { + "corner_size": [ + 128, + 128 + ], + "edge_size": [ + 80, + 64 + ], + "side_mid": 40, + "top_mid": 40, + "edge_mid": 40, + "scale": 0.25, + "outset": 9.0, + "pad": 4, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 88, + 24 + ], + "width": 6 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.55, + "scale": 1.0 + }, + "background_scene": { + "anchor": "bottom" + } + }, + "starchart": { + "frame": { + "corner_size": [ + 128, + 128 + ], + "edge_size": [ + 48, + 64 + ], + "side_mid": 24, + "top_mid": 24, + "edge_mid": 24, + "scale": 0.25, + "outset": 6.0, + "pad": 4, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 28, + 9 + ], + "width": 2.2 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 1.0, + "scale": 1.0 + }, + "background_scene": { + "anchor": "center" + } + }, + "map": { + "frame": { + "corner_size": [ + 112, + 112 + ], + "edge_size": [ + 64, + 64 + ], + "side_mid": 32, + "top_mid": 32, + "edge_mid": 32, + "scale": 0.25, + "outset": 10.5, + "pad": 3, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 52, + 10 + ], + "width": 2.4 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.55, + "scale": 1.0 + }, + "background_scene": { + "anchor": "bottom" + } + }, + "story": { + "frame": { + "corner_size": [ + 144, + 144 + ], + "edge_size": [ + 96, + 168 + ], + "side_mid": 48, + "top_mid": 48, + "edge_mid": 48, + "scale": 0.25, + "outset": 14.0, + "pad": 2, + "mid": 0.5, + "highlight": 0.45, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 36, + 18 + ], + "width": 4.5 + }, + "background_tile": { + "file": "background_tile.svg", + "opacity": 0.8, + "scale": 1.0 + }, + "background_scene": { + "anchor": "center" + } + }, + "web1": { + "frame": { + "corner_size": [ + 96, + 96 + ], + "edge_size": [ + 64, + 64 + ], + "side_mid": 32, + "top_mid": 32, + "edge_mid": 32, + "scale": 0.25, + "outset": 5.0, + "pad": 9, + "mid": 0.5, + "highlight": 1.0, + "has_corner_fixed": false + }, + "thread": { + "strip_size": [ + 56, + 24 + ], + "width": 6 + }, + "background_tile": { + "file": "background_tile.png", "opacity": 1.0, "scale": 1.0 }, diff --git a/tools/theme_art/preview.py b/tools/theme_art/preview.py index fe42a16..e41279f 100644 --- a/tools/theme_art/preview.py +++ b/tools/theme_art/preview.py @@ -1,6 +1,6 @@ """Contact sheet of the generated theme art (needs ImageMagick 7 `magick`). -Run: python3 -I tools/theme_art/preview.py +Run: python3 -I tools/theme_art/preview.py [theme ids...] For each theme it fakes a 300 x 220 card on its background, scene and tile, with the frame set and a thread strip recoloured by the app's gradient map. Then it joins all panels into contact_sheet.png. """ @@ -10,6 +10,7 @@ import os import subprocess import sys +sys.dont_write_bytecode = True # keep __pycache__ out of the repo sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from svg_common import THEMES_DIR # noqa: E402 @@ -34,10 +35,10 @@ def rgb_to_hex(rgb): return "#" + "".join(f"{max(0, min(255, round(channel))):02x}" for channel in rgb) -def make_clut(path, dark, trim): +def make_clut(path, dark, trim, highlight_amount=HIGHLIGHT): """A 256 x 1 lookup strip: dark up to LOW, dark -> trim up to MID, trim -> highlight up to 1.""" trim_rgb = hex_to_rgb(trim) - highlight = rgb_to_hex([channel + (255 - channel) * HIGHLIGHT for channel in trim_rgb]) + highlight = rgb_to_hex([channel + (255 - channel) * highlight_amount for channel in trim_rgb]) low_steps, mid_steps = round(LOW * 256), round((MID - LOW) * 256) high_steps = 256 - low_steps - mid_steps magick("-size", f"{low_steps}x1", f"xc:{dark}", "(", "-size", f"1x{mid_steps}", f"gradient:{dark}-{trim}", @@ -64,7 +65,7 @@ def image_size(path): def build_frame_layers(theme_dir, work, frame, dark, trim): """Return a list of (png, x, y) layers for edges, corners and corner ornaments.""" clut = os.path.join(work, "frame_clut.png") - make_clut(clut, dark, trim) + make_clut(clut, dark, trim, frame.get("highlight", HIGHLIGHT)) scale = frame["scale"] for name in ("frame_corner", "frame_edge"): render_svg(os.path.join(theme_dir, f"{name}.svg"), os.path.join(work, f"{name}_grey.png"), scale) @@ -120,6 +121,12 @@ def build_thread_layers(theme_dir, work, thread, colours): tile_height = image_size(coloured)[1] magick("-size", f"480x{tile_height}", "-background", "none", f"tile:{coloured}", long_strip) layers.append((long_strip, 20, y)) + if "pin_size" in thread: + pin = os.path.join(work, "pin.png") + render_svg(os.path.join(theme_dir, "thread_pin.svg"), pin, thread["pin_size"] / 32) + centre_y = 300 + thread["width"] / 2 - thread["pin_size"] / 2 + for pin_x in (20, 500): + layers.append((pin, round(pin_x - thread["pin_size"] / 2), round(centre_y))) return layers @@ -139,7 +146,11 @@ def build_panel(theme_id, theme, meta, out_dir): magick(panel, scene, "-composite", panel) if meta["background_tile"]: tile = os.path.join(work, "tile.png") - render_svg(os.path.join(theme_dir, "background_tile.svg"), tile, meta["background_tile"]["scale"]) + tile_file = os.path.join(theme_dir, meta["background_tile"]["file"]) + if tile_file.endswith(".png"): + magick(tile_file, tile) + else: + render_svg(tile_file, tile, meta["background_tile"]["scale"]) tiled = os.path.join(work, "tiled.png") magick("-size", f"{PANEL_WIDTH}x{PANEL_HEIGHT}", "-background", "none", f"tile:{tile}", "-channel", "A", "-evaluate", "multiply", meta["background_tile"]["opacity"], "+channel", tiled) @@ -162,7 +173,8 @@ def main(): os.makedirs(out_dir, exist_ok=True) with open(META_PATH, encoding="utf-8") as handle: meta = json.load(handle) - panels = [build_panel(theme_id, theme, meta[theme_id], out_dir) for theme_id, theme in THEMES.items()] + chosen = sys.argv[2:] or list(THEMES) + panels = [build_panel(theme_id, THEMES[theme_id], meta[theme_id], out_dir) for theme_id in chosen] sheet = os.path.join(out_dir, "contact_sheet.png") magick("montage", *panels, "-tile", "3x", "-geometry", "+6+6", "-background", "#333333", sheet) print(sheet) diff --git a/tools/theme_art/scene_paint.py b/tools/theme_art/scene_paint.py new file mode 100644 index 0000000..f06d1fd --- /dev/null +++ b/tools/theme_art/scene_paint.py @@ -0,0 +1,35 @@ +"""Shared painting helpers for background scenes: gradients, soft glows, and the mockup's spread space.""" + +from svg_common import css_colour, num + +SCENE_WIDTH, SCENE_HEIGHT = 1920, 1080 + + +def in_spread_space(body, shift_y): + """Scale mockup spread coordinates (960 x 450) by 2, shifted down by `shift_y`.""" + return f'{body}' + + +def vertical_gradient(gradient_id, stops): + stop_text = "".join(f'' + for offset, colour, opacity in stops) + return f'{stop_text}' + + +def radial_gradient(gradient_id, stops, centre=(0.5, 0.5), radius=0.5): + stop_text = "".join(f'' + for offset, colour, opacity in stops) + return (f'{stop_text}') + + +def soft_ellipse_glow(gradient_id, colour_text, centre, radii, fade_from=0.0): + """A CSS 'radial-gradient(rx ry at cx cy, colour, transparent)' over the full scene. + + The gradient is drawn on a box sized 2*rx by 2*ry, so its bounding box makes the circle an ellipse.""" + colour, opacity = css_colour(colour_text) + gradient = radial_gradient(gradient_id, [(fade_from, colour, opacity), (1, colour, 0)]) + box_x, box_y = centre[0] - radii[0], centre[1] - radii[1] + shape = (f'') + return gradient, shape diff --git a/tools/theme_art/scenes.py b/tools/theme_art/scenes.py index d4475e9..7daf98b 100644 --- a/tools/theme_art/scenes.py +++ b/tools/theme_art/scenes.py @@ -5,47 +5,18 @@ scenes are shifted down 180 px so their floor, hills or trees touch the bottom e """ from scene_floor import PerspectiveFloor, floor_svg +from scene_paint import (SCENE_HEIGHT, SCENE_WIDTH, in_spread_space, radial_gradient, soft_ellipse_glow, + vertical_gradient) from svg_common import css_colour, num, svg_document -SCENE_WIDTH, SCENE_HEIGHT = 1920, 1080 - - -def _in_spread_space(body, shift_y): - return f'{body}' - - -def _vertical_gradient(gradient_id, stops): - stop_text = "".join(f'' - for offset, colour, opacity in stops) - return f'{stop_text}' - - -def _radial_gradient(gradient_id, stops, centre=(0.5, 0.5), radius=0.5): - stop_text = "".join(f'' - for offset, colour, opacity in stops) - return (f'{stop_text}') - - -def _soft_ellipse_glow(gradient_id, colour_text, centre, radii, fade_from=0.0): - """A CSS 'radial-gradient(rx ry at cx cy, colour, transparent)' over the full scene. - - The gradient is drawn on a box sized 2*rx by 2*ry, so its bounding box makes the circle an ellipse.""" - colour, opacity = css_colour(colour_text) - gradient = _radial_gradient(gradient_id, [(fade_from, colour, opacity), (1, colour, 0)]) - box_x, box_y = centre[0] - radii[0], centre[1] - radii[1] - shape = (f'') - return gradient, shape - def vapor_scene(scene): """A pale wireframe floor and a soft pink-to-periwinkle sun.""" floor = PerspectiveFloor(-96, 1056, 207, 260, 58) grid = floor_svg(floor, scene["s1"], 26, 2.08, 52, 2, opacity=0.8) - defs = _vertical_gradient("vapor_sun", [(0, scene["s2"], 1), (1, scene["s3"], 1)]) + defs = vertical_gradient("vapor_sun", [(0, scene["s2"], 1), (1, scene["s3"], 1)]) sun = '' - return defs, _in_spread_space(sun + grid, 180), "bottom" + return defs, in_spread_space(sun + grid, 180), "bottom" def synth_scene(scene): @@ -57,7 +28,7 @@ def synth_scene(scene): for top in range(60, 320, 13): bars += f'' bars += f'' - defs += _vertical_gradient("synth_sun", [(0, scene["s1"], 1), (0.52, "#fa8057", 1), (1, scene["s2"], 1)]) + defs += vertical_gradient("synth_sun", [(0, scene["s1"], 1), (0.52, "#fa8057", 1), (1, scene["s2"], 1)]) sun_top, sun_size = 52, 250 stripes = f'' stripe_top = sun_top @@ -71,7 +42,7 @@ def synth_scene(scene): f'stroke-width="6" opacity="{num(0.12 - grow * 0.004)}"/>' for grow in range(3, 28, 6)) floor = PerspectiveFloor(-480, 1440, 150, 180, 55) grid = floor_svg(floor, scene["s2"], 22, 2.2, 46, 2, glow_width=3, ground_colour="#14051a") - return defs, _in_spread_space(bars + halo + sun + grid, 180), "bottom" + return defs, in_spread_space(bars + halo + sun + grid, 180), "bottom" def _cloud(defs_needed, x, y, width, opacity): @@ -87,7 +58,7 @@ def _cloud(defs_needed, x, y, width, opacity): radius_x = min(centre_x, 1 - centre_x) * box_w radius_y = min(centre_y, 1 - centre_y) * box_h gradient_id = f"cloud_soft_{int(solid_until * 100)}" - defs_needed[gradient_id] = _radial_gradient(gradient_id, [(solid_until, "#ffffff", 1), (1, "#ffffff", 0)]) + defs_needed[gradient_id] = radial_gradient(gradient_id, [(solid_until, "#ffffff", 1), (1, "#ffffff", 0)]) shapes += (f'') return f'{shapes}' @@ -96,20 +67,20 @@ def _cloud(defs_needed, x, y, width, opacity): def clouds_scene(scene): """Sun glare in the top right and five soft clouds.""" glare_colour, glare_opacity = css_colour(scene["s1"]) - defs = _radial_gradient("sky_glare", [(0, "#ffffff", 1), (0.25, glare_colour, glare_opacity), + defs = radial_gradient("sky_glare", [(0, "#ffffff", 1), (0.25, glare_colour, glare_opacity), (0.65, glare_colour, 0)], radius=0.707) body = '' defs_needed = {} for x, y, width, opacity in ((300, 330, 260, .95), (-40, 360, 240, .9), (600, 20, 150, .7), (250, 40, 120, .55), (820, 250, 180, .85)): body += _cloud(defs_needed, x, y, width, opacity) - return defs + "".join(defs_needed.values()), _in_spread_space(body, 90), "center" + return defs + "".join(defs_needed.values()), in_spread_space(body, 90), "center" def aero_scene(scene): """Glossy glare, a green hill with a white rim, light swooshes and glass bubbles.""" - defs = _radial_gradient("aero_glare", [(0, "#ffffff", 0.95), (0.65, "#ffffff", 0)], radius=0.707) - defs += _radial_gradient("aero_bubble", [(0, "#ffffff", 1), (0.14, "#ffffff", 1), (0.34, "#ffffff", 0.15), + defs = radial_gradient("aero_glare", [(0, "#ffffff", 0.95), (0.65, "#ffffff", 0)], radius=0.707) + defs += radial_gradient("aero_bubble", [(0, "#ffffff", 1), (0.14, "#ffffff", 1), (0.34, "#ffffff", 0.15), (0.70, "#74e4ff", 0.35), (1, "#ffffff", 0.8)], centre=(0.32, 0.28), radius=0.99) body = '' @@ -123,31 +94,31 @@ def aero_scene(scene): body += (f'' f'') - return defs, _in_spread_space(body, 180), "bottom" + return defs, in_spread_space(body, 180), "bottom" def vignette_scene(scene): """Dark edges and a faint red arched window glow at the top.""" # CSS radial-gradient(70% 80% at 50% 40%, transparent 40%, s1): radii are 70% / 80% of the scene. centre, radii = (SCENE_WIDTH * 0.5, SCENE_HEIGHT * 0.4), (SCENE_WIDTH * 0.7, SCENE_HEIGHT * 0.8) - defs = _radial_gradient("gothic_vignette", [(0.4, scene["s1"], 0), (1, scene["s1"], 1)]) + defs = radial_gradient("gothic_vignette", [(0.4, scene["s1"], 0), (1, scene["s1"], 1)]) body = (f'') - defs += _vertical_gradient("gothic_window", [(0, scene["s2"], 1), (1, scene["s2"], 0)]) + defs += vertical_gradient("gothic_window", [(0, scene["s2"], 1), (1, scene["s2"], 0)]) body += '' return defs, body, "center" def woods_scene(scene): """Two soft light patches and dark pines standing on the bottom edge.""" - defs_one, glow_one = _soft_ellipse_glow("woods_light_a", scene["s1"], (SCENE_WIDTH * 0.25, SCENE_HEIGHT * 0.2), + defs_one, glow_one = soft_ellipse_glow("woods_light_a", scene["s1"], (SCENE_WIDTH * 0.25, SCENE_HEIGHT * 0.2), (SCENE_WIDTH * 0.3, SCENE_HEIGHT * 0.4)) - defs_two, glow_two = _soft_ellipse_glow("woods_light_b", scene["s1"], (SCENE_WIDTH * 0.7, SCENE_HEIGHT * 0.6), + defs_two, glow_two = soft_ellipse_glow("woods_light_b", scene["s1"], (SCENE_WIDTH * 0.7, SCENE_HEIGHT * 0.6), (SCENE_WIDTH * 0.25, SCENE_HEIGHT * 0.35)) pine = "M0 0 L-30 0 L-8 -40 L-24 -40 L-4 -80 L-16 -80 L0 -120 L16 -80 L4 -80 L24 -40 L8 -40 L30 0Z" trees = "".join(f'' for x, size in ((40, 1), (120, 1.3), (880, 1.2), (940, 0.9))) - body = glow_one + glow_two + _in_spread_space(f'{trees}', 180) + body = glow_one + glow_two + in_spread_space(f'{trees}', 180) return defs_one + defs_two, body, "bottom" @@ -155,6 +126,11 @@ SCENE_MAKERS = {"vapor": vapor_scene, "synth": synth_scene, "clouds": clouds_sce "aero": aero_scene, "vignette": vignette_scene, "woods": woods_scene} +from scenes_more import MORE_SCENE_MAKERS # noqa: E402 (second batch) + +SCENE_MAKERS.update(MORE_SCENE_MAKERS) + + def make_background_scene(scene): """Return (svg_text, meta) for a scene, or (None, None) for 'glow' / 'none' (the app's fill does those).""" maker = SCENE_MAKERS.get(scene["kind"]) diff --git a/tools/theme_art/scenes_more.py b/tools/theme_art/scenes_more.py new file mode 100644 index 0000000..8fc7708 --- /dev/null +++ b/tools/theme_art/scenes_more.py @@ -0,0 +1,114 @@ +"""Second batch of background scenes (1920 x 1080, transparent ground). Same rules as scenes.py.""" + +import math + +from scene_paint import SCENE_HEIGHT, SCENE_WIDTH, in_spread_space, radial_gradient, soft_ellipse_glow, vertical_gradient +from svg_common import MockupRandom, css_colour, num + + +def blinds_scene(scene): + """Lamplight through venetian blinds: tilted light stripes fading out from the middle.""" + colour, opacity = css_colour(scene["s1"]) + defs = radial_gradient("blind_fade", [(0, colour, opacity), (1, colour, 0)]) + left, top, width, height = 180, -60, 680, 560 + stripes = "".join(f"M{left} {stripe_top} h{width} v20 h-{width}z " + for stripe_top in range(top + 18, top + height, 38)) + body = (f'') + return defs, in_spread_space(body, 90), "center" + + +def eldritch_scene(scene): + """A faint green glow low on the right and tentacle silhouettes reaching in from the edges.""" + defs, glow = soft_ellipse_glow("eldritch_glow", scene["s1"], (SCENE_WIDTH * 0.6, SCENE_HEIGHT * 0.7), + (SCENE_WIDTH * 0.5, SCENE_HEIGHT * 0.6)) + tentacles = (f'' + '' + '' + '') + return defs, glow + in_spread_space(tentacles, 90), "center" + + +def burst_scene(scene): + """Comic speed lines: thin wedges all round the middle (CSS repeating conic gradient).""" + colour, opacity = css_colour(scene["s1"]) + centre_x, centre_y, reach = SCENE_WIDTH / 2, SCENE_HEIGHT / 2, 1400 + wedges = "" + for start in range(0, 360, 12): + points = [(centre_x, centre_y)] + for angle in (start, start + 4): + radians = math.radians(angle) + points.append((centre_x + reach * math.sin(radians), centre_y - reach * math.cos(radians))) + wedges += "M" + " L".join(f"{num(x)},{num(y)}" for x, y in points) + "Z " + body = f'' + return "", body, "center" + + +def city_scene(scene): + """A skyline of dark towers with lit windows, fading into the ground colour at the bottom.""" + random = MockupRandom(21) + towers = "" + x = 0.0 + while x < 960: + width, height = 50 + random.next() * 70, 90 + random.next() * 190 + tower_left, tower_top = int(x), 450 - int(height) + towers += f'' + for _ in range(20): + if random.next() < 0.5: + window_x = int(6 + random.next() * (width - 14)) + window_y = int(8 + random.next() * (height - 20)) + colour = scene["s1"] if random.next() < 0.75 else scene["s2"] + towers += (f'') + x += width + 4 + defs = vertical_gradient("city_fade", [(0.5, scene["s4"], 0), (1, scene["s4"], 1)]) + body = f'{towers}' + return defs, in_spread_space(body, 180), "bottom" + + +def space_scene(scene): + """A purple nebula, one constellation and two orbit rings.""" + defs = radial_gradient("space_nebula", [(0, scene["s1"], 1), (0.65, scene["s1"], 0)], radius=0.707) + stars = ((320, 40), (400, 80), (470, 60), (540, 110), (420, 150)) + body = (f'' + f'' + '' + + "".join(f'' for x, y in stars) + "" + f'' + f'') + return defs, in_spread_space(body, 90), "center" + + +def map_scene(scene): + """A compass rose low on the page and darker, aged edges.""" + rose = (f'' + f'' + f'' + f'' + f'') + rose_group = f'{rose}' + colour, opacity = css_colour(scene["s3"]) + defs = radial_gradient("map_age", [(0.55, colour, 0), (1, colour, opacity)]) + centre, radii = (SCENE_WIDTH * 0.5, SCENE_HEIGHT * 0.45), (SCENE_WIDTH * 0.8, SCENE_HEIGHT * 0.9) + age = (f'') + return defs, in_spread_space(rose_group, 180) + age, "bottom" + + +def story_scene(scene): + """Soft watercolour washes.""" + defs, body = "", "" + for index, (left, top, width, colour) in enumerate(((60, 40, 260, scene["s1"]), (620, -40, 320, scene["s2"]), + (380, 300, 300, scene["s3"]), (-60, 300, 240, scene["s2"]))): + gradient_id = f"wash_{index}" + defs += radial_gradient(gradient_id, [(0, colour, 1), (0.6, colour, 1), (1, colour, 0)]) + height = width * 0.8 + body += (f'') + return defs, in_spread_space(body, 90), "center" + + +MORE_SCENE_MAKERS = {"blinds": blinds_scene, "eldritch": eldritch_scene, "burst": burst_scene, "city": city_scene, + "space": space_scene, "map": map_scene, "story": story_scene} diff --git a/tools/theme_art/svg_common.py b/tools/theme_art/svg_common.py index 8492870..6aee854 100644 --- a/tools/theme_art/svg_common.py +++ b/tools/theme_art/svg_common.py @@ -31,12 +31,16 @@ def svg_document(width, height, body, defs=""): def write_theme_file(theme_id, file_name, text): - """Write one art file into themes// and return its path.""" + """Write one art file (SVG text or PNG bytes) into themes// and return its path.""" folder = os.path.join(THEMES_DIR, theme_id) os.makedirs(folder, exist_ok=True) path = os.path.join(folder, file_name) - with open(path, "w", encoding="utf-8") as handle: - handle.write(text) + if isinstance(text, bytes): + with open(path, "wb") as handle: + handle.write(text) + else: + with open(path, "w", encoding="utf-8") as handle: + handle.write(text) return path diff --git a/tools/theme_art/theme_colours.py b/tools/theme_art/theme_colours.py index 6bf2b02..8d211ad 100644 --- a/tools/theme_art/theme_colours.py +++ b/tools/theme_art/theme_colours.py @@ -80,3 +80,7 @@ THEMES = { "background": ["#000000", "#000000"], }, } + +from theme_colours_more import MORE_THEMES # noqa: E402 (second batch) + +THEMES.update(MORE_THEMES) diff --git a/tools/theme_art/theme_colours_more.py b/tools/theme_art/theme_colours_more.py new file mode 100644 index 0000000..c5f5180 --- /dev/null +++ b/tools/theme_art/theme_colours_more.py @@ -0,0 +1,82 @@ +"""Second batch of theme colours, copied from the wardrobe mockup's THEMES array. Same keys as theme_colours.py. + +pins: the thread has pushpins at both ends (thread_pin.svg). +""" + +MORE_THEMES = { + "noir": { + "colours": {"card": "#e6d3a3", "trim": "#8a7448", "trim_dark": "#3a3836", "thread": "#c4302a", + "thread_dark": "#6b120e", "accent": "#e9c46a", "glow": "#e9c46a"}, + "pattern": {"kind": "rain", "p1": "#cfd6dc", "op": 0.7}, + "scene": {"kind": "blinds", "s1": "rgba(255,230,170,.14)"}, + "frame": "folder", "thread": "red_string", "pins": True, + "background": ["#2a2826", "#141312"], + }, + "eldritch": { + "colours": {"card": "#e8dfc4", "trim": "#2e4038", "trim_dark": "#0d1a1a", "thread": "#b8e06a", + "thread_dark": "#2e4038", "accent": "#b8e06a", "glow": "#b8e06a"}, + "pattern": {"kind": "contour", "p1": "#2e4a40", "op": 0.9}, + "scene": {"kind": "eldritch", "s1": "rgba(184,224,106,.12)", "s2": "#2e4038"}, + "frame": "eldritch", "thread": "broken_ink", + "background": ["#16302c", "#0d1a1a"], + }, + "comic": { + "colours": {"card": "#fffbea", "trim": "#111111", "trim_dark": "#111111", "thread": "#111111", + "thread_dark": "#ffffff", "accent": "#ffd23f", "glow": "#1d71f2"}, + "pattern": {"kind": "halftone", "p1": "#1d71f2", "op": 0.22}, + "scene": {"kind": "burst", "s1": "rgba(230,57,70,.18)"}, + "frame": "comic", "thread": "gutter_line", + "background": ["#fff3c4", "#fff3c4"], + }, + "brass": { + "colours": {"card": "#f1e6cc", "trim": "#c8a04a", "trim_dark": "#7a5520", "thread": "#b5652e", + "thread_dark": "#5c2e12", "accent": "#c8a04a", "glow": "#4f9a8a"}, + "pattern": {"kind": "gears", "p1": "#c8a04a", "op": 0.14}, + "scene": {"kind": "glow"}, + "frame": "brass", "thread": "copper_pipe", + "background": ["#5a2422", "#24100c"], + }, + "chrome": { + "colours": {"card": "#1a1e24", "trim": "#5b6470", "trim_dark": "#23272e", "thread": "#00e1ff", + "thread_dark": "#00525e", "accent": "#d7ff3a", "glow": "#00e1ff"}, + "pattern": {"kind": "rain", "p1": "#8fd8ff", "op": 0.55}, + "scene": {"kind": "city", "s1": "#ffd36b", "s2": "#00e1ff", "s3": "#11151a", "s4": "#0e1013"}, + "frame": "chamfer", "thread": "data_line", + "background": ["#0e1013", "#151a20"], + }, + "starchart": { + "colours": {"card": "#0f1a3a", "trim": "#5ce1e6", "trim_dark": "#1b5f6a", "thread": "#5ce1e6", + "thread_dark": "#123a48", "accent": "#ffb347", "glow": "#5ce1e6"}, + "pattern": {"kind": "starfield", "p1": "#e8f1ff", "p2": "#5ce1e6", "op": 1.0}, + "scene": {"kind": "space", "s1": "#4b3a8c", "s2": "#5ce1e6"}, + "frame": "hud", "thread": "nav_route", + "background": ["#141e48", "#070b1a"], + }, + "map": { + "colours": {"card": "#f6ecd2", "trim": "#4a3420", "trim_dark": "#2e2014", "thread": "#a8322a", + "thread_dark": "#4a3420", "accent": "#a8322a", "glow": "#3f7f86"}, + "pattern": {"kind": "contour", "p1": "#8a6d42", "op": 0.55}, + "scene": {"kind": "map", "s1": "#4a3420", "s2": "#a8322a", "s3": "rgba(110,80,40,.35)"}, + "frame": "map", "thread": "travel_route", + "background": ["#f0e2bf", "#dcc391"], + }, + "story": { + "colours": {"card": "#fffaf0", "trim": "#6a4a32", "trim_dark": "#3c2a1c", "thread": "#b4475f", + "thread_dark": "#7a2a3c", "accent": "#e8b04b", "glow": "#9bb38a"}, + "pattern": {"kind": "sprigs", "p1": "#b4475f", "p2": "#e8b04b", "p3": "#9bb38a", "op": 0.8}, + "scene": {"kind": "story", "s1": "#a9cfe0", "s2": "#9bb38a", "s3": "#e8b04b"}, + "frame": "story", "thread": "yarn", + "background": ["#f6ecd6", "#f6ecd6"], + }, + "web1": { + "colours": {"card": "#ffffff", "trim": "#808080", "trim_dark": "#000000", "thread": "#ffd400", + "thread_dark": "#000000", "accent": "#000080", "glow": "#008080"}, + "pattern": {"kind": "marble", "op": 1.0, + "red": [0.14, 0.46, 0.20, 0.50, 0.16, 0.42, 0.12], + "green": [0.02, 0.07, 0.03, 0.09, 0.02, 0.06, 0.02], + "blue": [0.01, 0.04, 0.02, 0.05, 0.01, 0.04, 0.01]}, + "scene": {"kind": "none"}, + "frame": "bevel", "thread": "construction_tape", + "background": ["#5a1a10", "#5a1a10"], + }, +} diff --git a/tools/theme_art/threads.py b/tools/theme_art/threads.py index 08adfcb..06f0e97 100644 --- a/tools/theme_art/threads.py +++ b/tools/theme_art/threads.py @@ -81,8 +81,13 @@ THREAD_LOOKS = { } +from threads_more import MORE_THREAD_LOOKS # noqa: E402 (second batch) + +THREAD_LOOKS.update(MORE_THREAD_LOOKS) + + def make_thread_strip(look): """Return (svg_text, meta) for a thread look.""" maker, width_px, repeat_px = THREAD_LOOKS[look] - length, height = repeat_px * SOURCE_SCALE, width_px * SOURCE_SCALE + length, height = round(repeat_px * SOURCE_SCALE), round(width_px * SOURCE_SCALE) # whole numbers: importers round sizes return svg_document(length, height, maker(length, height)), {"strip_size": [length, height], "width": width_px} diff --git a/tools/theme_art/threads_more.py b/tools/theme_art/threads_more.py new file mode 100644 index 0000000..6b5e942 --- /dev/null +++ b/tools/theme_art/threads_more.py @@ -0,0 +1,91 @@ +"""Second batch of thread looks (greyscale strips) plus the noir pushpin (real colours).""" + +from svg_common import grey, num, svg_document +from threads import _band + +SOURCE_SCALE = 4 + + +def _capsule_dashes(height, dash_pattern_px, stroke_px, lightness=0.5, opacity=1.0): + """CSS round-capped dashes: each dash grows by half the stroke at both ends. The first cap starts at x = 0.""" + stroke = stroke_px * SOURCE_SCALE + centre_y = height / 2 + position = stroke / 2 + shapes = "" + for index, length_px in enumerate(dash_pattern_px): + length = length_px * SOURCE_SCALE + if index % 2 == 0: + shapes += (f'') + position += length + return shapes + + +def _glowing_dashes(height, dash_pattern_px, core_px): + """Dashes with a faked glow: two wider, fainter copies under a bright core.""" + halo_wide = _capsule_dashes(height, dash_pattern_px, core_px * 2.6, 0.5, 0.12) + halo_near = _capsule_dashes(height, dash_pattern_px, core_px * 1.7, 0.5, 0.25) + return halo_wide + halo_near + _capsule_dashes(height, dash_pattern_px, core_px) + + +def red_string(length, height): + return _band(length, height, height, 0.5) + _band(length, height, height * 0.25, 1.0, 0.25, -height * 0.15) + + +def broken_ink(length, height): + return _glowing_dashes(height, [14, 3, 2, 3], 2.2) + + +def gutter_line(length, height): + return _band(length, height, height, 0.0) + _band(length, height, height * 4 / 9, 0.5) + + +def copper_pipe(length, height): + return (_band(length, height, height, 0.0) + _band(length, height, height * 4.5 / 7, 0.5) + + _band(length, height, height * 1.3 / 7, 1.0, 0.56, -height * 0.1)) + + +def data_line(length, height): + return _glowing_dashes(height, [12, 4, 2, 4], 2.5) + + +def nav_route(length, height): + return _band(length, height, height * 1 / 2.2, 0.5, 0.4) + _capsule_dashes(height, [1, 6], 2.2) + + +def travel_route(length, height): + return _capsule_dashes(height, [7, 6], 2.4) + + +def yarn(length, height): + return _band(length, height, height, 0.5) + _capsule_dashes(height, [2, 7], 4.5, 1.0) + + +def construction_tape(length, height): + """Black tape with slanted 'yellow' (mid grey) stripes inside a black edge.""" + edge = height / 6 + stripe_width, slant = length / 2, height * 0.5 + left = (length - stripe_width - slant) / 2 + stripe = (f'') + return _band(length, height, height, 0.0) + stripe + + +# thread look -> (maker, drawn width in px, repeat length in px) +MORE_THREAD_LOOKS = { + "red_string": (red_string, 1.8, 8), "broken_ink": (broken_ink, 6, 22), "gutter_line": (gutter_line, 9, 8), + "copper_pipe": (copper_pipe, 7, 8), "data_line": (data_line, 6, 22), "nav_route": (nav_route, 2.2, 7), + "travel_route": (travel_route, 2.4, 13), "yarn": (yarn, 4.5, 9), "construction_tape": (construction_tape, 6, 14), +} + +PIN_SIZE_SOURCE, PIN_SIZE_PX = 32, 13 + + +def pushpin_svg(colours): + """A round red pushpin head seen from above, in real colours (mockup: thread colour, dark rim, pale glint).""" + body = (f'' + f'' + f'' + f'') + return svg_document(PIN_SIZE_SOURCE, PIN_SIZE_SOURCE, body) diff --git a/tools/theme_art/tiles.py b/tools/theme_art/tiles.py index 9ec7cb3..a837af4 100644 --- a/tools/theme_art/tiles.py +++ b/tools/theme_art/tiles.py @@ -93,6 +93,10 @@ def scan_tile(pattern): TILE_MAKERS = {"memphis": memphis_tile, "leaves": leaves_tile, "grain": plank_tile, "ferns": ferns_tile, "stone": stone_tile, "scan": scan_tile} +from tiles_more import MORE_TILE_MAKERS # noqa: E402 (second batch) + +TILE_MAKERS.update(MORE_TILE_MAKERS) + # Rustic's tile is the whole plank floor, so it is drawn nearly opaque. OPACITY_OVERRIDES = {"grain": 0.92} @@ -104,4 +108,4 @@ def make_background_tile(pattern): return None, None width, height, body = maker(pattern) opacity = OPACITY_OVERRIDES.get(pattern["kind"], pattern.get("op", 1.0)) - return svg_document(width, height, body), {"opacity": opacity, "scale": 1.0} + return svg_document(width, height, body), {"file": "background_tile.svg", "opacity": opacity, "scale": 1.0} diff --git a/tools/theme_art/tiles_more.py b/tools/theme_art/tiles_more.py new file mode 100644 index 0000000..9114266 --- /dev/null +++ b/tools/theme_art/tiles_more.py @@ -0,0 +1,78 @@ +"""Second batch of background tiles (real colours, transparent ground) from the mockup's PATTERNS.""" + +from svg_common import LEAF_PATH, MockupRandom, num, wrapped_copies + + +def rain_tile(pattern): + """Short slanted rain streaks.""" + random = MockupRandom(3) + streaks = "" + for _ in range(18): + x, y, length = random.next() * 120, random.next() * 160, 8 + random.next() * 14 + opacity = 0.25 + random.next() * 0.4 + streaks += (f'') + return 120, 160, wrapped_copies(streaks, 120, 160) + + +def contour_tile(pattern): + """Five nested wavy rings, like height lines on a map.""" + rings = "" + for ring in range(1, 6): + size = ring * 15 + rings += (f'') + return 200, 200, rings + + +def halftone_tile(pattern): + """One halftone dot.""" + return 10, 10, f'' + + +def gears_tile(pattern): + """Three gear outlines: a dashed thick ring for the teeth, a rim and a hub.""" + def gear(x, y, radius): + return (f'' + f'' + f'') + return 220, 220, gear(60, 60, 34) + gear(118, 104, 22) + gear(180, 180, 28) + + +def starfield_tile(pattern): + """Thirty stars and a faint hex-grid trace.""" + random = MockupRandom(5) + stars = "" + for _ in range(30): + x, y = random.next() * 180, random.next() * 180 + radius = 0.6 if random.next() < 0.85 else 1.3 + opacity = 0.35 + random.next() * 0.6 + stars += f'' + hexes = (f'') + return 180, 180, wrapped_copies(stars, 180, 180) + hexes + + +def sprigs_tile(pattern): + """Pressed flowers and leaves.""" + random = MockupRandom(9) + sprigs = "" + for index in range(6): + x, y = random.next() * 200, random.next() * 200 + if index % 2: + petals = "".join(f'' + for angle in (0, 72, 144, 216, 288)) + sprigs += (f'{petals}' + f'') + else: + sprigs += (f'') + return 200, 200, wrapped_copies(sprigs, 200, 200) + + +MORE_TILE_MAKERS = {"rain": rain_tile, "contour": contour_tile, "halftone": halftone_tile, + "gears": gears_tile, "starfield": starfield_tile, "sprigs": sprigs_tile} diff --git a/tools/theme_defs/__pycache__/palettes.cpython-314.pyc b/tools/theme_defs/__pycache__/palettes.cpython-314.pyc deleted file mode 100644 index 172b1c0..0000000 Binary files a/tools/theme_defs/__pycache__/palettes.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_defs/make_theme_defs.py b/tools/theme_defs/make_theme_defs.py index cd66777..80d1155 100644 --- a/tools/theme_defs/make_theme_defs.py +++ b/tools/theme_defs/make_theme_defs.py @@ -95,8 +95,9 @@ def file_keys(theme_id, meta): if has("background_scene.svg"): keys["background_scene"] = {"file": "background_scene.svg"} keys["background_scene"].update(meta.get("background_scene") or {}) - if has("background_tile.svg"): - keys["background_tile"] = {"file": "background_tile.svg"} + tile = next((name for name in ("background_tile.svg", "background_tile.png") if has(name)), None) + if tile: + keys["background_tile"] = {"file": tile} keys["background_tile"].update(meta.get("background_tile") or {}) if has("frame_corner.svg") and has("frame_edge.svg"): frame = {"corner": "frame_corner.svg", "edge": "frame_edge.svg"} diff --git a/tools/theme_defs/palettes.py b/tools/theme_defs/palettes.py index 4a3f372..fd51423 100644 --- a/tools/theme_defs/palettes.py +++ b/tools/theme_defs/palettes.py @@ -110,4 +110,110 @@ THEMES = { "inner_line": "#0b3d18"}, "overrides": {"BG_HOVER": "#0d4d1f", "STRIPE": "#33ff6610", "FAINT": "#5fd47f", "DASH": "#1d9940"}, }, + + # ---- Suggested in the mockup, added 2026-11-11 ---- + "noir": { + "name": "Case File", "fonts": ("courierprime", "specialelite"), + "background": {"kind": "linear", "colors": ["#2a2826", "#141312"], "angle": 120}, + "panel": {"kind": "solid", "colors": ["#0c0b0a"]}, + "colors": {"bg": "#1e1d1b", "onp": "#ece4d2", "onpm": "#9b9384", "card": "#e6d3a3", "card2": "#ecdcb3", + "ink": "#1a1714", "muted": "#5d5446", "rule": "#cbb57e", "trim": "#8a7448", "trimD": "#3a3836", + "thread": "#c4302a", "threadD": "#6b120e", "accent": "#e9c46a", "lit": "#fbefd6", + "glow": "#e9c46a", "onbg": "#ece4d2", "panel": "#0c0b0a"}, + "mascot": {"outline": "#111111", "cloth": "#3a3836", "trim": "#e6d3a3", "eye": "#e9c46a", "eye_glint": "#ffffff"}, + "overrides": {}, + }, + "eldritch": { + "name": "Eldritch Archive", "fonts": ("imfell", "imfellsc"), + "background": {"kind": "radial", "colors": ["#16302c", "#0d1a1a"], "center": [0.5, 0.4]}, + "panel": {"kind": "solid", "colors": ["#081010"]}, + "colors": {"bg": "#0d1a1a", "onp": "#e8dfc4", "onpm": "#93a091", "card": "#e8dfc4", "card2": "#efe8d2", + "ink": "#22201a", "muted": "#5f5a48", "rule": "#cfc4a2", "trim": "#2e4038", "trimD": "#0d1a1a", + "thread": "#b8e06a", "threadD": "#2e4038", "accent": "#b8e06a", "lit": "#ddd0e3", + "glow": "#b8e06a", "onbg": "#e8dfc4", "panel": "#081010"}, + "mascot": {"outline": "#0d1a1a", "cloth": "#2e4038", "trim": "#5a3d5c", "eye": "#b8e06a", "eye_glint": "#ffffff"}, + "overrides": {}, + }, + "comic": { + "name": "Comic Panel", "fonts": ("comicneue", "bangers"), + "background": {"kind": "solid", "colors": ["#fff3c4"]}, + # A yellow caption-box panel, so the dark text reads on it and on the page. + "panel": {"kind": "solid", "colors": ["#ffd23f"]}, + "colors": {"bg": "#fff3c4", "onp": "#111111", "onpm": "#55524a", "card": "#fffbea", "card2": "#fff4cc", + "ink": "#111111", "muted": "#55524a", "rule": "#d9d0a8", "trim": "#111111", "trimD": "#111111", + "thread": "#111111", "threadD": "#ffffff", "accent": "#e63946", "lit": "#ffd23f", + "glow": "#1d71f2", "onbg": "#111111", "panel": "#ffd23f"}, + "mascot": {"outline": "#111111", "cloth": "#1d71f2", "trim": "#ffd23f", "eye": "#e63946", "eye_glint": "#ffffff"}, + "overrides": {"ON_BG_MUTED": "#4a463c", "BG_DEEP": "#111111"}, + }, + "brass": { + "name": "Brass & Gears", "fonts": ("lora", "cinzel"), + "background": {"kind": "radial", "colors": ["#5a2422", "#3a1614", "#24100c"], "center": [0.4, 0.3]}, + "panel": {"kind": "linear", "colors": ["#2b1a12", "#1c110b"], "angle": 90}, + "colors": {"bg": "#3a1614", "onp": "#f1e6cc", "onpm": "#bfa98a", "card": "#f1e6cc", "card2": "#f6eedb", + "ink": "#2b1a12", "muted": "#6d5a44", "rule": "#dcc9a2", "trim": "#c8a04a", "trimD": "#7a5520", + "thread": "#b5652e", "threadD": "#5c2e12", "accent": "#c8a04a", "lit": "#cfe3dc", + "glow": "#4f9a8a", "onbg": "#f1e6cc", "panel": "#2b1a12"}, + "mascot": {"outline": "#2b1a12", "cloth": "#4a1c1a", "trim": "#c8a04a", "eye": "#4f9a8a", "eye_glint": "#ffcf7a"}, + "overrides": {}, + }, + "chrome": { + "name": "Chrome Street", "fonts": ("chakrapetch", "chakrapetch"), + "background": {"kind": "linear", "colors": ["#0e1013", "#151a20"], "angle": 90}, + "panel": {"kind": "solid", "colors": ["#08090b"]}, + "colors": {"bg": "#11141a", "onp": "#e6edf3", "onpm": "#8a96a3", "card": "#1a1e24", "card2": "#20252c", + "ink": "#e6edf3", "muted": "#8a96a3", "rule": "#2f3640", "trim": "#5b6470", "trimD": "#23272e", + "thread": "#00e1ff", "threadD": "#00525e", "accent": "#d7ff3a", "lit": "#a3223a", + "glow": "#00e1ff", "onbg": "#e6edf3", "panel": "#08090b"}, + "mascot": {"outline": "#0e1013", "cloth": "#23272e", "trim": "#d7ff3a", "eye": "#00e1ff", "eye_glint": "#ffffff"}, + "overrides": {}, + }, + "starchart": { + "name": "Star Chart", "fonts": ("sharetechmono", "orbitron"), + "background": {"kind": "radial", "colors": ["#141e48", "#070b1a"], "center": [0.7, 0.2]}, + "panel": {"kind": "solid", "colors": ["#050816"]}, + "colors": {"bg": "#0a1029", "onp": "#e8f1ff", "onpm": "#8ea3c9", "card": "#0f1a3a", "card2": "#132048", + "ink": "#e8f1ff", "muted": "#8ea3c9", "rule": "#253563", "trim": "#5ce1e6", "trimD": "#1b5f6a", + "thread": "#5ce1e6", "threadD": "#123a48", "accent": "#ffb347", "lit": "#6b4a12", + "glow": "#5ce1e6", "onbg": "#e8f1ff", "panel": "#050816"}, + "mascot": {"outline": "#070b1a", "cloth": "#4b3a8c", "trim": "#5ce1e6", "eye": "#ffb347", "eye_glint": "#ffffff"}, + "overrides": {}, + }, + "map": { + "name": "Cartographer", "fonts": ("imfell", "uncial"), + "background": {"kind": "radial", "colors": ["#f0e2bf", "#dcc391"], "center": [0.5, 0.4]}, + # Deeper parchment, so the dark ink text reads on it and on the page. + "panel": {"kind": "linear", "colors": ["#e3cf9f", "#cdb47e"], "angle": 90}, + "colors": {"bg": "#e8d6ab", "onp": "#2e2014", "onpm": "#6b5638", "card": "#f6ecd2", "card2": "#efe2c0", + "ink": "#2e2014", "muted": "#6b5638", "rule": "#d8c49a", "trim": "#4a3420", "trimD": "#2e2014", + "thread": "#a8322a", "threadD": "#4a3420", "accent": "#a8322a", "lit": "#cfe0d6", + "glow": "#3f7f86", "onbg": "#2e2014", "panel": "#d9c28f"}, + "mascot": {"outline": "#2e2014", "cloth": "#3f7f86", "trim": "#c79a45", "eye": "#a8322a", "eye_glint": "#fff8e0"}, + "overrides": {"ON_BG_MUTED": "#5a4630", "BG_DEEP": "#4a3420"}, + }, + "story": { + "name": "Storybook", "fonts": ("andika", "fredoka"), + "background": {"kind": "solid", "colors": ["#f6ecd6"]}, + # A warm light panel, so the dark text reads on it and on the page. + "panel": {"kind": "linear", "colors": ["#efdcb8", "#e4cc9e"], "angle": 90}, + "colors": {"bg": "#f6ecd6", "onp": "#3c2a1c", "onpm": "#7a6450", "card": "#fffaf0", "card2": "#fbf3e2", + "ink": "#3c2a1c", "muted": "#7a6450", "rule": "#ecdcc0", "trim": "#6a4a32", "trimD": "#3c2a1c", + "thread": "#b4475f", "threadD": "#7a2a3c", "accent": "#e8b04b", "lit": "#f6dfa5", + "glow": "#9bb38a", "onbg": "#3c2a1c", "panel": "#ead6ad"}, + "mascot": {"outline": "#3c2a1c", "cloth": "#b4475f", "trim": "#e8b04b", "eye": "#4f86a6", "eye_glint": "#ffffff"}, + "overrides": {"ON_BG_MUTED": "#6a5440", "BG_DEEP": "#3c2a1c"}, + }, + "web1": { + "name": "Web 1.0", "fonts": ("arimo", "silkscreen"), + "background": {"kind": "solid", "colors": ["#5a1a10"]}, + # Stand-in for the wood-grain bars (a panel picture needs a new slot). + "panel": {"kind": "linear", "colors": ["#a0602a", "#7a4318"], "angle": 90}, + "colors": {"bg": "#5a1a10", "onp": "#fff6e0", "onpm": "#f0d9b0", "card": "#ffffff", "card2": "#f2f2f2", + "ink": "#000000", "muted": "#505050", "rule": "#c8c8c8", "trim": "#c0c0c0", "trimD": "#404040", + "thread": "#ffd400", "threadD": "#000000", "accent": "#ffff00", "lit": "#c6d2ff", + "glow": "#008080", "onbg": "#fff6e0", "panel": "#7a4318"}, + "mascot": {"outline": "#000000", "cloth": "#000080", "trim": "#ffff00", "eye": "#00ffff", "eye_glint": "#ffffff", + "inner_line": "#2a2a8a"}, + "overrides": {"BG_DEEP": "#000000"}, + }, } diff --git a/tools/theme_sounds/__pycache__/recipes.cpython-314.pyc b/tools/theme_sounds/__pycache__/recipes.cpython-314.pyc deleted file mode 100644 index f5369ff..0000000 Binary files a/tools/theme_sounds/__pycache__/recipes.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_sounds/__pycache__/synth.cpython-314.pyc b/tools/theme_sounds/__pycache__/synth.cpython-314.pyc deleted file mode 100644 index 30bb83f..0000000 Binary files a/tools/theme_sounds/__pycache__/synth.cpython-314.pyc and /dev/null differ diff --git a/tools/theme_sounds/make_theme_sounds.py b/tools/theme_sounds/make_theme_sounds.py index 8f64f70..3f94850 100644 --- a/tools/theme_sounds/make_theme_sounds.py +++ b/tools/theme_sounds/make_theme_sounds.py @@ -32,6 +32,15 @@ THEME_SOUNDS = { "aero": {"roll": "bubbles", "card_turn": "tink"}, "gothic": {"roll": "bell", "card_turn": "scrape"}, "terminal": {"roll": "beeps", "card_turn": "relay"}, + "noir": {"roll": "typewriter", "card_turn": "slap"}, + "eldritch": {"roll": "drone", "card_turn": "wetpage"}, + "comic": {"roll": "slide", "card_turn": "whack"}, + "brass": {"roll": "ratchet", "card_turn": "hiss"}, + "chrome": {"roll": "glitch", "card_turn": "blip"}, + "starchart": {"roll": "sonar", "card_turn": "hud"}, + "map": {"roll": "quill", "card_turn": "unfold"}, + "story": {"roll": "xylo", "card_turn": "pageturn"}, + "web1": {"roll": "chip", "card_turn": "mouse"}, } PEAK_DBFS = -3.0 @@ -39,7 +48,7 @@ FADE_IN_SECONDS = 0.005 FADE_OUT_SECONDS = 0.03 SILENCE_DBFS = -60.0 # quieter than this, relative to full scale, counts as silence MAX_SECONDS = 2.5 -MAX_SECONDS_BY_RECIPE = {"bell": 3.0} +MAX_SECONDS_BY_RECIPE = {"bell": 3.0} # drone fits the 2.5 s default def render(recipe_name): diff --git a/tools/theme_sounds/recipes.py b/tools/theme_sounds/recipes.py index bc22cb3..511d086 100644 --- a/tools/theme_sounds/recipes.py +++ b/tools/theme_sounds/recipes.py @@ -109,9 +109,105 @@ def relay(mix): noise(mix, 0.06, 0.02, filter_type="highpass", freq=3500, gain=0.35) +def typewriter(mix): + # Six key strikes with random gaps (seeded, so fixed), then the carriage bell. + delay = 0.0 + for _ in range(6): + noise(mix, delay, 0.03, freq=2400, quality=3, gain=0.5) + delay += 0.06 + mix.random.random() * 0.06 + tone(mix, delay + 0.08, 2093, 0.7, gain=0.07) + + +def slap(mix): + noise(mix, 0, 0.09, filter_type="lowpass", freq=1600, gain=0.45) + + +def drone(mix): + tone(mix, 0, 55, 2.2, wave_type="sawtooth", lowpass=380, gain=0.09, attack=0.5) + tone(mix, 0, 55.9, 2.2, wave_type="sawtooth", lowpass=380, gain=0.08, attack=0.6) + tone(mix, 0.3, 82.4, 1.9, wave_type="sawtooth", lowpass=300, gain=0.06, attack=0.5) + + +def wetpage(mix): + noise(mix, 0, 0.32, freq=900, freq_end=400, quality=2, gain=0.2, attack=0.05) + + +def slide(mix): + tone(mix, 0, 300, 0.4, freq_end=1400, glide=0.35, gain=0.09) + noise(mix, 0.38, 0.1, filter_type="lowpass", freq=1200, gain=0.4) + + +def whack(mix): + noise(mix, 0, 0.1, filter_type="lowpass", freq=900, gain=0.55) + tone(mix, 0, 140, 0.16, freq_end=55, gain=0.18) + + +def ratchet(mix): + for i in range(8): + noise(mix, i * 0.045, 0.016, freq=3200, quality=8, gain=0.7) + tone(mix, 0.42, 1760, 1, gain=0.07) + + +def hiss(mix): + noise(mix, 0, 0.55, filter_type="highpass", freq=5000, gain=0.12, attack=0.05) + + +def glitch(mix): + # Eight square-wave stabs at random pitches (seeded, so fixed), then a hiss. + for i in range(8): + pitch = 200 + mix.random.random() * 1800 + tone(mix, i * 0.035, pitch, 0.03, wave_type="square", gain=0.04) + noise(mix, 0.1, 0.05, filter_type="highpass", freq=3000, gain=0.2) + + +def blip(mix): + tone(mix, 0, 1200, 0.07, wave_type="square", freq_end=2400, glide=0.05, gain=0.05) + + +def sonar(mix): + tone(mix, 0, 1180, 1.4, gain=0.1) + tone(mix, 0.45, 1180, 1, gain=0.035) + + +def hud(mix): + tone(mix, 0, 1800, 0.05, gain=0.06) + tone(mix, 0.06, 2400, 0.05, gain=0.06) + + +def quill(mix): + for delay in [0, 0.14, 0.26]: + noise(mix, delay, 0.1, filter_type="highpass", freq=2200, freq_end=4200, + gain=0.12, attack=0.02) + + +def unfold(mix): + noise(mix, 0, 0.2, filter_type="lowpass", freq=1300, gain=0.18, attack=0.03) + noise(mix, 0.15, 0.25, filter_type="lowpass", freq=900, gain=0.14, attack=0.04) + + +def chip(mix): + arpeggio(mix, 0, [523, 659, 784, 1047, 1319], 0.05, 0.13, + wave_type="square", lowpass=3200, gain=0.05) + + +def mouse(mix): + noise(mix, 0, 0.012, filter_type="highpass", freq=3000, gain=0.6) + noise(mix, 0.08, 0.012, filter_type="highpass", freq=2600, gain=0.45) + + +def xylo(mix): + arpeggio(mix, 0, [523, 659, 784, 1047], 0.09, 0.38, wave_type="triangle", gain=0.13) + + +def pageturn(mix): + noise(mix, 0, 0.3, freq=1500, freq_end=600, quality=1, gain=0.15, attack=0.06) + + RECIPES = { recipe.__name__: recipe for recipe in [harp, swish, dreamy, tapestop, synth, cassette, windchime, rustle, clack, creak, drops, leafswish, airchime, whoosh, bubbles, tink, - bell, scrape, beeps, relay] + bell, scrape, beeps, relay, typewriter, slap, drone, wetpage, + slide, whack, ratchet, hiss, glitch, blip, sonar, hud, quill, + unfold, chip, mouse, xylo, pageturn] } diff --git a/ui/builtin_themes.gd b/ui/builtin_themes.gd index 407414b..4b3646b 100644 --- a/ui/builtin_themes.gd +++ b/ui/builtin_themes.gd @@ -49,7 +49,11 @@ const FOLDER_SETS := [ preload("res://themes/autumn/theme.gd"), preload("res://themes/rustic/theme.gd"), preload("res://themes/woodsy/theme.gd"), preload("res://themes/sky/theme.gd"), preload("res://themes/aero/theme.gd"), preload("res://themes/gothic/theme.gd"), - preload("res://themes/terminal/theme.gd"), + preload("res://themes/terminal/theme.gd"), preload("res://themes/web1/theme.gd"), + preload("res://themes/noir/theme.gd"), preload("res://themes/eldritch/theme.gd"), + preload("res://themes/comic/theme.gd"), preload("res://themes/brass/theme.gd"), + preload("res://themes/chrome/theme.gd"), preload("res://themes/starchart/theme.gd"), + preload("res://themes/map/theme.gd"), preload("res://themes/story/theme.gd"), ] diff --git a/ui/font_catalog.gd b/ui/font_catalog.gd index 8635756..a13ef5f 100644 --- a/ui/font_catalog.gd +++ b/ui/font_catalog.gd @@ -67,6 +67,24 @@ const FAMILIES := { "regular": "UnifrakturMaguntia-Book.ttf", "fake_bold": false}, "vt323": {"name": "VT323 (terminal)", "group": "Themed", "roles": ["body", "display"], "regular": "VT323-Regular.ttf", "fake_bold": false}, + "arimo": {"name": "Arimo", "group": "Standard", "roles": ["body", "display"], + "regular": "Arimo-Variable.ttf", "italic": "Arimo-Italic-Variable.ttf", "variable": true}, + "fredoka": {"name": "Fredoka (rounded)", "group": "Standard", "roles": ["body", "display"], + "regular": "Fredoka-Variable.ttf", "variable": true}, + "comicneue": {"name": "Comic Neue", "group": "Easy to read", "roles": ["body", "display"], + "regular": "ComicNeue-Regular.ttf", "bold": "ComicNeue-Bold.ttf", "italic": "ComicNeue-Italic.ttf"}, + "courierprime": {"name": "Courier Prime (typewriter)", "group": "Themed", "roles": ["body", "display"], + "regular": "CourierPrime-Regular.ttf", "bold": "CourierPrime-Bold.ttf", "italic": "CourierPrime-Italic.ttf"}, + "chakrapetch": {"name": "Chakra Petch (tech)", "group": "Themed", "roles": ["body", "display"], + "regular": "ChakraPetch-Regular.ttf", "bold": "ChakraPetch-Bold.ttf", "italic": "ChakraPetch-Italic.ttf"}, + "sharetechmono": {"name": "Share Tech Mono (readout)", "group": "Themed", "roles": ["body", "display"], + "regular": "ShareTechMono-Regular.ttf"}, + "imfellsc": {"name": "IM Fell English SC (old book capitals)", "group": "Themed", "roles": ["display"], + "regular": "IMFellEnglishSC-Regular.ttf", "fake_bold": false}, + "bangers": {"name": "Bangers (comic)", "group": "Themed", "roles": ["display"], + "regular": "Bangers-Regular.ttf", "fake_bold": false}, + "silkscreen": {"name": "Silkscreen (pixel)", "group": "Themed", "roles": ["display"], + "regular": "Silkscreen-Regular.ttf", "bold": "Silkscreen-Bold.ttf"}, } static var _files: Dictionary = {}