What is a "theme"?
A theme, code-wise, is simply CSS and some matching background images. Like good object-oriented design, good CSS design uses patterns to prevent redundancy and improve readability. That means, a "cheme" is not just backgrounds and colors. It is layouts, and plus: backgrounds, colors, icons.
<link type="text/css" href="css/main.css" rel="stylesheet" /> <link type="text/css" href="css/container.css" rel="stylesheet" /> <link type="text/css" href="../../dojo/dijit/themes/tundra/tundra.css" />But what I see in the Firebug?
What is the 'dijit.css' file? In the "Mastering Dojo" book I've found answer: "All themes load the "super style sheet" dojoroot/dijit/themes/digit.css. This file defines very few visual elements but instead factors out common elements among all style sheets."
Does that mean that the file 'dijit.css' contains the layouts for all dojo widjets? What will happen if I include only this file instead of including the "tundra.css"?
I've lost the colors, borders, icons, and some padding, but I have not lost the base layouts for the TabContainer. That is exactly what I need in order to build my own cheme.See next page: Part 2 (2)