Jump to content
ssah8

AutoIT Editor Dark Theme

Recommended Posts

The newest SciTE comes with a dark theme, cool !, now switching back to light(standard) theme, there are leftovers from the dark theme, so, i merged those two and recreate them to not leave leftovers from the prior (Light/Dark). Did not do it for all the themes, just those two default standard themes.

Spoiler
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# START: DO NOT CHANGE ANYTHING AFTER THIS LINE     #-#-#-#-# https://www.scintilla.org/SciTEDoc.html
# Light SciTE4AutoIt3 Color scheme
#------------------------------------------------------------
font.base=font:Verdana,size:10,$(font.override)
font.monospace=font:Courier New,size:10

error.marker.fore=#FFFF00
error.marker.back=#FFFF00                           ; on error event: side marker and console highlight

style.*.32=fore:#202020,back:#F0F4F9,$(font.base)   ; 32 is the default style and its features will be inherited by all other styles unless overridden.
style.au3.32=style.*.32=$(font.base),back:#F0F4F9   ; Background color
caret.line.back=#FFFED8
caret.line.back.alpha=256
caret.fore=#000000
selection.fore=#C200AE
selection.alpha=50
selection.back=#090909

style.error.0=fore:#F0F0F0,back:#FF0000
style.error.1=fore:#FFFF00,back:#FF0000
style.error.2=fore:#FF0000,back:#FFFFFF

highlight.current.word.colour=#C2FFAE
highlight.current.word.by.style=0                   ; NEEDED to fix globl highligh in #forceref
highlight.current.word.minlength=2                  ; NEEDED to fix global highlight for simple variable as $a

style.au3.38=fore:#DADADA,back:#F0F4F9              ; Calltips colors
calltips.color.highlight=#e7db74

style.*.33=fore:#000000,back:#C0C0C0,$(font.base)   ; 33 is used to display line numbers in the margin.
fold.margin.colour=#F0F4F9                          ;checkerboard pixel patter color 1 around fold trees
fold.margin.highlight.colour=#DDDDDD                ;checkerboard pixel patter color 2 around fold trees
fold.back=#DDDDDD                                   ;Color of symbol fill

style.au3.37=fore:#060606,back:#F0F4F9          ; indentation line

style.au3.34=fore:#0000FF,back:#F0F4F9          ; Brace highlight
style.au3.35=fore:#009933,back:#F0F4F9          ; Brace incomplete highlight

style.au3.0=fore:#000000,back:#F0F4F9           ; White space >>> must be #000000 but used by "User UDF's"
style.au3.1=fore:#008000,italics,back:#F0F4F9   ; Comment line
style.au3.2=fore:#008000,italics,back:#F0F4F9   ; Comment block
style.au3.3=fore:#0000FF,back:#F0F4F9           ; Number
style.au3.4=fore:#000090,back:#F0F4F9           ; Function
style.au3.5=fore:#0000FF,back:#F0F4F9           ; Keyword
style.au3.6=fore:#808000,back:#F0F4F9           ; Macro
style.au3.7=fore:#FF0000,back:#F0F4F9           ; String
style.au3.8=fore:#FF8000,back:#F0F4F9           ; Operator
style.au3.9=fore:#5A5A5A,back:#F0F4F9           ; Variable
style.au3.10=fore:#808080,back:#F0F4F9          ; Send keys in string
style.au3.11=fore:#808000,back:#F0F4F9          ; Pre-Processor
style.au3.12=fore:#DC143C,back:#F0F4F9          ; Special
style.au3.13=fore:#FF0000,back:#F0F4F9          ; Abbrev-Expand
style.au3.14=fore:#993399,back:#F0F4F9          ; COM Objects
style.au3.15=fore:#0080FF,back:#F0F4F9          ; Standard UDF's
style.au3.16=fore:#80C0FF,back:#F0F4F9          ; User UDF's >>> BUG "White space" is used

