#Layout Scout
Layout Scout is a visual aid for building responsive layouts.
Layout Scout will sniff out the content blocks in your markup and inject random background colours to those blocks. Simply toggle the button on and off to apply/remove the colours. No more hunting through your stylesheet (or dev tools) to apply temporary background colours to your content selectors.
- Files needed:
layoutscout.js
main.js
- Call jQuery and add the .js files to your document before your closing body tag (the order is important):
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="layoutscout.js"></script>
<script src="main.js"></script>
Not all designs follow the pattern of dark text on a light background. As such Layoutscout comes with 4 colour palettes to choose from:
- Light Colours - Ideal for dark text / light backgrounds (the default)
- Dark Colours - Ideal for light text / dark backgrounds
- Light Mono - Colour blocks are based on shades of grey up to 50% (if you prefer to have your content highlighted without colour)
- Dark Mono - Colour blocks are based on shades of grey from 50% to 100% (if you prefer to have your content highlighted without colour)
To choose your colours simply uncomment the one you want:
$(function() {
// Uncomment your chosen color option
$().layoutScout({
color: 'lightColours'
// color: 'darkColours'
// color: 'lightMono'
// color: 'darkMono'
});
});