Color.module

skiquel's picture

Updated color.module demo

Updated color.module demo to new themes.

http://skiquel.com/lab/drupal-6/?q=node

skiquel's picture

color.module commits, example themes seperated

www.drupal.org/project/color_soc08

Size should be shrinked down a lot.

Additionally the contrib themes are linking to the color module. Those themes have been updated to support the keyed arrays when defining schemes. You are probably best observing yourself at the moment.

What is coming soon... The syntax for the color.module NG is going to be finalized. Then alpha/beta testing with proceed.

skiquel's picture

Code restructuring + UI rewrite in progress

Lots of documentation cleanup + stuff to ease people upgrading from D6 core's color.module.

  In Progress:
  - Restructuring of code for tiny core + extensions
  - Color interface rewrite
 
  Done:
  - Added messages.css to friendselectric
  - Created some features to catch errors, added a _color_page_alter() reminder
  - Created update schema for people upgrading from original color.module
  - Updated README installation instructions accordingly
  - Removed more old color.inc files
  - Updated markup for images
  - Updated settings from color.inc to hook_color.

skiquel's picture

New tag system

Commits #152714, #152712

  - Cleaned up documentation in some areas
  - New tag system
      Tags are now replaced by having a named tag after the attribute.
       
        Old usage:
          color: /* {{tag}} */#FFFFFF/* {{/tag}} */
         
        New usage:
          color: #FFFFFF; /* t:tag */
         
        Do not use spaces in tags, instead seperate words with -
          Example: body-color-tag
  - Added cleanstate-tag subtheme to demonstrate tag replacement

Reference http://drupal.org/node/325487

skiquel's picture

color = TRUE in theme info files, simplifying things.

Commits #149617, #148872

October 27, 2008
  - #324427 color_compatible rewritten, we're now searching for:
        color = TRUE
    inside theme (and eventually module) .info files.
  - color_list_colorable_themes() removed in lieu of supercharged color_list_themes().
  - Fixed bug with color_user not showing druplicon icons on non-color themes.
  - Tried to delete color.inc files.
  - Bugfix: Splender theme wouldn't work. Fixed outdated splender color info.
  - Bugfix: Fixed bug where user theme would not change from a colorized theme.

skiquel's picture

Color.module documentation, sprucing up, a vision for a style.module

Commits #148528, #148532

October 2008 --dev

  - #324502 Code cleanup by JohnAlbin
   (
    It leaves the user docs in README.txt and moves the rest to CHANGELOG.txt
    It removes all the tabs
    It removes all trailing spaces from the end of lines.
    It makes the indentation conistent.
    It removes the un-recommended VERSION from the .info files.
    It uses single quotes instead of double quotes where it makes sense.
    It uses double quotes to prevent escaping single quotes.

skiquel's picture

Pressing onward: hook_color(), color API, bug fixes..

I was thinking about taking a little time to decorate the site and add some graphics. However, for the moment I am really focusing on here. This is a mid-way commit of sorts.

I have been storing micro-commits over on my GitHub account. Very impressive service so far.

  October 1, 2008
    - Cleanstate completely rewritten w/ Zen and color.module.
    - Spooner rewritten w/ Zen and color.module
    - Splender rewritten w/ Zen and color.module
    - Simpla rewritten w/ Zen and color.module

skiquel's picture

Zen + Color.module + My themes

2 months ago I mentioned redoing my themes.

After having taken a peek into the Zen project and drinking the kool aid the syntax markup and quality is blue skies over here. Color.module and Zen work well in combination. :)

I will attach some before and afters.

Cleanstate: Before and After

skiquel's picture

Major commit: revamps, rehauls, tweaks

Refactored a lot of this code to be more extensible.

    (Major commit) Polishing, abstracting, extracting, opening, refining.
 
    Color.inc changes:
      - 'engine' is now 'replacement methods'
      - 'schemes' is now 'premade schemes'
      - 'fill' in images, the first array element will be the image extension to fill with.
        so far we go 'solid' and 'y-gradient'
       
    Revamped schema:
      {color} - Stores theme info
        |-----------------------------

skiquel's picture

New preview system, major code improvements, logo rehash (inside)

I've began work on making the logo again. The first kind looked rather nice but it's source file was kindy messy.

Also, many people may be used to seeing this "live preview" Garland has. This is very cool. However, it's complicated and can be done better. This is a full proof way to give a high quality preview for any type of scheme. Prior to this, there was an option for theme devs to provide custom previews, which was sort of unrealistic (I don't think they want to/or will do that)

A preview button creating a tmp scheme which is deleted. :)