Difference between revisions of "Style Best Practices"

From Dreamwidth Notes
Jump to: navigation, search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category: Styles]]
+
{{Expand|text=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 ==
 
== Core 2 ==
Line 6: Line 8:
  
 
This version of core will better outline the wizard placement, produce well-classed CSS output, and add some additional functionality.
 
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
 +
 +
[[Category: Styles Development]]
 +
[[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