Coder Social home page Coder Social logo

liuhongcc / material-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from material-theme/vsc-material-theme

0.0 2.0 0.0 18.82 MB

Material Theme, the most epic theme for Sublime Text 3 by Mattia Astorino

Home Page: http://equinusocio.github.io/material-theme

License: MIT License

JavaScript 100.00% Stata 0.01%

material-theme's Introduction

Material Theme

GitHub tag GitHub tag Downloads Join the chat at https://gitter.im/equinusocio/material-theme Click here to lend your support to: Material Theme donations and make a donation at pledgie.com! <script src="https://www.coinbase.com/assets/button.js" type="text/javascript"></script>

This theme brings the Material Design visual language to your Sublime Text 3. If you have problems, first search for a similiar issue and then report with new one.

Please read the Known Issues section before reporting a new one.

Easy installation

You can install this awesome theme through the Package Control.

  1. Press cmd/ctrl + shift + p to open the command palette.
  2. Type "install package" and press enter. Then search for "Material Theme"

Manual installation

  1. Download the latest release, extract and rename the directory to "Material Theme".
  2. Move the directory inside your sublime Packages directory. (Preferences > Browse packages...)

Activate the theme

  1. Open you preferences (Preferences > Setting - User) and add this lines:
"theme": "Material-Theme.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",

NOTE: Restart Sublime Text after activating the theme.

Theme styles

This theme provides 3 styles:

Default

"theme": "Material-Theme.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",

Darker

"theme": "Material-Theme-Darker.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",

Lighter

"theme": "Material-Theme-Lighter.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Lighter.tmTheme",

Old Color Schemes

You can still use the oldest and unsupported color schemes.

"color_scheme": "Packages/Material Theme/schemes/OLD/Material-Theme.tmTheme",
"color_scheme": "Packages/Material Theme/schemes/OLD/Material-Theme-Darker.tmTheme",
"color_scheme": "Packages/Material Theme/schemes/OLD/Material-Theme-Lighter.tmTheme",

Known issues

Please see the issue #67 if you can't see the bottom panel (find/replace, rename, move, can't see the box inputs in SidebarEnhancement, etc..). here the quick fix:

Drag the top edge

Addons

App Bar

Material Theme Appbar This official addon enable a beautiful colored tab bar to your Material Theme. The color tint fits automagically the material theme accent color you choosed.

White panels

Material Theme White Panels If you want to enable the white panels and inputs you can install the addon package through Package Control, search for "Material theme white panels". You have to disable it if you want to use the Lighter theme style.

Theme options

"material_theme_small_tab"                : true , // Set small tabs
"material_theme_disable_fileicons"        : true , // Hide sidebar file type icons
"material_theme_disable_folder_animation" : true , // Disable folder animation
"material_theme_small_statusbar"          : true , // Set small status bar
"material_theme_compact_sidebar"          : true , // Set compact side bar
"material_theme_compact_panel"            : true , // Set minimal padding for the search panel
"material_theme_disable_tree_indicator"   : true , // Disable sidebar file indicator
"material_theme_bold_tab"                 : true , // Make the tab labels bolder
"material_theme_tabs_separator"           : true , // Show tabs separator, this disables tab hover animation
"material_theme_accent_lime"              : true , // set green lime accent color
"material_theme_accent_purple"            : true , // set purple accent color
"material_theme_accent_red"               : true , // set pale red accent color
"material_theme_accent_orange"            : true , // set orange accent color
"material_theme_accent_yellow"            : true , // set yellow accent color
"material_theme_accent_indigo"            : true , // set indigo accent color
"material_theme_accent_pink"              : true , // set pink accent color
"material_theme_accent_blue"              : true , // set blue accent color
"material_theme_accent_cyan"              : true , // set cyan accent color
"material_theme_panel_separator"          : true , // show bottom panel separator
"material_theme_tabs_autowidth"           : true , // Enable autowidth for tabs
"material_theme_contrast_mode"            : true , // Enable sidebar and panels contrast mode

// If you use Material Theme - Appbar addon you can use additional settings:
"material_theme_tree_headings"            : true , // Show sidebar headings

Recommended settings for a better experience:

"overlay_scroll_bars"          : "enabled",
"line_padding_top"             : 3,
"line_padding_bottom"          : 3,
"always_show_minimap_viewport" : true,
"bold_folder_labels"           : true,
"indent_guide_options"         : [ "draw_normal", "draw_active" ],   // Highlight active indent
"font_options"                 : [ "gray_antialias", "subpixel_antialias" ],    // On retina Mac & Windows

The font used for the code is "Operator Mono"

You can also use the official Material Design monospace font "Roboto Mono" or "Fira Code".

Contributing

This UI theme use a custom compiler build on Gulp and JS. If you want to edit the UI you must first install the compiler:

$ npm install

then run compiler and watcher by run:

$ gulp

You can now edit the source files under /src folder that will be compiled inside the root folder (don't edit compiled files.)

Other Resources

App icon

Download the official Material Theme icon.

Official Portings

Material Theme was also ported to:

Color Schemes palettes

Color Default / Darker Lighter
Red #FF5370 #E53935
Pink #f07178 #FF5370
Orange #F78C6C #F76D47
Yellow #FFCB6B #FFC000
Green #C3E88D #91B859
Pale Blue #B2CCD6 #8796B0
Cyan #89DDFF #39ADB5
Blue #82AAFF #6182B8
Purple #C792EA #7C4DFF
Violet #bb80b3 #945EB8
Brown #ab7967 #ab7967

Thanks

Thanks for all the contributors.

Check the video review by LevelUpTuts

Video review

IMAGE ALT TEXT HERE

material-theme's People

Contributors

equinusocio avatar jonsuh avatar vikjam avatar arpitjacob avatar tylerfowle avatar mindstormer12 avatar berniechiu avatar llaraujo avatar revod avatar manoverda avatar zaynali53 avatar patricksamson avatar lgaticaq avatar rgormley avatar retgoat avatar ryanmortier avatar simondavies avatar irazasyed avatar rajadain avatar gitter-badger avatar tiaanl avatar vluzrmos avatar alexbeletsky avatar akinjide avatar camiant avatar jpelgrom avatar kevinfan520 avatar khateeb15 avatar rong3git avatar riehlemt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.