Hex Artifact Content
Not logged in

Artifact 7b02d0f2d11f7499a4226eb75f3554690a5d4ed5:


0000: 5c 20 47 55 49 20 6e 69 67 68 74 20 6d 6f 64 65  \ GUI night mode
0010: 20 73 74 79 6c 65 0a 0a 5c 20 43 6f 70 79 72 69   style..\ Copyri
0020: 67 68 74 20 28 43 29 20 32 30 31 39 20 20 20 42  ght (C) 2019   B
0030: 65 72 6e 64 20 50 61 79 73 61 6e 0a 0a 5c 20 54  ernd Paysan..\ T
0040: 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66  his program is f
0050: 72 65 65 20 73 6f 66 74 77 61 72 65 3a 20 79 6f  ree software: yo
0060: 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75  u can redistribu
0070: 74 65 20 69 74 20 61 6e 64 2f 6f 72 20 6d 6f 64  te it and/or mod
0080: 69 66 79 0a 5c 20 69 74 20 75 6e 64 65 72 20 74  ify.\ it under t
0090: 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20  he terms of the 
00a0: 47 4e 55 20 41 66 66 65 72 6f 20 47 65 6e 65 72  GNU Affero Gener
00b0: 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73  al Public Licens
00c0: 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62  e as published b
00d0: 79 0a 5c 20 74 68 65 20 46 72 65 65 20 53 6f 66  y.\ the Free Sof
00e0: 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e  tware Foundation
00f0: 2c 20 65 69 74 68 65 72 20 76 65 72 73 69 6f 6e  , either version
0100: 20 33 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73   3 of the Licens
0110: 65 2c 20 6f 72 0a 5c 20 28 61 74 20 79 6f 75 72  e, or.\ (at your
0120: 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74   option) any lat
0130: 65 72 20 76 65 72 73 69 6f 6e 2e 0a 0a 5c 20 54  er version...\ T
0140: 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64  his program is d
0150: 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 74 68  istributed in th
0160: 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77  e hope that it w
0170: 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 5c  ill be useful,.\
0180: 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59   but WITHOUT ANY
0190: 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f   WARRANTY; witho
01a0: 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c  ut even the impl
01b0: 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a  ied warranty of.
01c0: 5c 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54  \ MERCHANTABILIT
01d0: 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52  Y or FITNESS FOR
01e0: 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55   A PARTICULAR PU
01f0: 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 0a  RPOSE.  See the.
0200: 5c 20 47 4e 55 20 41 66 66 65 72 6f 20 47 65 6e  \ GNU Affero Gen
0210: 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65  eral Public Lice
0220: 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74  nse for more det
0230: 61 69 6c 73 2e 0a 0a 5c 20 59 6f 75 20 73 68 6f  ails...\ You sho
0240: 75 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65  uld have receive
0250: 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20  d a copy of the 
0260: 47 4e 55 20 41 66 66 65 72 6f 20 47 65 6e 65 72  GNU Affero Gener
0270: 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73  al Public Licens
0280: 65 0a 5c 20 61 6c 6f 6e 67 20 77 69 74 68 20 74  e.\ along with t
0290: 68 69 73 20 70 72 6f 67 72 61 6d 2e 20 20 49 66  his program.  If
02a0: 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 3a   not, see <http:
02b0: 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69  //www.gnu.org/li
02c0: 63 65 6e 73 65 73 2f 3e 2e 0a 0a 31 20 6e 65 77  censes/>...1 new
02d0: 2d 74 68 65 6d 65 0a 6e 69 67 68 74 2d 6d 6f 64  -theme.night-mod
02e0: 65 0a 24 46 46 46 46 46 46 46 46 20 72 65 2d 74  e.$FFFFFFFF re-t
02f0: 65 78 74 2d 63 6f 6c 6f 72 20 62 6c 61 63 6b 69  ext-color blacki
0300: 73 68 0a 24 46 46 46 46 42 42 46 46 20 72 65 2d  sh.$FFFFBBFF re-
0310: 74 65 78 74 2d 63 6f 6c 6f 72 20 64 61 72 6b 2d  text-color dark-
0320: 62 6c 75 65 0a 24 30 30 30 30 30 30 46 46 20 72  blue.$000000FF r
0330: 65 2d 74 65 78 74 2d 63 6f 6c 6f 72 20 77 68 69  e-text-color whi
0340: 74 69 73 68 0a 24 34 30 43 30 46 46 46 46 20 24  tish.$40C0FFFF $
0350: 30 30 30 30 30 30 46 46 20 24 30 30 30 30 30 30  000000FF $000000
0360: 46 46 20 24 46 46 46 46 46 46 46 46 20 72 65 2d  FF $FFFFFFFF re-
0370: 74 65 78 74 2d 65 6d 6f 6a 69 2d 66 61 64 65 2d  text-emoji-fade-
0380: 63 6f 6c 6f 72 20 74 6f 67 67 6c 65 2d 63 6f 6c  color toggle-col
0390: 6f 72 0a 24 46 46 30 30 34 30 46 46 20 72 65 2d  or.$FF0040FF re-
03a0: 74 65 78 74 2d 63 6f 6c 6f 72 20 70 77 2d 6e 75  text-color pw-nu
03b0: 6d 2d 63 6f 6c 23 0a 24 63 63 36 36 30 30 46 46  m-col#.$cc6600FF
03c0: 20 72 65 2d 74 65 78 74 2d 63 6f 6c 6f 72 20 70   re-text-color p
03d0: 77 2d 74 65 78 74 2d 63 6f 6c 23 0a 24 46 46 46  w-text-col#.$FFF
03e0: 46 46 46 46 46 20 72 65 2d 74 65 78 74 2d 63 6f  FFFFF re-text-co
03f0: 6c 6f 72 20 73 68 6f 77 2d 73 69 67 6e 2d 63 6f  lor show-sign-co
0400: 6c 6f 72 23 0a 24 35 35 30 30 30 30 46 46 20 24  lor#.$550000FF $
0410: 30 30 35 35 30 30 46 46 20 72 65 2d 66 61 64 65  005500FF re-fade
0420: 2d 63 6f 6c 6f 72 20 70 77 2d 62 67 2d 63 6f 6c  -color pw-bg-col
0430: 23 0a 24 38 38 46 46 30 30 46 46 20 72 65 2d 63  #.$88FF00FF re-c
0440: 6f 6c 6f 72 20 64 61 72 6b 2d 62 6c 75 65 23 0a  olor dark-blue#.
0450: 24 30 30 46 46 30 30 32 30 20 72 65 2d 63 6f 6c  $00FF0020 re-col
0460: 6f 72 20 63 68 62 73 2d 63 6f 6c 23 0a 24 30 30  or chbs-col#.$00
0470: 30 30 32 30 42 46 20 72 65 2d 63 6f 6c 6f 72 20  0020BF re-color 
0480: 6c 6f 67 69 6e 2d 62 67 2d 63 6f 6c 23 0a 24 46  login-bg-col#.$F
0490: 46 30 30 30 30 30 30 20 24 46 46 30 30 30 30 46  F000000 $FF0000F
04a0: 46 20 72 65 2d 66 61 64 65 2d 63 6f 6c 6f 72 20  F re-fade-color 
04b0: 70 77 2d 65 72 72 2d 63 6f 6c 23 0a 24 34 34 34  pw-err-col#.$444
04c0: 34 34 34 46 46 20 72 65 2d 63 6f 6c 6f 72 20 63  444FF re-color c
04d0: 68 61 74 2d 63 6f 6c 23 0a 24 32 32 34 34 34 34  hat-col#.$224444
04e0: 46 46 20 72 65 2d 63 6f 6c 6f 72 20 63 68 61 74  FF re-color chat
04f0: 2d 62 67 2d 63 6f 6c 23 0a 24 32 32 32 32 32 32  -bg-col#.$222222
0500: 46 46 20 72 65 2d 63 6f 6c 6f 72 20 70 6f 73 74  FF re-color post
0510: 69 6e 67 2d 62 67 2d 63 6f 6c 23 0a 24 46 46 46  ing-bg-col#.$FFF
0520: 46 42 42 46 46 20 72 65 2d 74 65 78 74 2d 63 6f  FBBFF re-text-co
0530: 6c 6f 72 20 6c 69 6e 6b 2d 62 6c 75 65 0a 24 38  lor link-blue.$8
0540: 38 46 46 38 38 46 46 20 72 65 2d 74 65 78 74 2d  8FF88FF re-text-
0550: 63 6f 6c 6f 72 20 72 65 2d 67 72 65 65 6e 0a 24  color re-green.$
0560: 46 46 38 38 38 38 46 46 20 72 65 2d 74 65 78 74  FF8888FF re-text
0570: 2d 63 6f 6c 6f 72 20 6f 62 6a 2d 72 65 64 0a 24  -color obj-red.$
0580: 34 34 34 34 34 34 46 46 20 72 65 2d 63 6f 6c 6f  444444FF re-colo
0590: 72 20 65 64 69 74 2d 62 67 0a 24 34 30 38 30 34  r edit-bg.$40804
05a0: 30 46 46 20 72 65 2d 63 6f 6c 6f 72 20 73 65 6e  0FF re-color sen
05b0: 64 2d 63 6f 6c 6f 72 0a 24 33 33 33 33 33 33 46  d-color.$333333F
05c0: 46 20 72 65 2d 63 6f 6c 6f 72 20 75 73 65 72 73  F re-color users
05d0: 2d 63 6f 6c 6f 72 23 0a 0a 38 20 30 20 5b 44 4f  -color#..8 0 [DO
05e0: 5d 0a 20 20 20 20 69 6d 70 6f 72 74 73 23 72 67  ].    imports#rg
05f0: 62 2d 62 67 20 5b 49 5d 20 73 66 6c 6f 61 74 73  b-bg [I] sfloats
0600: 20 2b 20 73 66 40 20 66 6c 6f 6f 72 20 66 3e 73   + sf@ floor f>s
0610: 20 74 6f 20 63 6f 6c 6f 72 2c 23 0a 20 20 20 20   to color,#.    
0620: 24 32 32 32 32 32 32 46 46 20 6e 65 77 2d 63 6f  $222222FF new-co
0630: 6c 6f 72 2c 20 66 64 72 6f 70 0a 5b 4c 4f 4f 50  lor, fdrop.[LOOP
0640: 5d 0a 24 46 46 30 30 30 30 46 46 0a 24 46 46 36  ].$FF0000FF.$FF6
0650: 36 30 30 46 46 0a 24 46 46 38 38 34 34 46 46 0a  600FF.$FF8844FF.
0660: 24 45 45 43 43 35 35 46 46 0a 24 43 43 45 45 35  $EECC55FF.$CCEE5
0670: 35 46 46 0a 24 35 35 44 44 35 35 46 46 0a 24 42  5FF.$55DD55FF.$B
0680: 42 44 44 36 36 46 46 0a 24 33 33 45 45 33 33 46  BDD66FF.$33EE33F
0690: 46 0a 38 20 30 20 5b 44 4f 5d 0a 20 20 20 20 69  F.8 0 [DO].    i
06a0: 6d 70 6f 72 74 73 23 72 67 62 2d 66 67 20 5b 49  mports#rgb-fg [I
06b0: 5d 20 73 66 6c 6f 61 74 73 20 2b 20 73 66 40 20  ] sfloats + sf@ 
06c0: 66 6c 6f 6f 72 20 66 3e 73 20 74 6f 20 63 6f 6c  floor f>s to col
06d0: 6f 72 2c 23 0a 20 20 20 20 74 65 78 74 2d 63 6f  or,#.    text-co
06e0: 6c 6f 72 2c 20 66 64 72 6f 70 0a 5b 4c 4f 4f 50  lor, fdrop.[LOOP
06f0: 5d 0a 6e 69 67 68 74 2d 6d 6f 64 65 0a           ].night-mode.