GithubHelp home page GithubHelp logo

thatxliner / fall-syntax Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 9.51 MB

:atom: A syntax theme for your eyes

Home Page: https://atom.io/themes/fall-syntax

License: MIT License

Less 67.54% Python 18.70% C++ 6.84% JavaScript 2.59% CoffeeScript 1.19% Java 2.02% HTML 1.11%
syntax-theme palette monokai coolors atom atom-theme

fall-syntax's Introduction

NOTE: Although Atom has been sunset, I will be maintaining this theme. I plan to publish to Pulsar's (a community-driven effort to continue Atom) package repository

fall-syntax

Color Contrast Check APM APM Built with Atom

Banner

Fall Syntax is a syntax theme with 3 design points in mind:

  • Reduce blue light*
  • Make code clear
  • Still look good

*Not clinically proven. Coding breaks are still recommended.


A screenshot of the syntax theme


I've sought out to build a syntax theme on top of those principals; something that minimizes the blue but still looks good. Why? I knew that blue light causes eyestrain and headaches, which are a nuisance for the programmer (and the average computer user).

After about a month of color-picking, discussion, and color-tweaking, Fall Syntax was here. Every hue, every shade, was meticulously hand-picked, tested, and checked against standards such as the WCAG 2.0 contrast ratio criterion.

Naturally, the colors are reddish and aesthetic, giving that post-summer vibe.

Besides warm colors, Fall Syntax features some nice perks such as

  • Trivial components of code (like comments and bracket pairs) are faded
  • Consistent color semantics across languages (e.g. you will find definitions of classes or functions as a green keyword followed by a purple name)
  • Increased contrast on function/class definitions*

Enjoy!

*support may vary depending on language. Check the FAQ for more info.


This is my first syntax theme πŸŽ‰, originally forked from Atomic-monokai-pro-syntax. Except now, this looks nothing like atomic-monokai-pro-syntax.

I hope you like it! ❀️. If you do, please star this repo and star this theme on Atom. That way, you can let other people find this theme.

Hey, if you don't like this syntax theme ("it's too reddish!") I highly recommend @tterb's Atomic-monokai-pro-syntax or @jackw01's summer-night-syntax. @KomodoKode's personal favorite (how dare he not use Fall Syntax) is Atom's built-in One Dark. Nord is pretty good, too.

Installation

This theme can be installed from within Atom or via the command:

$ apm install fall-syntax

After installation, you can activated by going to the Settings > Themes section and selecting it from the Syntax Themes drop-down menu.

Color palette

Color Preview Hex
Pink #FF7092
Orange #F99270
Light Orange #FFB370
Peach #F9C19A
Green #7EC892
Purple #D6ABEE
Maroon #C65882
Foreground #E3DEDF
Punctuation #A29094
Background #262022

FAQ

Q: I need this for other editors

A: Current ports:

If you have made a port, please send a pull request updating this list.

Q: This syntax highlighting is degraded

A: You're probably having tree-sisters parsing on. While it is a promising technology, it currently seems to degrade syntax highlighting. I recommend you turn it off on Settings > Core. If that's not the case feel free to complain in the issues or send a pull request!. I have rewritten the _base.less by hand so I have probably dropped support for some markup/programming languages.

Q: This looks like (insert some theme name)

A: Welp. Great minds think alike!

Q: How can I contribute?

A: Either complain about the colors professionally critique the theme in the issues or send a pull request for some different colors/arrangements. Or you can help me port this theme to other editors I'll merge it if I like it!

Credits

Credits to

fall-syntax's People

Contributors

imgbot[bot] avatar imnotril avatar komodokode avatar thatxliner avatar tterb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

komodokode

fall-syntax's Issues

Background change

High contrast option that includes changing the background to rgb(28, 23, 4)

Javascript Highlighting Needs Work

The Javascript syntax highlighting has little contrast, and is mostly green.

Also, function and for are both keywords, yet have different highlighting, which makes it look messy.

I suggest changing colors for keywords and class methods to improve the Javascript highlighting.

Need the hex codes c:

It would be nice if you put a table with the colors in the README of the repository, or just share the colors (hexadecimal/rgb format), it is boring to look through the vscode theme files to find them. This way it could be much easier to port it to other editors, and would be more accurate than using a color picker.

nice color scheme btw

Poorly syntax highlighted?

Complain here!

Currently, I've well tested support for:

  • Python
  • C++ (kinda)
  • C
  • TOML
  • Zsh/sh/bash
  • Java
  • Ruby
  • JavaScript
  • CoffeeScript
  • TypeScript
  • Markdown
  • HTML
  • JSON
  • YAML
  • Less
  • CSS
  • Generic (see #3)
  • (suggest some!)

So, if you happen to be using one of these languages, find the syntax highlighting support for them terrible, then tell me! If someone already complained about that language, react with a "πŸ‘"! It's a voting system.

Make readme better

The theme itself is already the best it can be (well sorta, see #14). But the README could be in a better state before this project becomes stagment (not actively maintained. It's a theme after all)

Port to Pulsar & VSCode

Pulsar

  • New package at their repository
  • Update scopes to support new Tree-Sitter

VSCode

  • Finalize scopes and colors
  • Publish package

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.