Core v0.0.4 Github Repo

Colours

For accessibility reasons, please also note the colour of the text being used.

Backgrounds

Dark Background
#eaeaea
Light Background
#f4f4f4
Key Line
#dcdcdc

Buttons + Icons

Primary Buttons or icons
#0073c5
Secondary Buttons only
#eaeaea
Success Icons only
#6dbb00
Sky Go Icons only
#44ad3a
Remote Record Icons only
#ed1c24
Never Miss Icons only
#0077ae

Channels

Sky 1
#0076be
Sky Atlantic
#003663
Sky Arts
#734993
Sky Living
#87a0af
Sky Movies
#a51d4d

Shop

Original
#f05423
Family
#2b93d1
Movies
#b11d55
Sports
#d92027
Variety
#7d9d33

Typography

Primary Main page text
#333333
Secondary Supporting text i.e. legal
#666666
Inactive
#999999
Error i.e. Warnings or form errors
#D21717
Links
#0070a5

V3 Brand

Red
#ed1c24
Pink
#ed0677
Yellow Use primary text colour
#fdb913
Green Use primary text colour
#a6ce39
Blue Do not put text on top (it's not Accessible)
#00aeef

Typography

Only a single Page Title can exist on a page at one time. All other titles can be used multiple times.

When mixing SkyTextMedium and skyTextRegular weights, Medium should always come first.

Page Title (Sky Text Regular 52px 32px* )
Line-height 56px 36px*

Section Title (Sky Text Regular 44px 28px*)
Line-height 48px 32px*

Smaller Section Title (Sky Text Medium / Regular 36px 28px*)
Line-height 40px 32px*

Pod Title (Sky Text Medium / Regular 32px 28px*)
Line-height 36px 32px*

Smaller Pod Title (Sky Text Medium / Regular 28px 24px*)
Line-height 32px 28px*

Intro Copy (Sky Text Medium / Regular 24px 20px*)
Line-height 28px 24px*

Smaller Intro Copy (Sky Text Medium / Regular 20px)
Line-height 24px

Body text (Sky Text Medium / Regular 16px)
Line-height 20px

Instructional copy (Luna 24px)
Line-height 40px

Legal copy

Error

Secondary

Inactive

'Strong' tags go to medium automatically 'Small' text (relative to container)

Link to a different location (same page)

Link to a different page (with a chevron)

Text on dark background is white

Links next to normal text need chevrons

Text on light background is black

Links next to normal text need chevrons
  1. Ordered list item
  2. Ordered list item
  3. Ordered list item

Event

Live

event.live(events, selector, eventHandler);

You can JS events on elements that have been added to the page after the JS has been loaded.

Click here to trigger the 'live' event

Off

event.off(el, event, fn);

You can turn off events that were previously applied using the on method above.

clicking here will disabled the 'on' link below

On

event.on(el, event, fn);

You can listen for standard and custom (non-jQuery) JS events

This hasn't been clicked. click here to update

Ready

event.ready(fn);

You can detect when the document has finished loading everything except images:

Document is loading...

Resize-end

event.on(window, 'resizeend', fn);

You can know the moment (200ms) a user has finished resizing the browser

not re-sized.

Trigger

event.trigger(el, event);

You can trigger standard and custom (non-jQuery) JS events.

Click here to trigger the 'custom' event

Detect

The detect object allows you to check for a number of browser features and states.

CSS

You can detect many css style capabilities, including:

Touch

Detect if the device supports touch.