Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 3.27 KB

README.md

File metadata and controls

63 lines (47 loc) · 3.27 KB

ReText Themes

Configurations

ReText stores all of its configuration in a text file: ~/.config/ReText project/ReText.conf.
See the possible configuration options

You can change

  • the theme of the window, using Qt stylesheets.
    Add appStyleSheet=/home/YOUR_USERNAME/.config/ReText project/YOUR_FILE.qss to the configuration file

    Example (retext.qss):

    QTextEdit {
      color: black;
      background-color: white;
    }
    
  • the color scheme of the text editor, using a [ColorScheme] section in the configuration file

    Example (ReText.conf):

    [ColorScheme]
    htmlTags=green
    htmlSymbols=#ff8800
    htmlComments=#abc
    
  • the color scheme of the preview, using CSS.
    Add styleSheet=/home/YOUR_USERNAME/.config/ReText project/YOUR_FILE.css
    and useWebKit=true to the configuration file

    Example (preview.css):

    body {
      color: black;
      background-color: white;
    }
    

Of course, don't forget to put the files in that directory, then restart ReText to see the changes.

Prebuild Color Schemes

Theme CSS QSS Conf Preview Source
Default retext-project
Github EndangeredMassa
QDarkStyle snailhome
Monokai geekthis
Monokai Minimal geekthis
Solarized geekthis
Solarized Light geekthis
Breeze Dark cognifloyd
Markdown Taupe jasonm23
Houdini shotgunsoftware
Markdown elclanrs