Search tools BM – Baca dalam Bahasa Melayu

Blogger Template Generator

Design a Blogger template in your colours and download a ready-to-install XML theme of 33.5 KB with no external scripts, with all 13 text colours checked against WCAG AA (4.5:1) in light and dark mode. Paste your current theme below to get a speed and SEO score out of 100 with the fix for each problem.

Rules verified By TBB Lite 1.0.1, CC BY 4.0How to installBaca dalam Bahasa Melayu

Design your Blogger template

Colours

Hex, rgb() or a CSS colour name.

All 14 colours
Individual colours (untick the palette option to edit)

Untick the palette option above to edit colours one by one.

Fonts and layout

17px
1140px
320px

Menu and footer

Accessibility check: WCAG 2.2 AA text contrast

All 13 text pairs pass WCAG AA in both modes.

TextModeColoursRatioAA
Body textLightAa #18181b / #ffffff17.71:1Pass
Text on cardsLightAa #18181b / #f6f6f716.40:1Pass
Dates and captionsLightAa #5b5b66 / #ffffff6.70:1Pass
Captions on cardsLightAa #5b5b66 / #f6f6f76.20:1Pass
LinksLightAa #dd002a / #ffffff5.11:1Pass
Links on cardsLightAa #dd002a / #f6f6f74.73:1Pass
Button textLightAa #ffffff / #e5002b4.80:1Pass
Body textDarkAa #ececf1 / #0f0f1216.25:1Pass
Text on cardsDarkAa #ececf1 / #1b1b2014.56:1Pass
Dates and captionsDarkAa #a1a1aa / #0f0f127.46:1Pass
Captions on cardsDarkAa #a1a1aa / #1b1b206.69:1Pass
LinksDarkAa #ff2d54 / #0f0f125.24:1Pass
Links on cardsDarkAa #ff2d54 / #1b1b204.70:1Pass

Audit your current Blogger theme

Blogger → Theme → More (▾) → Edit HTML, select all, copy and paste here, or open the backup .xml file. It is checked in your browser and never uploaded.

Example below: a typical older theme head.

35/100 Speed and SEO score · F

Theme file size0.5 KBPass
Render-blocking scripts in <head>2FailAdd defer to external scripts in <head>, or move them to just before </body>. Each blocking script delays the first paint.
jQueryYesFailReplace jQuery with plain JavaScript (document.querySelector, fetch, classList). It is about 30 KB of script most themes barely use.
Icon fontYesImproveSwap the icon font for a few inline SVG icons; an icon font downloads hundreds of icons to show a handful.
External stylesheets in <head>2ImproveEach external stylesheet blocks rendering. Inline the critical CSS in <b:skin>, use system fonts or font-display: swap, and drop unused libraries.
Canonical links2FailRemove the hand-written canonical tag: the all-head-content include already prints one on every page.
Meta descriptions1Pass
Mobile viewportNoFailAdd <meta content='width=device-width, initial-scale=1' name='viewport'/>: without it phones show a zoomed-out desktop page.
Article structured dataNoneImproveAdd one BlogPosting JSON-LD block on post pages (headline, dates, author, image).
Thin pages kept out of searchNoImproveMark search and label result pages noindex, follow so Google indexes your posts, not thin lists of them.
Lazy-loaded imagesNoImproveAdd loading='lazy' to thumbnails below the fold (never to the first image, which is usually the LCP element).
Blogger layouts version 3NoImproveThe theme uses Blogger's older layout engine. Themes on layouts version 3 get data:view, resizeImage and lighter default widgets.
Blogger's default widget CSS offNoImproveSet b:css='false' on <html> once your theme styles every widget, so Blogger stops adding its own default widget CSS.

Advertisement

How to make a Blogger template with this generator

  1. Pick a brand colour. The generator builds the page, card, text, caption, border and link colours for light and dark mode, with a hint of your hue in the greys.
  2. Choose fonts and widths. Every font is a system font stack, so nothing extra downloads and text appears immediately.
  3. Add your menu and footer links as Label | URL, one per line. Links that start with / stay on your blog.
  4. Check the preview on a phone and a desktop, in light and dark mode, on the home page and a post.
  5. Read the contrast table. If a pair fails, press Fix contrast: only lightness changes, never the hue.
  6. Download the theme XML and install it in Blogger (steps below). The page address keeps your design, so you can come back to it.

How to install the template on Blogger

  1. In Blogger, open Theme in the left menu.
  2. Back up first: click More (the arrow at the top right), then Backup and Download.
  3. Open the same menu, choose Restore, click Upload and pick tbb-lite-custom.xml.
  4. Open Layout to check the menu, sidebar and footer widgets, and upload a logo in the Logo / blog title section if you have one.
  5. Later changes: Theme → Customize → Advanced lists all 18 colours, fonts and widths.

Before you restore: a new theme replaces the old design. Posts and pages are safe, but widgets in sections the new theme does not have can be removed. Keep the backup and copy any HTML widget code you need. For a blog with many custom widgets, try the theme on a spare test blog first. This tool is not affiliated with Google or Blogger.

Worked example: one brand colour, three safe colours

Links are text, so they need 4.5:1 on cards as well as on the page. The generator keeps your brand for buttons and borders and adjusts only what fails:

Colours the generator picks, with contrast on the card background
BrandLink, light modeLink, dark modeButton text
#e5002b#e2002b (4.55:1)#ff1c46 (4.55:1)#ffffff (4.80:1)
#2563eb#2563eb (4.78:1)#497eef (4.56:1)#ffffff (5.16:1)
#16a34a#12833c (4.58:1)#16a34a (5.00:1)#000000 (6.37:1)
#f59e0b#9f6507 (4.56:1)#f59e0b (7.79:1)#000000 (9.77:1)
#ffeb3b#807300 (4.56:1)#ffeb3b (13.38:1)#000000 (17.19:1)

