Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs: apply common 'styles.css' across all samples all langs; fix styles #894

Merged
merged 1 commit into from
Feb 28, 2016

Conversation

wardbell
Copy link
Contributor

Per @naomiblack, all DevGuide samples must adhere to the "Tutorial: Tour of Heroes" CSS styles.

This PR captures the "Tutorial: Tour of Heroes" styles in the canonical ~/_examples/styles.css and applies that style to all devguide samples — TS, JS, and Dart.

add-example-boilerplate gulp task automatically adds the canonical ~/_examples/styles.css to all example projects including Dart projects. remove-example-boilerplate removes it.

A DevGuide example should never create or alter styles.css. styles.css is excluded from source control except for the canonical ~/_examples/styles.css

Todos:

  • Update author's guide to reflect these instructions
  • Tell authors about them and remind authors to call add-example-boilerplate

@wardbell wardbell force-pushed the devguide-sample-styles branch 5 times, most recently from 92df36d to 879b7af Compare February 28, 2016 19:58
@wardbell wardbell force-pushed the devguide-sample-styles branch from 879b7af to ad7f172 Compare February 28, 2016 20:48
@wardbell wardbell merged commit ad7f172 into angular:master Feb 28, 2016
@wardbell wardbell deleted the devguide-sample-styles branch February 28, 2016 23:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant