Typography test page for SilverStripe
Scheme PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_config
code Switch to using routes Mar 9, 2016
javascript
templates Switch to using routes Mar 9, 2016
.editorconfig
LICENSE
README.md
composer.json

README.md

Typography test page for SilverStripe

A simple extension (extending Page) to add a simple typography test page to see your website styles.

It includes a JavaScript function to add element titles to all elements in the test page to help you see what element is which.

Requirements

  • SilverStripe 3+ in dev environment

Installation

composer require axllent/silverstripe-typography

Usage

Install the module, run a ?flush=1 and access your website with /typo (eg: www.example.com/typo). Please note that your website must be in the dev environment for the route to be activated.

If you need a customised layout then add a Layout/Typo.ss template in your theme directory and

  <% include TypographySampleText %>