tilefolio How to build Français

How to build

Steal a look from a Tilefolio site

A Tilefolio look is hackable: anyone can read it and reuse it. You like how another artist's Tilefolio site looks: its colours, its fonts, the corners of its tiles? Its look is written in the page's source, like a recipe left in plain sight. Copy it, paste it in your own site: it is yours to change after.

What a look is

A look is a short code that starts with TFLOOK1. It holds only the site's appearance settings: background and text colours, link colour, fonts, text size, rounded corners, gap and hover effect of the tiles, the sizes of the header, the layout. Never pictures (the banner and the background stay each site's own), texts, tiles or anything else about the site, and nothing that tells which site it comes from.

Find the look in a site's source

Every Tilefolio site carries its look code in the source of its pages, in a friendly comment near the top. Nothing is shown on the page itself.

  1. Open the site whose look you like.
  2. Open its page source. On a computer: Ctrl+U (Windows, Linux, Chrome, Firefox) or ⌥⌘U (Chrome and Firefox on a Mac; in Safari, turn on the Develop menu in its settings first, then Develop, Show Page Source). Or type view-source: in front of the address, for example view-source:https://some-artist.tilefolio.com/. On a phone, type view-source: in front of the address in the browser's address bar (Chrome and Firefox on Android do it). iPhone's Safari has no source viewer: open the site on a computer, or look it up in your browser's desktop version.
  3. Near the top, find the comment Hello, curious one! This site's look, as a Tilefolio look code: TFLOOK1.… (use the search of the source page, Ctrl+F, and type TFLOOK1).
  4. Select the code, from TFLOOK1. to its end (one long word without spaces), and copy it.
A site's page source, with the look code in a comment near the top
The page source of a Tilefolio site: the look code, in the comment at the top.

The same code is in a <meta name="tilefolio-look"> tag, for tools.

Paste it in your site

  1. On your own site, in edit mode, click Look to open the panel.
  2. Click Paste a look, and paste the code in the box. The page shows the look right away, without saving it.
  3. If you like it, click Keep this look; otherwise Cancel, and your site stays as it was.
The Look panel with a look code pasted: the page shows the look, with the Keep this look and Cancel buttons
The page shows the pasted look before you keep it.

Wearing a look replaces the appearance settings listed above, only the ones the code carries; the others stay as your site has them. (Default look is what puts everything back.) Your pictures, texts and tiles do not change. If a value of the code is not one Tilefolio accepts, or if the text would be hard to read on the new background (4.5:1 contrast at least), nothing is changed and the panel tells you why. A field Tilefolio doesn't know is left out, and the panel lists it.

Changed your mind

Previous look puts back the look you wore before the last paste (or reset), even after you have closed the panel. Reset look goes back to the default look (black background, white text). Copy my look puts your own look's code on the clipboard, to send it to a friend or to keep it.

Why in the source

Looks are public anyway: they are in every page's styles. Hiding them behind a button would add nothing. So the code is simply there, for the curious, and there is nothing to switch on or off on your side.