TalkRadio

Minimal Styling for Show Notes.io

 

Usage

In your Terminal:

bower install ssh://git@github.com/doches/shownotes-theme.git --save

In your less:

@import "../../bower_components/shownotes-theme/src/less/variables.less";

body {
  font-family: @text-family;
  padding: @grid-size;

  // and so on...
}

Develop using Gulp:

  npm install
  gulp dev

  // hackhackhack

Colours

Colours are exported as LESS variables; use 'em as you would hex codes. Example:

h1 {
  color: @red2;
}
red1#E55B5D
red2#D85658
red3#BE4C4E
red4#983D3E
red5#582324
blue1#546EF1
blue2#5068E4
blue3#465BC8
blue4#3A4BA4
blue5#232E64
purple1#CA5EFB
purple2#C059EE
purple3#AA4FD2
purple4#8D41AE
purple5#59296E
orange1#FEA256
orange2#F19A52
orange3#D58849
orange4#B1713C
orange5#714927
yellow1#F3D668
yellow2#E6CB63
yellow3#CAB357
yellow4#A69348
yellow5#665A2C
green1#6ED769
green2#67CA63
green3#59AE55
green4#468A44
green5#264A25
grey1
grey2
grey3
grey4
grey5
grey6
grey7
grey8
grey9
black
white
 

Form Elements

Buttons

Apply the sn-button class to your buttons or links for shared button styling, plus an optional intent class for custom colours.

<button class="sn-button sn-intent-success">Submit</button>

Default

Disabled

Small

Add class="sn-button-small" for slightly smaller buttons.

Input

Apply the sn-form class to your form, then nest everything inside sn-form-row to keep everything on a common baseline.

<form class="sn-form">
  <div class="sn-form-row">
    <label>
      Normal
      <input type="text" class="sn-input" placeholder="Placeholder" />
      <button class='sn-button sn-intent-success'>Submit</button>
    </label>
  </div>
</form>

Typography

Normal text

Nunc eget velit commodo, porta metus non, molestie ligula. Nullam enim nisi, lobortis sit amet odio id, sollicitudin hendrerit sapien.

Large text

Use the text-large class to get clean, large copy. In leo purus, consequat eget faucibus id, congue at velit.

Small text

Similarly, use text-small for the fine print.

In nec magna a felis iaculis suscipit quis eget massa. Aenean semper lectus eu risus auctor vulputate. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Fusce non ultrices justo. Maecenas dui justo, posuere ut volutpat et, luctus non turpis. Nulla augue odio, porttitor sed ipsum non, eleifend ultricies tellus. Fusce facilisis est in ex mattis tincidunt. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc ut ante vehicula, viverra nunc et, facilisis ipsum. Duis malesuada est vitae venenatis egestas. Maecenas in scelerisque nunc, luctus tempor mi. Sed urna ligula, efficitur ac iaculis id, hendrerit sed orci.