All Projects → mapzen → styleguide

mapzen / styleguide

Licence: MIT license
A living styleguide powering the Mapzen brand (TM)

Programming Languages

CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to styleguide

Styleguide Generators
An overview of automatic living styleguide generators
Stars: ✭ 1,902 (+14530.77%)
Mutual labels:  styleguide
Swift Style Guide
StyleShare에서 작성한 Swift 한국어 스타일 가이드
Stars: ✭ 223 (+1615.38%)
Mutual labels:  styleguide
pattern-library
AXA CH UI component library. Please share, comment, create issues and work with us!
Stars: ✭ 103 (+692.31%)
Mutual labels:  styleguide
Vue Styleguidist
Created from react styleguidist for Vue Components with a living style guide
Stars: ✭ 2,133 (+16307.69%)
Mutual labels:  styleguide
Backpack Ui
All the tools you need to build the Lonely Planet UI experience.
Stars: ✭ 216 (+1561.54%)
Mutual labels:  styleguide
Naming Convention Guides
📖 Collection of naming guides for writing more consistent and readable codes
Stars: ✭ 239 (+1738.46%)
Mutual labels:  styleguide
Api Style Guide
Haufe API Style Guide
Stars: ✭ 157 (+1107.69%)
Mutual labels:  styleguide
kotlin-style-guide
red_mad_robot Kotlin Style Guide
Stars: ✭ 85 (+553.85%)
Mutual labels:  styleguide
Stylemark
Generate interactive style guides from Markdown.
Stars: ✭ 217 (+1569.23%)
Mutual labels:  styleguide
Javascript
JavaScript Style Guide
Stars: ✭ 117,286 (+902100%)
Mutual labels:  styleguide
Ue4 Style Guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,656 (+20330.77%)
Mutual labels:  styleguide
Bluestyle
A Julia style guide that lives in a blue world
Stars: ✭ 210 (+1515.38%)
Mutual labels:  styleguide
Storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Stars: ✭ 67,445 (+518707.69%)
Mutual labels:  styleguide
Styleguide
🖌 Conjunction of design patterns, components and resources used across our products.
Stars: ✭ 162 (+1146.15%)
Mutual labels:  styleguide
tryceratops
A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
Stars: ✭ 381 (+2830.77%)
Mutual labels:  styleguide
Style Guide Boilerplate
⚡️🎨 A starting point for crafting living style guides.
Stars: ✭ 1,899 (+14507.69%)
Mutual labels:  styleguide
Livingcss
Parse comments in your CSS to generate a living style guide using Markdown, Handlebars, Polymer, and Prism syntax highlighter.
Stars: ✭ 237 (+1723.08%)
Mutual labels:  styleguide
suomifi-ui-components
Suomi.fi-styleguide in React components
Stars: ✭ 28 (+115.38%)
Mutual labels:  styleguide
Sitegeist.Monocle
An fusion based styleguide implementation for Neos
Stars: ✭ 46 (+253.85%)
Mutual labels:  styleguide
Nodebestpractices
✅ The Node.js best practices list (December 2021)
Stars: ✭ 72,734 (+559392.31%)
Mutual labels:  styleguide

Styleguide

Mapzen Styleguide makes it easy for us to create right-looking websites that work well across platforms and into the future. If you’re publishing Mapzen stuff, the guide is for you.

🔋 Batteries included:

  • Basic page structure with standard linked CSS and Javascript resources.
  • Sample UI components like navigation, social buttons, search boxes, and pagination that can be combined to make new kinds of pages.
  • Complete sample pages like blog posts and developer documentation showing how all the pieces fit together.

Use

To use the guide for Mapzen-looking web sites, visit https://mapzen.com/common/styleguide and follow the instructions to structure HTML and linked style and script resources.

MPZN

These are Javascript APIs without UI components under MPZN name space.

MPZN.trackevent

MPZN.trackeventis a wrapper for customized Google Analytics event. You can initialize MPZN.trackevent with your own Google Analytics value. Google Anlyatics value is going to be sent with the initialization of MPZN.trackevent.

MPZN.trackevent(category, action, label, value)

Please look at Google Analytics page to know more about options.

MPZN.nav

MPZN.navis a read-only component dealing with user's log-in status on the navbar.

| Method | Return | Description | |------------|-------------------|---------|-----------------------| | reflectUserState(<String> userID, <String> userNickname, <String> userAvatarImage, [<Function> customLogoutCall]) |null | Manipulate navigation bar state with passed user data. To show not-logged-in status, pass null or empty string as parameters. Optionally provide a custom logout handler to override the default. |

Contribute

Watch and contribute to development on the styleguide via issues here in Github and on Waffle.io.

To edit and test Styleguide, please work on a new branch in this repository and use Precog for preview and testing.

To work with other Mapzen related-repo, please follow the steps in contribution guide. You can create an issue containing the check list with this link.

🚧 master branch is live 🚧

If you’d like to edit locally, Styleguide requires Node and uses Gulp to generate files in dist directory from sources in src/site. Build and test with these commands:

  1. npm install
  2. gulp build (or ./node_modules/.bin/gulp build if gulp not found)
  3. npm start
  4. Open http://localhost:3000 in a browser.

Organization

To add a new sub-section to the styleguide:

  1. Add a new folder and index.html to the appropriate section under src/site/
  2. Add a new @@include to the appropriate HTML file for the section you are working on in src/site/
  3. Add a new <a> link to the index file in src/site/includes/side-nav.hmtl
  4. Add a new .scss file for your sub-section in src/stylesheets/common
  5. Add a link to your stylesheet in src/stylesheets/styleguide.scss so that gulp will bundle it on build

Maintainers are Ekta, Lou, Mike M, and Hanbyul.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].