Difference between revisions of "Style Best Practices"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) m (link to the Talk page, add to brainstorming category, still needs expansion) |
(spaces) |
||
Line 18: | Line 18: | ||
Styles will use classes such as those brainstormed on the [[Dream Garden layout]] page | 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]] | [[Category: Styles]] | ||
[[Category: Brainstorming]] | [[Category: Brainstorming]] |
Revision as of 06:04, 19 January 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