Skip to content

Coloraise is for any site where it would be useful to allow the user to change the color of a page on a more granular level than the high contrast setting on Windows, and inverted color setting on Mac OS X. It allows the user to change the background, text, or heading color, and the font size. Similar to how the Bootstrap framework uses classes …

Notifications You must be signed in to change notification settings

aduboisforge/coloraise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coloraise

Coloraise is a simple downloadable menu plugin that allows users to change colors on your web pages.

Go to the Coloraise API Documentation to see this dowloadable menu in action (top right corner of page).

Step 1: Intall files

Install files on your server and link them like so:

<link rel="stylesheet" href="/path/to/coloraise.css">
<script src="/path/to/coloraise.js"></script>
  • make sure you also have jQuery linked. It is a dependency.

Step 2: Include empty 'coloraise' <div>

Include following div on page where you want the menu. Make sure that its parent container and positioning will allow it to actually show up.

<div class="coloraise"></div>

Step 3: Include classes

There are several classes included in the Coloraise plugin API which allows you to control what will and will not change colors on your page.

For instance adding the class 'color-change' to a container element will allow the user to change the color all text inside that container and the background color of that container as well.

There several classes that affect groups of elements, and individual elements. If you want to just allow users to change the background color of your page, or just the text, you can control that with the classes you include on your page.

All classes are explained in the Coloraise Documentation Class Reference.

Step 4: Customization

This step is completely optional, you can style the Coloraise plugin to match the color-scheme of your site by following this Customization Guide. You can also move where the menu appears within it's parent container.

License

Coloraise has been released under a Creative Commons ShareAlike 4.0 International license which means that you can remix and adapt this code and re-release it, as long as you 1) give credit to the creator and 2) keep the code free and open by releasing it under the same license:

License

Coloraise licensed under Creative Commons ShareAlike 4.0 International. -Amy Dubois, 2019.

About

Coloraise is for any site where it would be useful to allow the user to change the color of a page on a more granular level than the high contrast setting on Windows, and inverted color setting on Mac OS X. It allows the user to change the background, text, or heading color, and the font size. Similar to how the Bootstrap framework uses classes …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published