This check found a real problem in our own theme. In TBB Lite 1.0.0 the brand red #e5002b was also the link colour: 3.97:1 on the dark background, 3.56:1 on dark cards and 4.45:1 on light cards, all under 4.5:1. Version 1.0.1 added separate link colours, #dd002a (4.73:1) and #ff2d54 (4.70:1).

Advertisement

What the theme audit checks

Each check has a weight; a pass earns the full weight, "Improve" earns half. The score is out of 100.

The 13 checks and their weights
CheckWeightPass · ImproveWhy it matters
Theme file size10≤ 100 KB · ≤ 200 KBBig files load slowly and are hard to maintain
Render-blocking scripts in <head>150 · 1Each external script without defer delays the first paint
jQuery10—About 30 KB of script that is rarely needed
Icon font5—Downloads hundreds of icons to show a few
External stylesheets in <head>10≤ 1 · 2Each external stylesheet blocks rendering
Canonical links101One canonical URL per page
Meta descriptions51Your summary in search results
Mobile viewport10✓Without it phones show the desktop version
Article structured data51One article entity per post
Thin pages kept out of search5✓Label and search pages are thin lists
Lazy-loaded images5✓Images below the fold load when needed
Blogger layouts version 353Blogger's current layout engine
Blogger's default widget CSS off5b:css='false'Skips default widget CSS you do not use

The example at the top audits this typical older theme head, which scores 35 (F). TBB Lite scores 100.

<?xml version="1.0"?><html b:version='2' xmlns:b='http://www.google.com/2005/gml/b'><head>
<b:include data='blog' name='all-head-content'/><link rel='canonical' href='x'/>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js'></script><script src='https://example.com/slider.js'></script>
<link href='https://fonts.googleapis.com/css2?family=Poppins' rel='stylesheet'/><link href='https://use.fontawesome.com/releases/v6/css/all.css' rel='stylesheet'/>
<b:skin><![CDATA[body{}]]></b:skin></head><body></body></html>

Blogger keeps one tag per b:if branch, so several canonical or description tags can still mean one per page; the audit asks you to check those instead of failing them. The only certain duplicate is a hand-written tag next to <b:include name='all-head-content'/>, because that include prints its own.

Theme Designer settings in the file

The 18 variables you can change later in Theme → Customize → Advanced
VariableControlsDefault
brand.colorBrand colour#e5002b
brand.inkText on brand colour#ffffff
link.colorLinks#dd002a
page.bgPage background#ffffff
surface.bgCard and header background#f6f6f7
text.colorText#18181b
muted.colorDates and captions#5b5b66
line.colorBorders#e4e4e7
dark.bgDark page background#0f0f12
dark.surfaceDark card background#1b1b20
dark.textDark mode text#ececf1
dark.mutedDark mode muted text#a1a1aa
dark.lineDark mode borders#2e2e35
dark.linkLinks#ff2d54
body.fontBody fontnormal 400 17px system-ui, -apple-syst…
heading.fontHeading fontnormal 700 16px system-ui, -apple-syst…
content.widthMaximum page width1140px
sidebar.widthSidebar width320px

Font choices

System font stacks use fonts already on the reader's device, so there is no font download and no flash of invisible text.

Font stacks and how they look on this device
OptionSampleStack
System sans (fastest)Monthly budget RM2,500system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif
Humanist sansMonthly budget RM2,500Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif
Book serifMonthly budget RM2,500Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif
Rounded sansMonthly budget RM2,500ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', Calibri, sans-serif
Monospace (tech blogs)Monthly budget RM2,500ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace

Sources

Frequently asked questions

Is this Blogger template really free?

Yes. The generator outputs TBB Lite 1.0.1, an original theme released under CC BY 4.0: you can use and change it on personal and commercial blogs as long as the footer credit stays or you credit the author elsewhere on the blog. The file is 33.5 KB with no jQuery, web fonts or external scripts.

How do I install the downloaded template on Blogger?

First back up your current theme: in Blogger open Theme, click More (the arrow at the top right), then Backup and Download. Then use the same menu, choose Restore, click Upload and pick tbb-lite-custom.xml. Finally open Layout to check the menu, footer and sidebar widgets.

Will I lose my posts if I change the template?

No. A theme only controls the design; posts, pages, comments and labels stay where they are. Widgets in sections that the new theme does not have can be removed, so download the backup first and copy any HTML widget code you want to keep. Test on a spare blog if your current theme has many custom widgets.

Why did the generator change my link colour?

Links are text, so WCAG 2.2 AA needs 4.5:1 against every background they sit on. A bright brand colour often fails: yellow #ffeb3b on white is about 1.2:1, so the generator keeps it for buttons and borders and darkens only the link colour to #807300 (4.80:1), with #000000 button text. The hue never changes.

What does the Blogger theme audit check?

13 weighted checks that add up to 100: file size, render-blocking scripts in the head, jQuery, icon fonts, external stylesheets, duplicate canonical or meta description tags, the mobile viewport, article structured data, noindex on search and label pages, lazy-loaded images, layouts version 3 and b:css false. A typical older theme head scores 35; TBB Lite scores 100.

Is my theme uploaded when I run the audit?

No. The audit and the generator run entirely in your browser; the pasted XML never leaves your device. The only file this page downloads is the TBB Lite theme itself, from this site, to build your copy and the preview.

Can I change colours and fonts later without this tool?

Yes. All 18 settings are Blogger Theme Designer variables, so after installing open Theme, click Customize, then Advanced to change any colour, font or width. Values you chose here appear as the starting point, and the Reset button in Blogger returns them to your generated design.

Advertisement