Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [incubator:Improvements.ColorThemesExtensions]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [incubator:Improvements.ColorThemesExtensions]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Color Themes Extensions

  • Difficulties in determine where textPrimaryColor and textSecondaryColor goes;

Needed Colors

Light Background Color

User profile bg, Watchlist, Import UI, etc.

  • #F7F7F7

Actions/Notification Colors

History Compare Versions

skin/skins/colibri/colibri.css
.diffremoveword ; .diffaddword
history.png

  • #CA9A9B
  • #287F00

Add Actions (Original Version)

xwiki/resources/js/xwiki/viewers/attachments.css
.add-file-input
attachments.png

  • #287F00

Boxes

skin/skins/colibri/colibri.css
.xwikirenderingerror
.errormessage, .warningmessage, .infomessage, .plainmessage
infoBox.png

  • Error: #E14726
  • Warning: #D5A13D
  • Info: #336699

Notification

xwiki/resources/uicomponents/widgets/notification.css
notifications.png

  • Info: #226688
  • Error: #AA0000
  • Warning: #FFDD88
  • Progress: #333333
  • Done: #116600

Groups

xwiki\resources\js\xwiki\usersandgroups\usersandgroups.css
#errMsg
group.png

  • #D70

Other

 

Code Macro

skin/skins/colibri/colibri.css
Syntax 1.0 .java-keyword, .java-object, .xml-tag, .sql-keyword, .java-quote
http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20

//valid
var x: Int = 1;
var s: String = "abcdefg";

//also valid
var x: = 1;
var s: = "abcdefg";

//also valid
var x: = 1
...
body {
    font-size: 13px;
    font-family: Arial, 'Times New Roman', sans-serif;
    width: 900px;
    margin: 0 auto;
    color: #303030;
   }
<?xml version="1.0"?>
<doc>
<tag argument="value">Content</tag>
 // Everything else, we just grab the value
   return (elem.value || "").replace(/\r/g, "");

   }

  return undefined;
  }

 if ( typeof value === "number" )
   value += '';

 return this.each(function(){
  if ( this.nodeType != 1 )
   return;
body {
    font-size: 13px;
    font-family: Arial, 'Times New Roman', sans-serif;
    width: 900px;
    margin: 0 auto;
    color: #303030;
   }

Panel Wizard Maquette

skin/skins/colibri/colibri.css

panelMachette.png

WYSIWYG Selection

xwiki/resources/js/xwiki/wysiwyg/xwe/stylesheets/Wysiwyg.css

selectMacro.png

Colors to add to the ColorThemeClass (DRAFT)

panelLinkColor (JIRA:XSCOLIBRI-159)

backgroundAlternativeColor TODO: find a better name (should this one be used for message boxes too?)

textColorAdd : "Add" links, added content in the version diff
textColorDelete : "Delete" links, deleted content in the version diff

notificationTextColor
notificationErrorBackgroundColor
notificationWarningBackgroundColor
notificationInfoBackgroundColor
notificationDoneBackgroundColor
notificationProgressBackgroundColor

messageErrorTextColor (for message boxes and other error messages in custom apps)
messageWarningTextColor
messageInfoTextColor
messageOKTextColor

Wysiwyg selection should use highlightColor.

panelLinkColor - agree

- we have primary/secondary naming. We have backgroundSecondaryColor, but miss backgroundPrimaryColor, though this naming is not very explicit either.

actionAddColor , actionDeleteColor

if we have only a solo notification's text color, than the Warning Color must be darker, so the white is seen correctly. 

  • Info
  • Error
  • Warning
  • Progress
  • Done