Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change background and text colors in Sublime Text 3

Tags:

sublimetext3

My questions are:

  • How do I change the overall colors (background and font)?
  • How do I change the colors based on the file type that is open?

Do I need to learn how to create a whole theme?

I read this answer -- Sublime 2 -changing background color based on file type? -- for Sublime 2, but I'm using Sublime 3 (currently in beta), and there is no "Color Scheme - Default" in the Package folder.

like image 758
Luke Avatar asked Dec 08 '14 23:12

Luke


People also ask

Why is my Sublime Text not colored?

Click the relevant language and the Sublime will do the coloring according to your selection. Show activity on this post. If you are just opening new files and pasting text in, the default syntax is "Plain Text", thus no highlighting.


2 Answers

For How do I change the overall colors (background and font)?

For MAC : goto Sublime text -> Preferences -> color scheme

like image 170
Abhitesh khatri Avatar answered Oct 04 '22 01:10

Abhitesh khatri


This question -- Why do Sublime Text 3 Themes not affect the sidebar? -- helped me out.

The steps I followed:

  1. Preferences
  2. Browse Packages...
  3. Go into the User folder (equivalent to going to %AppData%\Sublime Text 3\Packages\User)
  4. Make a new text file in this folder called Default.sublime-theme
  5. Add JSON styles here -- for a template, check out https://gist.github.com/MrDrews/5434948
like image 41
Luke Avatar answered Oct 04 '22 03:10

Luke