style.errorlist.32=$(font.base),back:#F0F4F9    ; ConsoleWrite output background color
style.errorlist.0=fore:#090909                  ; Actual consoleWrite output
style.errorlist.3=fore:#2A2A2A                  ; starting with @
style.errorlist.4=fore:#0000FF                  ; starting with >
style.errorlist.10=fore:#FF0000                 ; starting with !
style.errorlist.11=fore:#007F00,bold,           ; starting with +
style.errorlist.12=fore:#FF8800 #AF20C0         ; starting with -
style.errorlist.13=fore:#804000,bold,           ; starting with ---

# END => DO NOT CHANGE ANYTHING BEFORE THIS LINE  #-#-#-#-#-#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

 

Spoiler
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# START: DO NOT CHANGE ANYTHING AFTER THIS LINE     #-#-#-#-# https://www.scintilla.org/SciTEDoc.html
# Dark SciTE4AutoIt3 Color scheme
#------------------------------------------------------------
font.base=font:Verdana,size:10,$(font.override)
font.monospace=font:Courier New,size:10

error.marker.fore=#9D004F
error.marker.back=#9D004F                           ; on error event: side marker and console highlight

style.*.32=fore:#D0D0D0,back:#202020,$(font.base)   ; 32 is the default style and its features will be inherited by all other styles unless overridden.
style.au3.32=style.*.32=$(font.base),back:#202020   ; Background color
caret.line.back=#333333
caret.line.back.alpha=256
caret.fore=#FFFFFF
selection.fore=#C2FFAE
selection.alpha=50
selection.back=#f9f9f9

style.error.0=fore:#FF0000,back:#F0F0F0
style.error.1=fore:#FF0000,back:#FFFF00
style.error.2=fore:#FFFFFF,back:#FF0000

highlight.current.word.colour=#C2FFAE
highlight.current.word.by.style=0                   ; NEEDED to fix globl highligh in #forceref
highlight.current.word.minlength=2                  ; NEEDED to fix global highlight for simple variable as $a

style.au3.38=fore:#DADADA,back:#202020              ; Calltips colors
calltips.color.highlight=#e7db74

style.*.33=fore:#DADADA,back:#202020,$(font.base)   ; 33 is used to display line numbers in the margin.
fold.margin.colour=#202020                          ;checkerboard pixel patter color 1 around fold trees
fold.margin.highlight.colour=#333333                ;checkerboard pixel patter color 2 around fold trees
fold.back=#333333                                   ;Color of symbol fill

style.au3.37=fore:#606060,back:#202020          ; indentation line

style.au3.34=fore:#00F0F0,back:#202020          ; Brace highlight
style.au3.35=fore:#00FF80,italics,back:#202020  ; Brace incomplete highlight

style.au3.0=fore:#80C0FF,back:#202020           ; White space >>> must be #000000 but used by "User UDF's"
style.au3.1=fore:#60A060,italics,back:#202020   ; Comment line
style.au3.2=fore:#60A060,italics,back:#202020   ; Comment block
style.au3.3=fore:#AE81FF,back:#202020           ; Number
style.au3.4=fore:#8080FF,back:#202020           ; Function
style.au3.5=fore:#C0FFFF,back:#202020           ; Keyword
style.au3.6=fore:#A0A000,back:#202020           ; Macro
style.au3.7=fore:#E6DB74,back:#202020           ; String
style.au3.8=fore:#FF8000,back:#202020           ; Operator
style.au3.9=fore:#D0D0D0,back:#202020           ; Variable
style.au3.10=fore:#A0A0A0,back:#202020          ; Send keys in string
style.au3.11=fore:#8996A8,back:#202020          ; Pre-Processor
style.au3.12=fore:#FFAAB7,back:#202020          ; Special
style.au3.13=fore:#FF80C0,back:#202020          ; Abbrev-Expand
style.au3.14=fore:#993399,back:#202020          ; COM Objects
style.au3.15=fore:#0080FF,back:#202020          ; Standard UDF's
style.au3.16=fore:#80C0FF,back:#202020          ; User UDF's >>> BUG "White space" is used

