Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (27 loc) · 1.58 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.58 KB

Atom Snazzy Clear Syntax

Simple, distraction-free atom syntax based on awesome hyper-snazzy

Read the reasoning behind the theme here

Features

  • Dimmed color for distracting elements like punctuations, parens, and braces
  • Extensive JavaScript with ES2015+ and JSX + Flow support
    • Differentiate between array/object destructuring and array/object literals
    • Consistent color for object property (including shorthand) and JSX props
    • Same color for template string variable and JS expression extrapolation in JSX

Color Guideline

  • Magenta for native keyword
  • Cyan for method or function
  • Blue for class and type definition
  • Bright green color for string literal for easier spotting "hardcoded" value
  • Pale bright green color for RegExp because of its relationship with string
  • Orange for constant, like number, boolean literal and UPPER_CASE variables
  • Red for HTML tags in both HTML, JSX, and CSS selector

Screenshot

JavaScript

Install language-babel for better syntax highlighting support.

Atom Snazzy Clear JS Screenshot

CSS

Atom Snazzy Clear CSS Screenshot

Acknowledgement

Thanks to Sindre Sorhus for his awesome color palette in hyper-snazzy.

License

MIT