pressbooks aldine theme the theme used for the front page or default book
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ned Zimmerman 6242b6fc55
Add UIO options, test.
8 years ago
..
utils Add UIO options, test. 8 years ago
Enactors.styl Add UIO options, test. 8 years ago
FullNoPreviewPrefsEditor.styl Add UIO options, test. 8 years ago
FullPrefsEditor.styl Add UIO options, test. 8 years ago
FullPreviewPrefsEditor.styl Add UIO options, test. 8 years ago
PrefsEditor.styl Add UIO options, test. 8 years ago
README.md Add UIO options, test. 8 years ago
SeparatedPanelPrefsEditor.styl Add UIO options, test. 8 years ago
SeparatedPanelPrefsEditorFrame.styl Add UIO options, test. 8 years ago

README.md

Overview

The "stylus" directory contains Stylus files for generating the Preference Framework stylesheets.

How to add a new theme

Define your own themes variable that looks like:

    contrastThemes = {
        "theme-selector": {
            foregroundColor: #000000,
            backgroundColor: #ffffff
        }
        ...
    }

When calling Stylus mixins defined in "utils/Themes.styl", pass in your own themes variable as a parameter, such as:

    build-themes-Enactors(contrastThemes);

How to prevent grunt from compiling utility Stylus files

Some Stylus files may only contain mixins or functions for other Stylus files to import. Those files should not be compiled into CSS. To prevent the grunt task grunt buildStylus from compiling them, place these files in the "utils" directory.