Skip to content

This repository is a simple collection of styles created and/or modified by myself and/or the AJAX Chat community.

License

Notifications You must be signed in to change notification settings

gWorldz/AJAX-Chat-Styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AJAX Chat Styles

This repository is a simple collection of styles created and/or modified by the AJAX Chat community.

The layout of AJAX Chat (https://github.com/Frug/AJAX-Chat) developed by Frug (https://github.com/Frug) is fully customizable by using CSS (Cascading Style Sheets).

Included Styles

Minimal example Lost In Space
Minimal Preview example Preview Lost In Space Preview

Installing Styles

To install one of these styles in AJAX Chat, do the following:

  • Download the style folder from GitHub
  • Upload the folders contents to your css/ directory
  • Add the name of the style without file extension to the available styles in lib/config.php:
// Available styles:
$config['styleAvailable'] = array('mystyle','beige','black','grey');
// Default style:
$config['styleDefault'] = 'mystyle';

Designing Styles

To add your own style, do the following:

  • Add a new CSS file (e.g. mystyle.css) by copying one of the existing styles from the AJAX Chat CSS directory or other AJAX Chat Styles.
  • Edit your file (css/mystyle.css) and adjust the CSS settings to your liking.
  • Add the name of your style without file extension to the available styles in lib/config.php:
// Available styles:
$config['styleAvailable'] = array('mystyle','beige','black','grey');
// Default style:
$config['styleDefault'] = 'mystyle';

The example style is a blank canvas with some commonly used CSS and is a great start for custom styles.

Contributing Styles

If you are interested in contributing your style to this AJAX Chat Styles repository:

  1. Fork the repository.
  2. Add your style - make sure you maintain the example style structure.
  3. Commit changes.
  4. Push your commit.
  5. Create a Pull Request.

NOTE: Contributors are responsible for verifying the images license and displaying a link as proof of verification in the file that calls them. It is recommended that contributors create their own images or use creative commons or public domain images.

Example Style Structure

FILES REQ. DESCRIPTION
example.css Yes This is where we import required AJAX Chat styles and add our custom CSS styles.
example.jpg No This 800x640 screenshot uses the name of our style and serves as a large preview.
license.txt No The license for the style, if omitted the Modified MIT license included with AJAX Chat Styles will be used.
preview.jpg No This 200x160 preview is used for the AJAX Chat Styles README.md
example_images No This folder uses the name of our style followed by "_images" and is for images/files required by the theme

Changelog

0.0.1 Initialising

About

This repository is a simple collection of styles created and/or modified by myself and/or the AJAX Chat community.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages