Skip to content

scro34/GraydientTheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the «GraydientTheme»

The «GraydientTheme» mainly relies on CSS techniques in order to create the appearances of widgets. This makes it rather lightweight and the rendering of GUI elements shows almost no delays.

In the current version of «Graydient» a lot of items have changed compared to the earlier version of 2011. Some people might even say that it's not the same theme anymore. Nevertheless, I hope a few people like it and consider using it in one of their applications.

How to use «GraydientTheme»

  1. Download the theme files and unzip the contents into an appropriate folder named "GraydientTheme" on your local machine. (Recommendation: Put the theme outside of the qooxdoo SDK folder, but on the same directory level.)

  2. Modify the contrib.json file of your application by adding «GraydientTheme» as a library, e.g.

[...]
"jobs" :
{
  "libraries" :
  {
    "library" :
    [
      {
        "manifest" : "../GraydientTheme/Manifest.json"
      }
    ]
  }
}
[...]
  1. Change the QXTHEME key in config.json to "graydienttheme.theme.Theme". This way the theme of your application is replaced by «GraydientTheme». The downside to this approach: If you want to modify and/or extend the "graydient" appearance of your application you have to do this directly in the «GraydientTheme» theme files which may later lead to subtle bugs or strange side effects. You might, therefore, want to invest a few more minutes, leave the QXTHEME key in config.json untouched and let your predefined application theme inherit from «GraydientTheme» instead of being replaced by it. To do this, go to the theme folder of your application and modify Appearance.js, Color.js, Decoration.js and Font.js as shown in this example:
qx.Theme.define("myapp.theme.Appearance",
{
  //extend : qx.theme.modern.Appearance,
  extend : graydienttheme.theme.Appearance,

  appearances :
  {
  }
});

Now you can safely add new appearances, decorators, colors and fonts, or overwrite existing ones.

  1. Generate your application and your are done.

About

Another theme for qooxdoo applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published