style.errorlist.32=$(font.base),back:#333333    ; ConsoleWrite output background color
style.errorlist.0=fore:#F9F9F9                  ; Actual consoleWrite output
style.errorlist.3=fore:#DADADA                  ; starting with @
style.errorlist.4=fore:#32FFFF                  ; starting with >
style.errorlist.10=fore:#FF0000                 ; starting with !
style.errorlist.11=fore:#EA9515,bold,           ; starting with +
style.errorlist.12=fore:#E6DB74 #FF0000         ; starting with -
style.errorlist.13=fore:#E87400,bold,           ; starting with ---


# END => DO NOT CHANGE ANYTHING BEFORE THIS LINE  #-#-#-#-#-#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

 

...I've got to this back and forth due to Switching to and from "High contrast" windows themes, so I wanted to do the same flawlessly in SciTE, hence the above code.

Do your own copy and paste, or to a new file, just in case you wanna keep the original install, original.

WARNING: These themes are gravely flawed ( as discussed farther down ). Side effect include messing up any other extension type coloring due to inclusions of global parameters, out of place in a user only configuration file !!!.

It will be better to check out the betas that are available.

Edited by argumentum
added warning

Share this post


Link to post
Share on other sites

...practically the same. I could have save me a good 4 hours if I dared look at the betas.
There is a thing or 2 that are missing in the betas that would be handy. One is the "triple dash" color that comes out brown default, I've added that, and the other is the default color for other text files, to keep it align with the concept of a dark or light theme.

Share this post


Link to post
Share on other sites

I'll  match your file with the current beta to see the differences.

Thanks Jos

Edited by Jos

Share this post


Link to post
Share on other sites
On 11/9/2019 at 9:32 PM, Jos said:

I'll  match your file with the current beta to see the differences.

Thanks Jos

I looked at your files, but there are too many differences for a simple match so needs work. Also no idea which one you used for your "light" version you posted. 
@jpm worked on the current dark version so maybe he can have a look to see what we like to copy into the current version?

Jos 

Edited by Jos

Share this post


Link to post
Share on other sites

Not sure too understand what is proposed against what I submit. for dark

I just see the number and the keyword color swap. If I remmber what I did I try to fit the VSCode color.

YHe only think I did not manage (perhaps widows change since I test it) is the color of the vertu=ical indent line .

When using dark an after standard (light) the line is more dark than the default value (without using the SciteConfig value)

Just post where you can see Something which is not so cute so I can improve if needed.

Cheers

Share this post


Link to post
Share on other sites

Your dark theme is great, going back was not so great :(
So I fixed that in the standard theme.

The only thing I've added to your dark theme ( and matched it in the standard theme ) , is to have the default for other ( non-au3 ), a blackish background on whiteish text, as to not hurt my eyes for the sudden increase of brightness, as I use SciTE for most everything.

As a side note: I have a 35 inch as my main monitor and my eyesight is going down, fast. These sudden change in brightness, really does a number on me, therefore my attention to change everything I can to a dark theme. I use your dark theme's colors. I like them :) 

Share this post


Link to post
Share on other sites

Hi,

I checkcarefully your .SCiteConfig and I found out  that your propose blackisl/Whiteish is ok for Text file but no so good for .lua .html, … files

Neverther less I cannot find a solution for those files.

Another remarks is I cannot find where

error.marker.fore=#9D004F
error.marker.back=#9D004F                           ; on error event: side marker and console highlight
 

have influence can you tell me how to see the impact you propose?

Cheers

Share this post


Link to post
Share on other sites

error.marker.=xxx is not that really important given the true problem.

..it's a pickle @jmp. None of these ( windows OS or windows programs ), are designed for such radical change in visual style.
One would have to change every file for every language ( .lua, .html, etc ), and/or change the global file too.

I'll add your findings to my posting warning of the global side effects of its usage. :oops:

Please disregard my simplistic approach, as it would truly need a whole new global theme changer and not just for .au3 .
It's an undergoing that is quite time consuming and most likely, not backward compatible to prior releases of our SciTE to implement either.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...