| Flex 2 Developer's Guide > Customizing the User Interface > Using Styles and Themes > About themes | |||
A theme defines the look and feel of a Flex application. A theme can define something as simple as the color scheme or common font for an application, or it can be a complete reskinning of all the components used by the application.
Themes usually take the form of a SWC file. However, themes can also be a CSS file and embedded graphical resources, such as symbols from a SWF file. Theme SWC files can also be compiled into style SWF files so that they can be loaded at run time. For more information, see Using theme SWC files as run-time style sheets.
To apply the contents of that SWC file to your Flex application, use the instructions in Using themes. To create your own theme, use the instructions in Creating a theme SWC file. You can affect the theme of a Flex application without creating a new theme. You do this with the themeColor property. For more information, see Creating themes.
The default theme, Halo, is a combination of graphical and programmatic skins in a SWC file. It is defined by the defaults.css file in the framework.swc file. This file sets many properties of the Flex components. In some cases it uses classes in the mx.skins.halo package. Flex also includes several predefined themes that you can apply to your applications. For more information, see About the included theme files.
Flex 2.01