Just download Photon and you'll be well on your way
Photon is downloadable in two forms, within which you'll find the following directories and files, logically grouping common and compiled resources.
Once downloaded, unzip the compressed folder to see the structure of (the compiled) photon. You'll see something like this:
This is the most basic form of Photon: precompiled files for quick drop-in usage in nearly any Electron project. We provide compiled CSS (`photon.*`). We also include the Entypo fonts and a template Electron application for you to quickly get started.
The Photon source code download includes the precompiled CSS, and font assets, along with source Sass, and documentation. More specifically, it includes the following and more:
The sass/
and fonts/
are the source code for our CSS and icon fonts (respectively).
The dist/
folder includes everything listed in the precompiled download section above.
The docs/
folder includes the source code for our documentation, and examples/
of Photon usage.
Beyond that, any other included file provides support for packages, license information, and development.
Every Photon application has the same basic structure that consists of
a main .window
element and corresponding .window-content
wrapper.
Divide up your applications content any way you want using .pane-group
and .pane
elements.
Add as many panes as you need. They'll layout out evenly across the application.
Sidebars are useful for housing navigation or other supplemental information in your application.
The optional .sidebar
class sets the pane's background color to gray.
If a smaller sidebar is what you need, look no further.
Many applications follow the same simple layout with a header, content, and footer structure. That's super easy to build in Photon.