Themes & plugins Practical
Putting tokens into the theme with CSS custom properties
Declare the tokens in one :root block, have components reference nothing else, and the colour and spacing of the whole site move from a single file.
Technote
Choosing themes and plugins, vetting them, finding alternatives, and understanding their performance cost — what a wrong choice charges you later.
49 articles· Themes & plugins
Themes & plugins Practical
Declare the tokens in one :root block, have components reference nothing else, and the colour and spacing of the whole site move from a single file.
Themes & plugins Practical
Copy a parent file into your child theme and yours wins. It also stops receiving the parent's fixes — you have taken on its maintenance.
Themes & plugins Practical
These are not substitutes for each other; they are separate paths with different requirements. Overseas payment in particular brings a currency problem you should not solve by converting.
Themes & plugins Practical
A plugin runs inside your site with the same privileges you have. So the criterion is not the feature but the trust — and trust is checkable before…
Themes & plugins Practical
Choosing a colour each time you build a page produces ten sites inside one. Putting them in one global place removes the problem entirely.
Themes & plugins Intro
A plugin is not one feature — it is one maintenance liability. Install twenty at the start and you will never work out which one causes a problem.
Themes & plugins Practical
The default focus ring genuinely does not suit most designs. Delete it, though, and keyboard users lose their cursor entirely — the answer is to replace it, not…
Themes & plugins Practical
Re-declaring heading sizes at every breakpoint only adds maintenance. clamp() puts the minimum, the fluid middle and the maximum on one line and removes it.
Themes & plugins Practical
One CSS line stops Korean words splitting mid-word. That same line, in Japanese or Chinese, means "there is nowhere to break" — and produces horizontal scrolling.
Themes & plugins Intro
Eyeballing spacing puts 12, 13, 14 and 15 on the same screen. A scale makes the decision faster and tidies the layout for free.
Themes & plugins Intro
The same colour change can end up somewhere the next person finds it, or somewhere they never will. The criterion is discoverability, not taste.
Themes & plugins Practical
WooCommerce is a fine piece of software. It is also a great deal of machinery to maintain for a single one-off product. Start by naming what it actually…