Design tokens — Guide and instructions
Technical background
Edit the seven starter tokens for primary, secondary, background, text, spacing, radius and font, then inspect the preview.
Processing from input to output
JSON imports need all seven keys; CSS exports use the --qh- prefix and pixel spacing. This is not a converter for arbitrary nested token schemas.
Practical exceptions and limits
Validate output in the target environment. Formatting or conversion does not prove runtime correctness or security.
How to use it
Prepare the project and example settings to edit. Example: {"primary":"#1769e0","secondary":"#6b9dea","background":"#ffffff","text":"#172b4d","spacing":8,"radius":12,"font":"sans-serif"}
Adjust colors, spacing, radius and font or import token JSON; compare exported CSS variables with JSON values.
After running, check the result. --qh-primary: #1769e0; --qh-spacing: 8px; — syntax errors and data values
Compare the example and result
Input · Output
- Input
- colors, px, JSON
- Output
- CSS, JSON
Input and settings example
{"primary":"#1769e0","secondary":"#6b9dea","background":"#ffffff","text":"#172b4d","spacing":8,"radius":12,"font":"sans-serif"}Expected result example
--qh-primary: #1769e0;
--qh-spacing: 8px;Check the result
syntax errors and data values
Privacy and data processing
The normal operation runs in your browser without uploading the input or files to a remote processing service. Loading the page or its software assets can still use the network. Review any result before you copy, save or share it.
Frequently asked questions
What input formats does this tool use?
Input: colors, px, JSON.
Which example can I start with?
Input and settings example: {"primary":"#1769e0","secondary":"#6b9dea","background":"#ffffff","text":"#172b4d","spacing":8,"radius":12,"font":"sans-serif"} Expected result example: --qh-primary: #1769e0; --qh-spacing: 8px;
What should I check in the result?
Output: CSS, JSON. syntax errors and data values
What limitations should I know before using it?
Edit the seven starter tokens for primary, secondary, background, text, spacing, radius and font, then inspect the preview. JSON imports need all seven keys; CSS exports use the --qh- prefix and pixel spacing. This is not a converter for arbitrary nested token schemas. Validate output in the target environment. Formatting or conversion does not prove runtime correctness or security.
What is the procedure?
1. Prepare the project and example settings to edit. Example: {"primary":"#1769e0","secondary":"#6b9dea","background":"#ffffff","text":"#172b4d","spacing":8,"radius":12,"font":"sans-serif"} 2. Adjust colors, spacing, radius and font or import token JSON; compare exported CSS variables with JSON values. 3. After running, check the result. --qh-primary: #1769e0; --qh-spacing: 8px; — syntax errors and data values
Operator, technology and rights
Operator
4utoolhub
Interface and processing
The interface uses React and is built with Vite. Algorithms, libraries, WASM and models vary by tool. Check the tool’s guidance and processing policy for file transfer and storage scope.
File processing & server transferRights to your material
Process material you own or have permission to use. Third-party libraries, fonts and images retain their respective licenses; converting a file does not grant new usage rights.
Terms of useLocal browser processing does not imply automatic encryption or secure deletion. Review transfer, storage and privacy guidance before using sensitive material. Privacy policy
© 4utoolhub