Giter Club home page Giter Club logo

old-site's Introduction

Superstylin'

A Gatsby starter with styled-components ๐Ÿ’…

What is Superstylin'?

Superstylin' is a Gatsby starter that uses styled-components as the main way to style your Gatsby site, it provides an easy to start structure to get you up and running with your first Gatsby-powered site.

About styled-components

Simply put, styled-components is a way to add your css in your js, it works by creating a component and style it, then you'll get a styled-component, it's really simple but very powerful.

Benefits of using styled-components

By using your css in your js you get the power of javascript to add more functionality to the way you declare your styles, but wait, that's not all!

Below are some interesting readings to further discover the benefits of styled-components.

A big thanks to Glen Maddern and Max Stoiber for making styled-components ๐Ÿ‘๐ŸŽ‰.

Also big thanks to Kyle Mathews for starting and maintaining Gatsby ๐Ÿ‘๐ŸŽŠ.

Inline-styles vs CSS in JS

Read this excellent post on why inline-styles !== css-in-js by Max Stoiber.

Features of Superstylin'

  • Use css-in-js with the magic of styled-components ๐Ÿ’…
  • Easy to customize and to get started with your own Gatsby site
  • Perfect for sites, blogs or both
  • Uses polished - a lightweight toolset for writing styles in JavaScript โœจ
  • Uses the hedron flexbox grid system for react, powered by styled-components

Installing

$ gatsby new my-awesome-site https://github.com/bntzio/gatsby-starter-superstylin

$ cd my-awesome-site

$ gatsby develop

License

Licensed under the MIT License, Copyright ยฉ 2017 Enrique Benitez.

See LICENSE for more information.

old-site's People

Contributors

bntzio avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cwonrails

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.