Recommend a beautiful Sublime Text 2/3 theme to download and install (itg.flat)

888u

Last update at :2024-06-15,Edit by888u

Because I am not a computer major, my skills in network technology are accumulated slowly through hobbies. Recently, I feel more and more that there is still a big gap in technology. So I prepared for systematic self-study, starting from the front end and slowly picking it up. I used to be more accustomed to using editors such as EDITPLUS. I saw that professional front-end brothers basically started with Sublime Text, as well as other editor tools.

Most Internet practitioners, especially coders, are visual animals. They type code in the editor every day. If they don’t like the theme of the editor, or they want to change it frequently. Therefore, after installing Sublime Text, the default interface is still OK, but I still hope to find a slightly more handsome theme. So I saw that this itg.flat theme is quite beautiful.

The above is the itg.flat theme interface installed by Snail, which is much better-looking than the default theme interface. And there are many color options available. If we also like this theme, then look at the installation plan below.

First, install the online plug-in theme package

When we install any Sublime Text plug-in or theme, there are hundreds of plug-ins and themes to choose from in the default online library. We must first install the Package Control plugin.

Package Control installation method:

A – Sublime 2 version

import urllib2,os,hashlib; h = \\'eb2297e1a458f27d836c04bb0cbaf282\\' + \\'d0e7a3098092775ccb37ca9d6b2e4b7d\\'; pf = \\'Package Control.sublime-package\\'; ipp = sublime.installed_packages _path() ; os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( \\'http://packagecontrol .io/\\' + pf.replace(\\' \\', \\'%20\\')).read(); dh = hashlib.sha256(by).hexdigest(); open( os. path.join( ipp, pf), \\'wb\\' ).write(by) if dh == h else None; print(\\'Error validating download (got %s instead of %s), please try manual install\\' % (dh, h) if dh != h else \\'Please restart Sublime Text to finish installation\\')

B – Sublime 3 version

import urllib.request,os,hashlib; h = \\'eb2297e1a458f27d836c04bb0cbaf282\\' + \\'d0e7a3098092775ccb37ca9d6b2e4b7d\\'; pf = \\'Package Control.sublime-package\\'; ipp = sublime.installed_ packages_path (); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( \\'http://packagecontrol.io/\\' + pf. replace(\\' \\', \\'%20\\')).read(); dh = hashlib.sha256(by).hexdigest(); print(\\'Error validating download (got %s instead of %s), please try manual install\\' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), \\'wb\\' ).write(by )

We choose the above installation command according to the Sublime version we use. Use CTRL+` to bring up the input box, then paste it in and press Enter. After the installation is complete, we can restart Sublime.

Second, install the theme

Like other themes, we first need to call up the input box through COMMAND+SHIFT+P (if we are a WIN system, enter CTRL+SHIFT+P), then we first enter Install Package and press Enter, then we Enter itg.flat again to see the plug-in, and then select Enter to install it automatically.

Third, set itg.flat theme parameters

After we complete the installation, we need to set it up.

A – Set default startup theme

We make settings in the interface shown above and enter them in the corresponding Preferences.sublime-settings document

// What I set is this line: \\”theme\\”: \\”itg.flat.dark.sublime-theme\\”

// for a light theme use:\\”theme\\”: \\”itg.flat.light.sublime-theme\\”

// additional (dark) color options\\”theme\\”: \\”itg.flat.dark.aqua.sublime-theme\\”\\”theme\\”: \\”itg.flat .dark.blue.sublime-theme\\”\\”theme\\”: \\”itg.flat.dark.green.sublime-theme\\”\\”theme\\”: \\”itg.flat .dark.orange.sublime-theme\\”\\”theme\\”: \\”itg.flat.dark.yellow.sublime-theme\\”

I choose to enter the parameters that are inconsistent, and I can see the different color interfaces and choose according to my needs.

B – Set Highlight

We can also set it manually

/ for a dark theme use:\\”color_scheme\\”: \\”Packages/Theme – itg.flat/itg.dark.tmTheme\\”,

// for a light theme use:\\”color_scheme\\”: \\”Packages/Theme – itg.flat/itg.light.tmTheme\\”,

Then we have other parameter settings, such as the size of the sidebar and top tab bar:

/ small tabs\\”itg_small_tabs\\”: true

// Sidebar padding options\\”itg_sidebar_tree_xsmall\\”: true\\”itg_sidebar_tree_small\\”: true\\”itg_sidebar_tree_medium\\”: true\\”itg_sidebar_tree_large\\”: true\\”itg_sidebar_tree_xlarge\\ ”: true

// Scrollbar size options\\”itg_scrollbar_small\\”: true\\”itg_scrollbar_medium\\”: true

// if the scrollbar options aren\\’t working, try setting the following\\”overlay_scroll_bars\\”: \\”disabled\\”

We can make selective adjustments according to our needs.

To summarize, this beautiful itg.flat theme has been installed in our Sublime Text software, suitable for versions 2 and 3.

Recommended site searches: Hong Kong server hosting, expired registered domain names, free IP proxy, foreign domain names, 100m virtual host, public welfare free virtual host, US host ranking, domain name query, second-level domain name application, Hong Kong host high defense,

Recommend a beautiful Sublime Text 2/3 theme to download and install (itg.flat)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码