Git Product home page Git Product logo

teamcolors.github.io's Introduction

Team Colors

Team Colors is a reference of HEX & RGB color values of major league sporting teams.

Technical Overview

PHP is used to parse and load the basic HTML markup. Javascript is used to load styles and vector versions of the team logos (if SVG is supported by the browser).

Making Changes

Team Colors data is rendered from the team-data.json file. Any changes to the data of the page can be done from that file. Teams are sorted according to their respective leagues. Leagues and league navigation controls are all rendered from this single .json file.

Edit Team Color or Name

  1. Find the team's entry in team-data.json
  2. Edit it

Adding a Team

  1. Add the team name and colors in team-data.json
  2. Add an .svg logo in the project-files/TeamLogos.sketch file, with the team's name (as stated in team-data.json) in lowercase with hyphens in place of spaces
  3. Export the .svg file to the img/ directory

Dependencies

Compass

CSS is built and compiled using compass. Partials are in css/sass/ and are compiled to stylesheets in css/.

Sketch App

All team logos are laid out in the .sketch file. You can export them to their corresponding league in img/.

teamcolors.github.io's People

Contributors

jimniels avatar qwz avatar attebury avatar briankennedy1 avatar suburbsomeone avatar

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.