Summary: This diff includes a few small things: - Menu: Don't select the first item until the user taps down arrow, and allow the user to use the arrow keys to move up and down through Menu items. - Menu: Make scroll code from MultiselectList re-usable, use in Menu. Now if you use the keys to move to an item that is offscreen it will follow. - Popover: Tapping the button that opened popover should close it - Make sure buttons in toolbars are at least standard height - Re-enable Markdown processing via `grunt docs` - A bit of initial inline documentation for crosjdoc. Need to evaluate whether this is worth doing everywhere. - New `search-playground` package for experimenting with search and search weights. - Swap itemClassProvider for more generic itemPropProvider - Add crojsdoc config file - Export React, because third party packages can't require things from our app - [FEATURE] Bring back static file support in third party packages via `nylas://translate/IMG_20150417_124142.jpg` - Fix invariant error with search bar - [FEATURE] "Show Original" under Message actions - Fix DatabaseView so that many archives at once don't cause problems Test Plan: Run specs Reviewers: evan Reviewed By: evan Differential Revision: https://review.inboxapp.com/D1426
2.1 KiB
Converting a TextMate Theme
This guide will show you how to convert a TextMate theme to an Atom theme.
Differences
TextMate themes use plist files while Atom themes use CSS or Less to style the UI and syntax in the editor.
The utility that converts the theme first parses the theme's plist file and then creates comparable CSS rules and properties that will style Atom similarly.
Install apm
The apm
command line utility that ships with Atom supports converting
a TextMate theme to an Atom theme.
Check that you have apm
installed by running the following command in your
terminal:
apm help init
You should see a message print out with details about the apm init
command.
If you do not, launch Atom and run the Atom > Install Shell Commands menu
to install the apm
and atom
commands.
You can now run apm help init
to see all the options for initializing new
packages and themes.
Convert the Theme
Download the theme you wish to convert, you can browse existing TextMate themes here.
Now, let's say you've downloaded the theme to ~/Downloads/MyTheme.tmTheme
,
you can convert the theme with the following command:
apm init --theme ~/.atom/packages/my-theme --convert ~/Downloads/MyTheme.tmTheme
You can browse to ~/.atom/packages/my-theme
to see the converted theme.
Activate the Theme
Now that your theme is installed to ~/.atom/packages
you can enable it
by launching Atom and selecting the Atom > Preferences... menu.
Select the Themes link on the left side and choose My Theme from the Syntax Theme dropdown menu to enable your new theme.
🎉 Your theme is now enabled, open an editor to see it in action!
Further Reading
- Check out Publishing a Package for more information on publishing the theme you just created to atom.io.