Difference between revisions of "Style Best Practices"

From Dreamwidth Notes
Jump to: navigation, search
m (S2 Best Practices moved to Style Best Practices: want to avoid mention of S2 unless necessary)
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
* four spaces for each level of indentation. No tabs
 
* four spaces for each level of indentation. No tabs
  
[[Category: Styles]]
+
[[Category: Styles Development]]
 
[[Category: Brainstorming]]
 
[[Category: Brainstorming]]

Latest revision as of 14:26, 1 February 2009

Expand: If you have knowledge about S2 and best practices that should be considered, feel free to add them here or discuss them on the Talk:S2 Best Practices page.

S2 best practices are still being established. In the meantime, feel free to create graphic mock-ups.

Core 2

The Dreamwidth site is going to use "core2", an updated version of the core.

This version of core will better outline the wizard placement, produce well-classed CSS output, and add some additional functionality.

It is recommended that, as much as possible, styles reference functions from core instead of rewriting them. If the return/output does not meet your needs, this may be something that can be updated from core.

Wizard

The propgroup and property names will be standardized.

CSS

Styles will use classes such as those brainstormed on the Dream Garden layout page

Programming style minutiae

  • four spaces for each level of indentation. No tabs