

Variables are easy to spot, since they begin with an symbol.įor now, let’s focus on the editor’s background color. We can see that the theme is using some Less features like variables.

If we open up base.less, we see that it’s quite similar to CSS. Let’s take a deeper look at these less files. Our theme colors.less file after the change What just happened? If you publish your theme, this README will be visible to users who visit your download page. The README.md file allows you to describe your theme using markdown.It gives the package a name and description and lets you provide some useful metadata. If you’ve used Node.js and NPM then package.json will be familiar.The base styles reside in styles/base.less, and the colors reside in styles/colors.less.The main stylesheet resides in index.less.The auto-generated package has been laid out carefully so that it is very easy to edit. I’m going to name my package blue-everywhere-syntax and well, turn up the blue. Atom recommends that the package name ends with -syntax, and it’s best practice to use a lower case hyphen separated name. You can also create your own theme by using the default theme provided. You can easily add and remove the theme in Notepad++. A theme controls the foreground, background-color along with font attributes like name, size, etc. Name your packageĪtom will open up the generated package as a project that you can start editing. This is another feature of this free, fast, and efficient Text Editor. Choose the Package Generator: Generate syntax theme optionĪtom will prompt you for a location to save the package.
#ATOM TEXT EDITOR DOWNLOAD THEMES WINDOWS#
Open Atom and hit Cmd + Shift + P (for Windows use Ctrl + Shift + P).Today, there’s an excellent auto-generate feature built right into Atom. There was a time when writing a syntax theme meant a lot of work. So what do you need to get started? You just need to download the Atom text editor, and you’re good to go! Atom uses Less, which is a superset of CSS with some nifty features like variables which we’ll learn as we go along.
