If you already have a stylesheet (CSS file) somewhere else and want to reuse it in your current project, you can import that stylesheet.
- Select the Project ribbon. In the Content section select New > Stylesheet. The Add File dialog opens.
- Select New from existing and click .
- Find and select the stylesheet file that you want to import.
- Click Open. The Source File field now contains the path to the file that you are importing. Also, the name of the file is displayed in the File Name field.
- Leave the selection in the Folder field as Resources/Stylesheets.
- If you want to give the stylesheet a different name than that for the imported file, click in the File name field and replace the text.
- (Optional) If you want to apply condition tags to the file, expand the Attributes section at the bottom of the dialog. Next to the Condition Tags field, click and select the conditions you want to apply. Click OK.
See Applying Conditions to Content.
- (Optional) If you want to apply file tags to the file, expand the Attributes section at the bottom of the dialog. Next to the File Tags field, click and select the file tags you want to apply. Click OK.
See Associating Tags with Files.
- Click Add. The stylesheet is added to the Resources\Stylesheets folder in the Content Explorer and opens in the Stylesheet Editor.
Note: You can also import individual styles from another stylesheet. See Importing Styles.
Note: As an alternative to importing single files from another location, you can import linked files from a Flare source project using a featured called "Global Project Linking." This is different than a simple import process, because in this case, the imported files remain linked to the source project. This allows you to make future updates to those files in just one place—in the source project file. When you perform ongoing imports using your previous settings, Flare recognizes changes to the source files. Therefore, the new files can be brought over, replacing the outdated files.