Set a dark theme in Texstudio

Reference: https://tex.stackexchange.com/questions/108315/how-can-i-set-a-dark-theme-in-texstudio

Original:

original

Dark:

Dark

Steps:

  1. Edit ~/.config/texstudio/texstudio.ini
   [formats]
   version=1.0
   data\normal\priority=-1
   data\normal\bold=false
   data\normal\italic=false
   data\normal\overline=false
   data\normal\underline=false
   data\normal\strikeout=false
   data\normal\waveUnderline=false
   data\normal\foreground=#eaeaea
   data\normal\fontFamily=
   data\normal\pointSize=0
   data\normal\wrapAround=false
   data\background\priority=-1
   data\background\bold=false
   data\background\italic=false
   data\background\overline=false
   data\background\underline=false
   data\background\strikeout=false
   data\background\waveUnderline=false
   data\background\background=#26292c
   data\background\fontFamily=
   data\background\pointSize=0
   data\background\wrapAround=false
   data\line%3Aerror\priority=-1
   data\line%3Aerror\bold=true
   data\line%3Aerror\italic=true
   data\line%3Aerror\overline=false
   data\line%3Aerror\underline=false
   data\line%3Aerror\strikeout=false
   data\line%3Aerror\waveUnderline=false
   data\line%3Aerror\background=#767f85
   data\line%3Aerror\fontFamily=
   data\line%3Aerror\pointSize=0
   data\line%3Aerror\wrapAround=false
   data\line%3Awarning\priority=-1
   data\line%3Awarning\bold=true
   data\line%3Awarning\italic=true
   data\line%3Awarning\overline=false
   data\line%3Awarning\underline=false
   data\line%3Awarning\strikeout=false
   data\line%3Awarning\waveUnderline=false
   data\line%3Awarning\background=#767f85
   data\line%3Awarning\fontFamily=
   data\line%3Awarning\pointSize=0
   data\line%3Awarning\wrapAround=false
   data\line%3Abadbox\priority=-1
   data\line%3Abadbox\bold=false
   data\line%3Abadbox\italic=false
   data\line%3Abadbox\overline=false
   data\line%3Abadbox\underline=false
   data\line%3Abadbox\strikeout=false
   data\line%3Abadbox\waveUnderline=false
   data\line%3Abadbox\background=#767f85
   data\line%3Abadbox\fontFamily=
   data\line%3Abadbox\pointSize=0
   data\line%3Abadbox\wrapAround=false
   data\magicComment\priority=-1
   data\magicComment\bold=false
   data\magicComment\italic=false
   data\magicComment\overline=false
   data\magicComment\underline=false
   data\magicComment\strikeout=false
   data\magicComment\waveUnderline=false
   data\magicComment\foreground=#9fabb0
   data\magicComment\fontFamily=
   data\magicComment\pointSize=0
   data\magicComment\wrapAround=false
   data\commentTodo\priority=-1
   data\commentTodo\bold=false
   data\commentTodo\italic=false
   data\commentTodo\overline=false
   data\commentTodo\underline=false
   data\commentTodo\strikeout=false
   data\commentTodo\waveUnderline=false
   data\commentTodo\foreground=#ffffef
   data\commentTodo\background=#5f7f5f
   data\commentTodo\fontFamily=
   data\commentTodo\pointSize=0
   data\commentTodo\wrapAround=false
   data\comment\priority=-1
   data\comment\bold=false
   data\comment\italic=false
   data\comment\overline=false
   data\comment\underline=false
   data\comment\strikeout=false
   data\comment\waveUnderline=false
   data\comment\foreground=#767f85
   data\comment\fontFamily=
   data\comment\pointSize=0
   data\comment\wrapAround=false
   data\keyword\priority=-1
   data\keyword\bold=true
   data\keyword\italic=false
   data\keyword\overline=false
   data\keyword\underline=false
   data\keyword\strikeout=false
   data\keyword\waveUnderline=false
   data\keyword\foreground=#d88746
   data\keyword\fontFamily=
   data\keyword\pointSize=0
   data\keyword\wrapAround=false
   data\extra-keyword\priority=-1
   data\extra-keyword\bold=true
   data\extra-keyword\italic=false
   data\extra-keyword\overline=false
   data\extra-keyword\underline=false
   data\extra-keyword\strikeout=false
   data\extra-keyword\waveUnderline=false
   data\extra-keyword\foreground=#ffb454
   data\extra-keyword\fontFamily=
   data\extra-keyword\pointSize=0
   data\extra-keyword\wrapAround=false
   data\math-keyword\priority=-1
   data\math-keyword\bold=true
   data\math-keyword\italic=false
   data\math-keyword\overline=false
   data\math-keyword\underline=false
   data\math-keyword\strikeout=false
   data\math-keyword\waveUnderline=false
   data\math-keyword\foreground=#b7d877
   data\math-keyword\fontFamily=
   data\math-keyword\pointSize=0
   data\math-keyword\wrapAround=false
   data\link\priority=-1
   data\link\bold=false
   data\link\italic=false
   data\link\overline=false
   data\link\underline=true
   data\link\strikeout=false
   data\link\waveUnderline=false
   data\link\fontFamily=
   data\link\pointSize=0
   data\link\wrapAround=false
   data\align-ampersand\priority=-1
   data\align-ampersand\bold=true
   data\align-ampersand\italic=false
   data\align-ampersand\overline=false
   data\align-ampersand\underline=false
   data\align-ampersand\strikeout=false
   data\align-ampersand\waveUnderline=false
   data\align-ampersand\foreground=#b5d1df
   data\align-ampersand\fontFamily=
   data\align-ampersand\pointSize=0
   data\align-ampersand\wrapAround=false
   data\verbatim\priority=-1
   data\verbatim\bold=false
   data\verbatim\italic=false
   data\verbatim\overline=false
   data\verbatim\underline=false
   data\verbatim\strikeout=false
   data\verbatim\waveUnderline=false
   data\verbatim\fontFamily=
   data\verbatim\pointSize=0
   data\verbatim\wrapAround=false
   data\picture\priority=-1
   data\picture\bold=false
   data\picture\italic=false
   data\picture\overline=false
   data\picture\underline=false
   data\picture\strikeout=false
   data\picture\waveUnderline=false
   data\picture\foreground=#ece8c4
   data\picture\fontFamily=
   data\picture\pointSize=0
   data\picture\wrapAround=false
   data\picture-keyword\priority=-1
   data\picture-keyword\bold=false
   data\picture-keyword\italic=false
   data\picture-keyword\overline=false
   data\picture-keyword\underline=false
   data\picture-keyword\strikeout=false
   data\picture-keyword\waveUnderline=false
   data\picture-keyword\foreground=#ffb454
   data\picture-keyword\fontFamily=
   data\picture-keyword\pointSize=0
   data\picture-keyword\wrapAround=false
   data\braceMatch\priority=-1
   data\braceMatch\bold=true
   data\braceMatch\italic=false
   data\braceMatch\overline=false
   data\braceMatch\underline=false
   data\braceMatch\strikeout=false
   data\braceMatch\waveUnderline=false
   data\braceMatch\foreground=#b5d1df
   data\braceMatch\background=#2b2b2b
   data\braceMatch\fontFamily=
   data\braceMatch\pointSize=0
   data\braceMatch\wrapAround=false
   data\braceMismatch\priority=-1
   data\braceMismatch\bold=true
   data\braceMismatch\italic=false
   data\braceMismatch\overline=false
   data\braceMismatch\underline=false
   data\braceMismatch\strikeout=false
   data\braceMismatch\waveUnderline=false
   data\braceMismatch\foreground=#2b2b2b
   data\braceMismatch\background=#b5d1df
   data\braceMismatch\fontFamily=
   data\braceMismatch\pointSize=0
   data\braceMismatch\wrapAround=false
   data\search\priority=-1
   data\search\bold=false
   data\search\italic=false
   data\search\overline=false
   data\search\underline=false
   data\search\strikeout=false
   data\search\waveUnderline=false
   data\search\foreground=#000000
   data\search\background=#ffb454
   data\search\fontFamily=
   data\search\pointSize=0
   data\search\wrapAround=false
   data\numbers\priority=-1
   data\numbers\bold=false
   data\numbers\italic=false
   data\numbers\overline=false
   data\numbers\underline=false
   data\numbers\strikeout=false
   data\numbers\waveUnderline=false
   data\numbers\foreground=#b7d877
   data\numbers\fontFamily=
   data\numbers\pointSize=0
   data\numbers\wrapAround=false
   data\math-delimiter\priority=-1
   data\math-delimiter\bold=true
   data\math-delimiter\italic=false
   data\math-delimiter\overline=false
   data\math-delimiter\underline=false
   data\math-delimiter\strikeout=false
   data\math-delimiter\waveUnderline=false
   data\math-delimiter\foreground=#72aaca
   data\math-delimiter\fontFamily=
   data\math-delimiter\pointSize=0
   data\math-delimiter\wrapAround=false
   data\text\priority=-1
   data\text\bold=false
   data\text\italic=false
   data\text\overline=false
   data\text\underline=false
   data\text\strikeout=false
   data\text\waveUnderline=false
   data\text\foreground=#b7d877
   data\text\fontFamily=
   data\text\pointSize=0
   data\text\wrapAround=false
   data\escapeseq\priority=-1
   data\escapeseq\bold=false
   data\escapeseq\italic=false
   data\escapeseq\overline=false
   data\escapeseq\underline=false
   data\escapeseq\strikeout=false
   data\escapeseq\waveUnderline=false
   data\escapeseq\fontFamily=
   data\escapeseq\pointSize=0
   data\escapeseq\wrapAround=false
   data\spellingMistake\priority=-1
   data\spellingMistake\bold=false
   data\spellingMistake\italic=false
   data\spellingMistake\overline=false
   data\spellingMistake\underline=false
   data\spellingMistake\strikeout=false
   data\spellingMistake\waveUnderline=true
   data\spellingMistake\linescolor=#dfaf8f
   data\spellingMistake\fontFamily=
   data\spellingMistake\pointSize=0
   data\spellingMistake\wrapAround=false
   data\wordRepetition\priority=-1
   data\wordRepetition\bold=false
   data\wordRepetition\italic=false
   data\wordRepetition\overline=false
   data\wordRepetition\underline=false
   data\wordRepetition\strikeout=false
   data\wordRepetition\waveUnderline=true
   data\wordRepetition\linescolor=#dc8cc3
   data\wordRepetition\fontFamily=
   data\wordRepetition\pointSize=0
   data\wordRepetition\wrapAround=false
   data\wordRepetitionLongRange\priority=-1
   data\wordRepetitionLongRange\bold=false
   data\wordRepetitionLongRange\italic=false
   data\wordRepetitionLongRange\overline=false
   data\wordRepetitionLongRange\underline=false
   data\wordRepetitionLongRange\strikeout=false
   data\wordRepetitionLongRange\waveUnderline=true
   data\wordRepetitionLongRange\linescolor=#dc8cc3
   data\wordRepetitionLongRange\fontFamily=
   data\wordRepetitionLongRange\pointSize=0
   data\wordRepetitionLongRange\wrapAround=false
   data\grammarMistakeSpecial1\priority=-1
   data\grammarMistakeSpecial1\bold=false
   data\grammarMistakeSpecial1\italic=false
   data\grammarMistakeSpecial1\overline=false
   data\grammarMistakeSpecial1\underline=false
   data\grammarMistakeSpecial1\strikeout=false
   data\grammarMistakeSpecial1\waveUnderline=false
   data\grammarMistakeSpecial1\fontFamily=
   data\grammarMistakeSpecial1\pointSize=0
   data\grammarMistakeSpecial1\wrapAround=false
   data\grammarMistakeSpecial2\priority=-1
   data\grammarMistakeSpecial2\bold=false
   data\grammarMistakeSpecial2\italic=false
   data\grammarMistakeSpecial2\overline=false
   data\grammarMistakeSpecial2\underline=false
   data\grammarMistakeSpecial2\strikeout=false
   data\grammarMistakeSpecial2\waveUnderline=false
   data\grammarMistakeSpecial2\fontFamily=
   data\grammarMistakeSpecial2\pointSize=0
   data\grammarMistakeSpecial2\wrapAround=false
   data\grammarMistakeSpecial3\priority=-1
   data\grammarMistakeSpecial3\bold=false
   data\grammarMistakeSpecial3\italic=false
   data\grammarMistakeSpecial3\overline=false
   data\grammarMistakeSpecial3\underline=false
   data\grammarMistakeSpecial3\strikeout=false
   data\grammarMistakeSpecial3\waveUnderline=false
   data\grammarMistakeSpecial3\fontFamily=
   data\grammarMistakeSpecial3\pointSize=0
   data\grammarMistakeSpecial3\wrapAround=false
   data\grammarMistakeSpecial4\priority=-1
   data\grammarMistakeSpecial4\bold=false
   data\grammarMistakeSpecial4\italic=false
   data\grammarMistakeSpecial4\overline=false
   data\grammarMistakeSpecial4\underline=false
   data\grammarMistakeSpecial4\strikeout=false
   data\grammarMistakeSpecial4\waveUnderline=false
   data\grammarMistakeSpecial4\fontFamily=
   data\grammarMistakeSpecial4\pointSize=0
   data\grammarMistakeSpecial4\wrapAround=false
   data\latexSyntaxMistake\priority=-1
   data\latexSyntaxMistake\bold=false
   data\latexSyntaxMistake\italic=false
   data\latexSyntaxMistake\overline=false
   data\latexSyntaxMistake\underline=false
   data\latexSyntaxMistake\strikeout=false
   data\latexSyntaxMistake\waveUnderline=false
   data\latexSyntaxMistake\linescolor=#dfaf8f
   data\latexSyntaxMistake\fontFamily=
   data\latexSyntaxMistake\pointSize=0
   data\latexSyntaxMistake\wrapAround=false
   data\temporaryCodeCompletion\priority=-1
   data\temporaryCodeCompletion\bold=false
   data\temporaryCodeCompletion\italic=true
   data\temporaryCodeCompletion\overline=false
   data\temporaryCodeCompletion\underline=false
   data\temporaryCodeCompletion\strikeout=false
   data\temporaryCodeCompletion\waveUnderline=false
   data\temporaryCodeCompletion\foreground=#94af64
   data\temporaryCodeCompletion\fontFamily=
   data\temporaryCodeCompletion\pointSize=0
   data\temporaryCodeCompletion\wrapAround=false
   data\environment\priority=-1
   data\environment\bold=false
   data\environment\italic=false
   data\environment\overline=false
   data\environment\underline=false
   data\environment\strikeout=false
   data\environment\waveUnderline=false
   data\environment\foreground=#d88746
   data\environment\fontFamily=
   data\environment\pointSize=0
   data\environment\wrapAround=false
   data\referencePresent\priority=-1
   data\referencePresent\bold=true
   data\referencePresent\italic=false
   data\referencePresent\overline=false
   data\referencePresent\underline=false
   data\referencePresent\strikeout=false
   data\referencePresent\waveUnderline=false
   data\referencePresent\foreground=#b5d1df
   data\referencePresent\fontFamily=
   data\referencePresent\pointSize=0
   data\referencePresent\wrapAround=false
   data\referenceMissing\priority=-1
   data\referenceMissing\bold=false
   data\referenceMissing\italic=false
   data\referenceMissing\overline=false
   data\referenceMissing\underline=false
   data\referenceMissing\strikeout=false
   data\referenceMissing\waveUnderline=true
   data\referenceMissing\foreground=#b5d1df
   data\referenceMissing\fontFamily=
   data\referenceMissing\pointSize=0
   data\referenceMissing\wrapAround=false
   data\referenceMultiple\priority=-1
   data\referenceMultiple\bold=false
   data\referenceMultiple\italic=false
   data\referenceMultiple\overline=false
   data\referenceMultiple\underline=false
   data\referenceMultiple\strikeout=false
   data\referenceMultiple\waveUnderline=true
   data\referenceMultiple\foreground=#40677f
   data\referenceMultiple\fontFamily=
   data\referenceMultiple\pointSize=0
   data\referenceMultiple\wrapAround=false
   data\citationPresent\priority=-1
   data\citationPresent\bold=true
   data\citationPresent\italic=false
   data\citationPresent\overline=false
   data\citationPresent\underline=false
   data\citationPresent\strikeout=false
   data\citationPresent\waveUnderline=false
   data\citationPresent\foreground=#b5d1df
   data\citationPresent\fontFamily=
   data\citationPresent\pointSize=0
   data\citationPresent\wrapAround=false
   data\citationMissing\priority=-1
   data\citationMissing\bold=true
   data\citationMissing\italic=false
   data\citationMissing\overline=false
   data\citationMissing\underline=false
   data\citationMissing\strikeout=false
   data\citationMissing\waveUnderline=true
   data\citationMissing\foreground=#b5d1df
   data\citationMissing\fontFamily=
   data\citationMissing\pointSize=0
   data\citationMissing\wrapAround=false
   data\packagePresent\priority=-1
   data\packagePresent\bold=false
   data\packagePresent\italic=false
   data\packagePresent\overline=false
   data\packagePresent\underline=false
   data\packagePresent\strikeout=false
   data\packagePresent\waveUnderline=false
   data\packagePresent\foreground=#b5d1df
   data\packagePresent\fontFamily=
   data\packagePresent\pointSize=0
   data\packagePresent\wrapAround=false
   data\packageMissing\priority=-1
   data\packageMissing\bold=false
   data\packageMissing\italic=false
   data\packageMissing\overline=false
   data\packageMissing\underline=false
   data\packageMissing\strikeout=false
   data\packageMissing\waveUnderline=true
   data\packageMissing\foreground=#b5d1df
   data\packageMissing\fontFamily=
   data\packageMissing\pointSize=0
   data\packageMissing\wrapAround=false
   data\structure\priority=-1
   data\structure\bold=true
   data\structure\italic=false
   data\structure\overline=false
   data\structure\underline=false
   data\structure\strikeout=false
   data\structure\waveUnderline=false
   data\structure\foreground=#72aaca
   data\structure\fontFamily=
   data\structure\pointSize=0
   data\structure\wrapAround=false
   data\current\priority=-1
   data\current\bold=false
   data\current\italic=false
   data\current\overline=false
   data\current\underline=false
   data\current\strikeout=false
   data\current\waveUnderline=false
   data\current\foreground=#ffffff
   data\current\background=#4d4d4d
   data\current\fontFamily=
   data\current\pointSize=0
   data\current\wrapAround=false
   data\previewSelection\priority=-1
   data\previewSelection\bold=false
   data\previewSelection\italic=false
   data\previewSelection\overline=false
   data\previewSelection\underline=false
   data\previewSelection\strikeout=false
   data\previewSelection\waveUnderline=false
   data\previewSelection\background=#aaffaa
   data\previewSelection\fontFamily=
   data\previewSelection\pointSize=0
   data\previewSelection\wrapAround=true
  1. Close Texstudio and open again.

Say something

Thank you

Your comment has been submitted and will be published once it has been approved.

Click here to see the pull request you generated.

OOPS!

Your comment has not been submitted. Please go back and try again. Thank You!

If this error persists, please open an issue by clicking here.