GithubHelp home page GithubHelp logo

bholtbholt / golden-space Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 605 KB

Calculate and preview the perfect spacing scale in web apps

Home Page: https://bholtbholt.github.io/golden-space/

JavaScript 0.43% CSS 46.46% HTML 21.12% TypeScript 31.99%
css typescript space

golden-space's Introduction

Golden Scale

Calculate and preview the perfect spacing scale in web apps.

Motivations

This project is the culmination of some space exploration in web apps. I've attempted to find a suitable space system while also trying out some ideas while retaining responsiveness.

The primary goal of this exploration was to determine whether it was feasible to:

  • Consolidate margin and padding utility classes across screen sizes
  • Determine the appropriate scale to implement in Zipline
  • See the effect of implementing Text Crop to set consistency between line-heights and space

Secondary goals shaped some of the technology decisions. I wanted to:

Next Steps

  • Add githooks for index and dist
  • Add some UI elements to the bottom of the page for a space + typography side-by-side comparison

Development

Installation

Golden Scale is built on a Node Environment. You'll need a copy and Node and NPM. Personally, I've used Yarn for this project.

Install the project by running yarn in the CLI.

Development

Start the NPM server with yarn start and visit http://localhost:3000.

Deployment

The page is packaged with Parcel and hosted on Github Pages. For technical reasons the "dist" folder is in the root folder (for now). You'll see index.html and hashed javascript and CSS files.

To create a new build:

  • Run yarn build
  • Commit the build to master branch
  • Push the changes

Reading on Space

Development Resources

golden-space's People

Watchers

 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.