arduino IDE

this is a dark theme Ide that I want to use but the only issue is that characters and number like '(){}[] 1234567890' remain black, and my background is black so they end up blending in with the background, am a beginner and i been trying to fix this issue but no matter what I do they don't change color please help.

#FUNCTIONS COLOR #D35400 - ORANGE KEYWORD1
#FUNCTIONS COLOR #D35400 - ORANGE KEYWORD2
#STRUCTURE COLORS #5E6D03 - GREEN KEYWORD3
#VARIABLES COLOR #00979C - BLUE LITERAL1

#ERROR COLOR #A61717 - RED
#COMMENTS // COLOR #95A5A6 - LIGHT GREY
#COMMENTS /**/ COLOR #434F54 - DARK GREY

GUI - STATUS

status.notice.fgcolor = #FFFFFF
status.notice.bgcolor = #404040
status.error.fgcolor = #FFFFFF
status.error.bgcolor = #E34C00
status.edit.fgcolor = #FFFFFF
status.edit.bgcolor = #F1B500
status.font = SansSerif,plain,12

GUI - TABS

settings for the tabs at the top

(tab images are stored in the lib/theme folder)

header.bgcolor = #404040
header.text.selected.color = #323232
header.text.unselected.color = #3C3C3C
header.text.font = SansSerif,plain,12

GUI - CONSOLE

console.font = Monospaced,plain,11
console.font.macosx = Monaco,plain,10
console.color = #000000
console.output.color = #eeeeee
console.error.color = #E34C00

GUI - BUTTONS

buttons.bgcolor = #505050
buttons.status.font = SansSerif,plain,12
buttons.status.color = #ffffff

GUI - LINESTATUS

linestatus.color = #ffffff
linestatus.bgcolor = #404040

EDITOR - DETAILS

foreground and background colors

editor.fgcolor = #d9d9d9
editor.bgcolor = #202020

highlight for the current line

editor.linehighlight.color=#333333

highlight for the current line

editor.linehighlight=true

caret blinking and caret color

editor.caret.color = #a0a0a0

color to be used for background when 'external editor' enabled

editor.external.bgcolor = #202020

selection color

editor.selection.color = #dd8800

area that's not in use by the text (replaced with tildes)

editor.invalid.style = #7e7e7e,bold

little pooties at the end of lines that show where they finish

editor.eolmarkers = false
editor.eolmarkers.color = #999999

bracket/brace highlighting

editor.brackethighlight = true
editor.brackethighlight.color = #006699

TEXT - KEYWORDS

FUNCTIONS

editor.keyword1.style = #d35400,bold
editor.data_type.style = #d35400,bold

METHODS

editor.keyword2.style = #D35400,plain
editor.function.style = #d35400,plain

STRUCTURES

editor.keyword3.style = #5E6D03,plain
editor.reserved_word.style = #5E6D03,plain

TEXT - LITERALS

constants & datatypes

editor.literal1.style = #006699,plain

p5 built in variables: e.g. mouseX, width, pixels

editor.literal2.style = #00979C,plain
editor.variable.style = #00979C,plain
editor.reserved_word_2.style = #00979C,plain
editor.literal_boolean.style = #00979C,plain
editor.literal_char.style = #00979C,plain
editor.literal_string_double_quote.style = #00979C,plain
editor.preprocessor.style = #5E6D03,plain

http://www.arduino.cc/ - GET RID OF UNDERLINE!

editor.url.style = #81A421,plain

e.g. + - = /

editor.operator.style = #aaaaaa,plain

?? maybe this is for words followed by a colon

like in case statements or goto

editor.label.style = #7e7e7e,bold

TEXT - COMMENTS

editor.comment1.style = #aaaaaa,plain
editor.comment2.style = #aaaaaa,plain

LINE STATUS - editor line number status bar at the bottom of the screen

linestatus.font = SansSerif,plain,10
linestatus.height = 20

GUI - PLOTTING

color cycle created via colorbrewer2.org

plotting.bgcolor = #ffffff
plotting.color = #ffffff
plotting.graphcolor.size = 4
plotting.graphcolor.00 = #2c7bb6
plotting.graphcolor.01 = #fdae61
plotting.graphcolor.02 = #d7191c
plotting.graphcolor.03 = #abd9e9

Hi. I have written some documentation of the Arduino IDE's theme system here:

That repository also contains a dummy library with an example sketch that makes it easy to test the contrast between the colors of all theme components. As you discovered, this is very important when creating a custom theme.

Note that you need to restart the Arduino IDE before changes you make to the theme files take effect.

Note that the part at the top of theme.txt:

#FUNCTIONS COLOR          #D35400 - ORANGE         KEYWORD1
#FUNCTIONS COLOR         #D35400 - ORANGE         KEYWORD2
#STRUCTURE COLORS          #5E6D03 - GREEN            KEYWORD3
#VARIABLES COLOR          #00979C - BLUE            LITERAL1

#ERROR COLOR            #A61717 - RED
#COMMENTS // COLOR         #95A5A6 - LIGHT GREY
#COMMENTS /**/ COLOR      #434F54   - DARK GREY

are just comments and modifying these have no effect on the IDE's theme.

FF2460:
this is a dark theme Ide that I want to use

Would you mind posting a link to where you downloaded the theme from?

Please READ THIS POST to help you get the best out of the forum.

SIMPLE TROUBLESHOOTING.

These steps may also save you some unnecessary time and effort in the forum.

  • Always provide as much detail as possible to your issue it may be important.
  • If applicable provide your SKETCH inside CODE TAGS ( </> ) or a CREATE share link.
  • If applicable provide a schematic even if hand drawn.
  • How to insert a picture into your post
  • If applicable provide a proper LINK to the hardware / sensors etc. you are using.

Bob.