The site style package
This page is for designers who want to share a color scheme for an existing design rather than a whole theme.
The Site style wizard (ezstyle) is the oldest package creator for exactly that.
What it packs
From the creator's code (kernel/classes/packagecreators/ezstyle/):
- a site stylesheet and a classes stylesheet (stored with the variable names
sitecssfileandclassescssfile); - any number of images, stored below
imagesin the package; - a thumbnail of the look.
These correspond to the two stylesheet settings of design.ini [StylesheetSettings]: SiteCSS and ClassesCSS
(in the kernel's defaults, stylesheets/t02/site-colors.css and stylesheets/t02/classes-colors.css).
Step by step
- Prepare the two stylesheets and their images, and a thumbnail image of a page in this style.
- Open Setup > Packages > Create new package and choose Site style.
- Package thumbnail: choose the thumbnail.
- CSS files: choose the site stylesheet and the classes stylesheet.
- Image files: Add image adds the chosen file and stays on the step; add each image, then Continue.
- Package information: name, summary, version, license (from the configured list), format.
- Package maintainer and Package changelog, then review and Create package.
- On the package's page, Download writes
<name>-<version>.ezpkg.
When to use a theme extension instead
| A site style package fits when | A theme extension fits when |
|---|---|
| Only colors and a few images change | Templates, layout or scripts change |
| The design underneath stays the same | You need settings, translations, operators |
| Users pick a look among several | Users install, update and configure a theme |
Related pages
- The package creator wizard, step by step
- Loading stylesheets
- The package wizard
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.