Skip to content

Latest commit

 

History

History
146 lines (89 loc) · 2.01 KB

TEMPLATES.md

File metadata and controls

146 lines (89 loc) · 2.01 KB

React New Tab CSS Templates

This is a place to find CSS templates for React new tab.

Please feel free to add your template by creating a pull request to the master branch.


List of predefined templates


Rounded thumbnails

Changes the shape of icons to be a rounded square.

Code

.thumbnail{

  border-radius: 20%;
}

Screenshot

Rounded thumbnails screenshot

NOTE: If you need a different shape, please refer to the border-radius css property. Documentation is available here.


Blank page

Show a blank page as the new tab

Code

.container{
 display: none;
}

Screenshot

Blank page


Solarized light

Solarized light theme

Code

body{
 background-color: #FDF6E3;
}

.text{
 color: #2aa198;
}

Screenshot

Solarized light theme


Tomorrow Night

Tomorrow Night theme

Code

body{
 background-color: #1D1F21;
}

.text{
 color: #C5C8C6;
}

.thumbnail{
 border-color: #AEAFAD;
}

Screenshot

Tomorrow night theme


No Icon borders

Do not have a border for the icons.

Code

.thumbnail{
 border-style: none;
}

Screenshot

without icon borders


Background Image

Load a random background image from unsplash.com

Code

body{
  background-image: url('https://source.unsplash.com/random/1920x1080');
  background-attachment: fixed;
  background-repeat: no-repeat;
}

Screenshot

New tab with background