jquery-archive / css-chassis

An attempt at creating an open standard for both CSS and JavaScript UI libraries.
https://css-chassis.com
Other
351 stars 67 forks source link

Improvements to demo page with code snippets, syntax highlighting and basic styling of heading and paragraphs. #162

Open nashvail opened 8 years ago

nashvail commented 8 years ago

The demo page for components should have code snippets and related docs. Currently this is absent. This theme https://github.com/jasonlong/cayman-theme has proper styling for code snippets e.t.c if everyone agrees we can use this theme.

geekman-rohit commented 8 years ago

A chassis demo page should use chassis itself in combination with maybe jquery-ui or jquery-mobile. So this will be a temporary solution. The question would be if we really need to implement this temporary theme until chassis version 1 is ready.

arschmitz commented 8 years ago

I dont think we should import a 3rd party theme

for snippits i currently use a solution adapted from jQuery mobile which is really simple. It uses Syntax js with a really simple script to make a hidden accordion and put the content in it

Demo: https://rawgit.com/arschmitz/jqueryui-bootstrap-adapter/master/index.html Code: https://github.com/arschmitz/jqueryui-bootstrap-adapter/blob/master/demo/code_sample.js https://github.com/arschmitz/jqueryui-bootstrap-adapter/blob/master/index.html