[O] Reformat code

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-06-19 16:37:10 -04:00
parent 299adb8e4d
commit 399fcd3c64

View file

@ -81,6 +81,7 @@ class ColorProfile:
result += '\033[0m' result += '\033[0m'
return result return result
PRESETS: dict[str, ColorProfile] = { PRESETS: dict[str, ColorProfile] = {
'rainbow': ColorProfile([ 'rainbow': ColorProfile([
'#E50000', '#E50000',
@ -98,12 +99,14 @@ PRESETS: dict[str, ColorProfile] = {
'#F6AAB7', '#F6AAB7',
'#55CDFD' '#55CDFD'
]), ]),
'nonbinary': ColorProfile([ 'nonbinary': ColorProfile([
'#FCF431', '#FCF431',
'#FCFCFC', '#FCFCFC',
'#9D59D2', '#9D59D2',
'#282828' '#282828'
]), ]),
'agender': ColorProfile([ 'agender': ColorProfile([
'#000000', '#000000',
'#BABABA', '#BABABA',
@ -113,11 +116,13 @@ PRESETS: dict[str, ColorProfile] = {
'#BABABA', '#BABABA',
'#000000' '#000000'
]), ]),
'queer': ColorProfile([ 'queer': ColorProfile([
'#B57FDD', '#B57FDD',
'#FFFFFF', '#FFFFFF',
'#49821E' '#49821E'
]), ]),
'genderfluid': ColorProfile([ 'genderfluid': ColorProfile([
'#FE76A2', '#FE76A2',
'#FFFFFF', '#FFFFFF',
@ -131,11 +136,13 @@ PRESETS: dict[str, ColorProfile] = {
'#9B4F96', '#9B4F96',
'#0038A8' '#0038A8'
]), ]),
'pansexual': ColorProfile([ 'pansexual': ColorProfile([
'#FF1C8D', '#FF1C8D',
'#FFD700', '#FFD700',
'#1AB3FF' '#1AB3FF'
]), ]),
'lesbian': ColorProfile([ 'lesbian': ColorProfile([
'#D62800', '#D62800',
'#FF9B56', '#FF9B56',
@ -143,12 +150,14 @@ PRESETS: dict[str, ColorProfile] = {
'#D462A6', '#D462A6',
'#A40062' '#A40062'
]), ]),
'asexual': ColorProfile([ 'asexual': ColorProfile([
'#000000', '#000000',
'#A4A4A4', '#A4A4A4',
'#FFFFFF', '#FFFFFF',
'#810081' '#810081'
]), ]),
'aromantic': ColorProfile([ 'aromantic': ColorProfile([
'#3BA740', '#3BA740',
'#A8D47A', '#A8D47A',
@ -156,6 +165,7 @@ PRESETS: dict[str, ColorProfile] = {
'#ABABAB', '#ABABAB',
'#000000' '#000000'
]), ]),
# below sourced from https://www.flagcolorcodes.com/flags/pride # below sourced from https://www.flagcolorcodes.com/flags/pride
# goto f"https://www.flagcolorcodes.com/{preset}" for info # goto f"https://www.flagcolorcodes.com/{preset}" for info
# todo: sane sorting # todo: sane sorting
@ -163,6 +173,7 @@ PRESETS: dict[str, ColorProfile] = {
'#99D9EA', '#99D9EA',
'#7F7F7F' '#7F7F7F'
]), ]),
'intergender': ColorProfile([ 'intergender': ColorProfile([
# todo: use weighted spacing # todo: use weighted spacing
'#900DC2', '#900DC2',
@ -171,6 +182,7 @@ PRESETS: dict[str, ColorProfile] = {
'#900DC2', '#900DC2',
'#900DC2', '#900DC2',
]), ]),
'greygender': ColorProfile([ 'greygender': ColorProfile([
'#B3B3B3', '#B3B3B3',
'#B3B3B3', '#B3B3B3',
@ -181,6 +193,7 @@ PRESETS: dict[str, ColorProfile] = {
'#535353', '#535353',
'#535353', '#535353',
]), ]),
'akiosexual': ColorProfile([ 'akiosexual': ColorProfile([
'#F9485E', '#F9485E',
'#FEA06A', '#FEA06A',
@ -188,6 +201,7 @@ PRESETS: dict[str, ColorProfile] = {
'#FFFFFF', '#FFFFFF',
'#000000', '#000000',
]), ]),
'transmasculine': ColorProfile([ 'transmasculine': ColorProfile([
'#FF8ABD', '#FF8ABD',
'#CDF5FE', '#CDF5FE',
@ -197,6 +211,7 @@ PRESETS: dict[str, ColorProfile] = {
'#CDF5FE', '#CDF5FE',
'#FF8ABD', '#FF8ABD',
]), ]),
'demifaun': ColorProfile([ 'demifaun': ColorProfile([
'#7F7F7F', '#7F7F7F',
'#7F7F7F', '#7F7F7F',
@ -212,25 +227,29 @@ PRESETS: dict[str, ColorProfile] = {
'#7F7F7F', '#7F7F7F',
'#7F7F7F', '#7F7F7F',
]), ]),
'neutrois': ColorProfile([ 'neutrois': ColorProfile([
'#FFFFFF', '#FFFFFF',
'#1F9F00', '#1F9F00',
'#000000' '#000000'
]), ]),
'biromantic alt 2': ColorProfile([
'biromantic1': ColorProfile([
'#8869A5', '#8869A5',
'#D8A7D8', '#D8A7D8',
'#FFFFFF', '#FFFFFF',
'#FDB18D', '#FDB18D',
'#151638', '#151638',
]), ]),
'biromantic alt 2': ColorProfile([
'biromantic2': ColorProfile([
'#740194', '#740194',
'#AEB1AA', '#AEB1AA',
'#FFFFFF', '#FFFFFF',
'#AEB1AA', '#AEB1AA',
'#740194', '#740194',
]), ]),
'autoromantic': ColorProfile([ # symbol interpreted 'autoromantic': ColorProfile([ # symbol interpreted
'#99D9EA', '#99D9EA',
'#99D9EA', '#99D9EA',
@ -247,8 +266,9 @@ PRESETS: dict[str, ColorProfile] = {
'#7F7F7F', '#7F7F7F',
'#7F7F7F', '#7F7F7F',
]), ]),
# i didn't expect this one to work. cool! # i didn't expect this one to work. cool!
'boyflux alt 2': ColorProfile([ 'boyflux2': ColorProfile([
'#E48AE4', '#E48AE4',
'#9A81B4', '#9A81B4',
'#55BFAB', '#55BFAB',
@ -280,6 +300,4 @@ PRESETS: dict[str, ColorProfile] = {
'#5276D4', '#5276D4',
'#5276D4', '#5276D4',
]), ]),
} }