Other posts related to Themes
"Helsinki Gray" UI16 Theme
Istanbul Theme Properties Visual Guide
Jakarta Theme Properties Visual Guide
We are talking about Themes once again in this post, this time for the Kingston release.
Test Theme Record
Here is everyone's favorite Theme record, updated for Kingston:
/* Kingston Test
Created by Jim Coyne - https://community.servicenow.com/people/jim.coyne
This is to help show what elements are affected by the CSS colors - PLEASE, PLEASE, PLEASE DO NOT ACTUALLY USE THIS THEME FOR REAL :-)
It uses HTML color names to hopefully make it a little easier to understand and find the color
The comments include a copy of the UI16 default value for Kingston:
https://docs.servicenow.com/bundle/kingston-servicenow-platform/page/administer/navigation-and-ui/reference/r_DefaultCSSStyle.html
Refer to this post for more information:
https://community.servicenow.com/community/develop/blog/2017/11/22/kingston-theme-properties-visual-guide
*/
/* Mostly Banner */
$navpage-header-bg: DodgerBlue /* #303a46 - banner background */
$navpage-header-color: Aqua /* #ffffff - banner frame title text + Domain and Encryption Context picker icons */
$navpage-header-button-color: Coral /* no default, not documented - logged-in user name + Connect, Help and Settings icons */
$navpage-header-divider-color: FireBrick /* #455464 - banner separator line */
$navpage-button-color: BlueViolet /* #fff - Update Set and Application icons + Navigator icons + Connect icons */
$navpage-button-color-hover: Yellow /* #7EC24F - banner icons + clear search text icons + Navigator buttons when clicked */
/* Mostly Navigator */
$navpage-nav-bg: BurlyWood /* #303a46 - Navigator and Sidebar header and footers + unselected Navigator and Connect tabs background + History time separator background */
$navpage-nav-bg-sub: Pink /* #455464 - Navigator and Sidebar backgrounds + background for Applications, Favorites and History entries */
$nav-highlight-main: LightSkyBlue /* #3D4853 - Module, Favorite, History, Connect and Help item when clicked */
$subnav-background-color: SlateGray /* #455464 - Module background */
$navpage-nav-app-text: Black /* #cfd4d8 - Application, Favorite and History text + Connect and Help text */
$navpage-nav-color-sub: Tomato /* #bec1c6 - Module text */
$navpage-nav-app-text-hover: DarkTurquoise /* no default, not documented - Selected Module, Favorite, History, Connect and Help item text */
$navpage-nav-selected-bg: Olive /* #4B545F - Selected Navigator and Connect tab background */
$navpage-nav-selected-color: OrangeRed /* #ffffff - Active Navigator and Connect tab icons */
$navpage-nav-unselected-color: Orange /* #bec1c6 - Inactive Navigator and Connect tab icons */
$navpage-nav-border: Magenta /* #ddd - Global Search, Navigator and Connect search box outlines + search box filter icons */
$nav-hr-color: YellowGreen /* #303a46 - Separator modules without a label + Vertical separator line between main frame and Navigator/Sidebars */
$nav-highlight-bar-active: Red /* #278efc - Highlight line under active Navigator/Connect tabs + selected Connect, Help or Settings icon + number of Connect messages dot */
$nav-highlight-bar-inactive: PaleGoldenRod /* #828890 - Highlight line under inactive Navigator/Connect tabs */
/* Search text */
$search-text-color: LightGreen /* #e7e9eb - Search text + clear search text icons + Navigator bar filter icon when minimized */
/* unknown properties, listed as a default on the docs site */
$connect-latest-message: Violet /* #cfd4d8 */
Just like the previous test Themes, it is not meant for actual use, but to help point out what properties affect what controls.
I used the default values from the "Default CSS styles for UI16" section from the Default CSS styles article on the docs site to build the Theme. Below is a list of the individual properties with screenshots to show the affected controls/areas, which appear in yellow.
I've also listed any changes from Jakarta as well as some note/comments/opinions.
$navpage-header-bg - #303a46
$navpage-header-color - #ffffff
Change from Jakarta:
Notes:
$navpage-header-button-color (#ffffff, not listed in the Default CSS styles article)
Changes from Jakarta:
Notes:
$navpage-header-divider-color - #455464
$navpage-button-color - #ffffff
Notes:
$navpage-button-color-hover - #7ec24F
Notes:
$navpage-nav-bg - #303a46
$navpage-nav-bg-sub - #455464
$nav-highlight-main - #3D4853
Notes:
$subnav-background-color - #455464
$navpage-nav-app-text - #cfd4d8
Notes:
$navpage-nav-color-sub - #bec1c6
$navpage-nav-app-text-hover (unknown default, not listed in the Default CSS styles article)
Notes:
$navpage-nav-selected-bg - #4b545F
$navpage-nav-selected-color - #ffffff
$navpage-nav-unselected-color - #bec1c6
$nav-highlight-bar-active - #278efc
$nav-highlight-bar-inactive - #828890
$nav-hr-color - #303a46
$navpage-nav-border - #dddddd
$search-text-color - #e7e9eb
Updates
I'll try to keep this post updated with anything new that I find. Please let me know if I've missed anything, or if something is incorrect. I started this article based on the Jakarta one, so please forgive any copy/paste errors (but let me know about any). Thanks in advance.
Updated Thursday, March 15, 2018
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.