blob: 135b5bcf132049bd57c2e0a28e8f111ea90e57f3 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Default styles (colors, padding, etc.) for each of the TerraThemeXXXSkin classes.
*/
{
TerraExpanderSkin : {
backgroundColor : 4,
titleBarBackgroundColor : 10,
titleBarBorderColor : 7,
titleBarColor : 12,
shadeButtonColor : 12,
disabledShadeButtonColor : 7,
borderColor : 7,
padding : 4
},
TerraRollupSkin : {
buttonColor : 1,
disabledButtonColor : 7,
spacing : 4,
buffer : 4,
fill : false,
headingToggles : true
},
TerraSeparatorSkin : {
// TODO: conflicts between SeparatorSkin and TerraSeparatorSkin
// color = defaultForegroundColor();
// headingColor = defaultForegroundColor();
font : { bold : true },
thickness : 1,
padding : [ 4, 0, 4, 4 ],
// These are from TerraSeparatorSkin
color : 7,
headingColor : 12
},
TerraTextAreaSkin : {
// TODO: conflicts here b/w TextAreaSkin and TerraTextAreaSkin:
// This is what TextAreaSkin says right now:
// color = defaultForegroundColor();
// selectionBackgroundColor = defaultForegroundColor();
// inactiveSelectionBackgroundColor = defaultForegroundColor();
// if (!themeIsDark()) {
// selectionColor = Color.LIGHT_GRAY;
// inactiveSelectionColor = Color.LIGHT_GRAY;
// } else {
// selectionColor = Color.DARK_GRAY;
// inactiveSelectionColor = Color.DARK_GRAY;
// }
// These were taken from TextAreaSkin (after the preceding code):
backgroundColor : 'null',
inactiveColor : 'GRAY',
margin : 4,
wrapText : true,
tabWidth : 4,
// But, the colors below were taken from TerraTextAreaSkin...
color : 1,
backgroundColor : 11,
inactiveColor : 7,
selectionColor : 4,
selectionBackgroundColor : 14,
inactiveSelectionColor : 1,
inactiveSelectionBackgroundColor : 9
}
/* More to come ... */
}