History: What Is a Design System - Slideshow
Source of version: 7
Copy to clipboard
{HTML()}<style>.tiki-question {
background-image: url(display552);
background-repeat: no-repeat;
background-position: center;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
font-size: 120px;
}</style>{HTML}
{slideshow theme="beige" transition="fade" transitionSpeed="default" backgroundTransition="none" controls="y" controlsLayout="bottom-right" controlsBackArrows="faded" progress="y" slideNumber="y" fragments="y" fragmentClass="grow" fragmentHighlightColor="none" autoSlideStoppable="y" alignImage="n" headingLevelSlideSeparator="1" textside="none" speakerNotes="y"}
! What is a design system?
and could it be useful for Tiki?
{HTML()}<h1 class="d-inline-block align-bottom">My journey <span class="fs-4 ms-4">Curiosity ➡️ Research ➡️ Trial and Error with Copilot ➡️ Working Design System</span></h1>{HTML}
{DIV(class="text-center")}{HTML()}<img src="display545" style="height: 60vh; width: auto;">{HTML}{DIV}
~tc~{DIV(class="text-center")}{img fileId="5" class="img-fluid"}{DIV}~/tc~
! The design system is the Single Source of Truth . . .
{DIV(class="text-center")}
. . . for describing and communicating design information
Product goals and user needs are determined.
↓
Product team + researchers
share requirements and findings.
↓
Designers use the system
__(tokens, components, patterns, guidance)__.
↓
They produce designs and specifications.
↓
Developers use the same system
(code components, tokens, documentation)
↓
To implement the product
↓
Followed by design QA + user feedback + product data.
↺
{DIV(type="p")}Designers, developers, and product team propose improvements to the system.{DIV} {DIV}
! The parts of a design system
{DIV(class="text-center")}{img fileId="546" class="img-fluid"}{DIV}
! Design Tokens W3C Community Group
{QUOTE()}
The Design Tokens W3C Community Group (DTCG) is a community of designers, developers, and tooling vendors standardizing how design tokens are defined and exchanged. We steward the Design Tokens specification so teams can share visual language reliably across design tools, codebases, and platforms.
By collaborating in the open, we collect real-world use cases, document best practices, and publish technical reports that help an ecosystem of tools stay interoperable.
{QUOTE}
View the specification at [https://www.designtokens.org/tr/2025.10/].
{DIV(class="text-end")}(Source: [https://www.designtokens.org/]{DIV}
! Could it be useful for Tiki?
{HTML()}<div class="tiki-question">?</div>{HTML}
! Potential Tiki design-system resources
{DIV(class="text-center")}{img fileId="547" class="img-fluid"}{DIV}
I'm not suggesting that a design system be used to develop Tiki. I'm proposing that the Tiki project could provide the few scripts and documentation for Tiki-using companies, organizations and individuals to create their own design systems.
! Design Tokens - the heart of the design system
{DIV(class="row")} {DIV(class="col-sm-4")}
A token with these attributes:
|| Attribute | Value
Layer | semantic
Category | color
Family/Scope | brand
Variant | primary ||
{DIV}{DIV(class="col-sm-4")}
Is formatted in tokens.json like:
~pp~
{
"semantic": {
"color": {
"brand": {
"primary": {
"$value": "{global.color.teal.500}"
}
}
}
}
}
~/pp~
{DIV}{DIV(class="col-sm-4")}
and the token path is visible %%% by following the nesting:
~pp~
semantic
└─ color
└─ brand
└─ primary
~/pp~
{DIV}{DIV}
{DIV(class="text-center m-4")}which yields: -+semantic.color.brand.primary+- . ⬅️This is the token name, by the way. {DIV}
! Global tokens
There usually are at least three layers of tokens. The first of these is global. In this example -
Descriptive color families:
~pp~
global.color.red.500
global.color.orange.500
global.color.yellow.500
global.color.green.500
global.color.teal.500
global.color.blue.500
global.color.purple.500
global.color.pink.500
global.color.gray.500
~/pp~
These answer the question: What are the actual colors? (The value is a color hex code, etc.)
! Semantic tokens
This is the second layer of tokens. It contains intent-based names:
~pp~
semantic.color.brand.primary
semantic.color.brand.secondary
semantic.color.feedback.success
semantic.color.feedback.info
semantic.color.feedback.warning
semantic.color.feedback.danger
semantic.color.tone.light
semantic.color.tone.dark
~/pp~
These answer: Why are we using the color? (The value is the name of a global token.)
! Component tokens
This is the third layer of tokens. It contains usage names:
~pp~
component.color.button.surface
component.color.button.text
component.color.code.surface
component.color.navbar.surface
~/pp~
These answer: Where is the color used? (The value is the name of a, preferably, semantic token, or a global token.)
! Goals for this Tiki design system implementation
{DIV(class="text-center")}{img fileId="551" class="img-fluid"}{DIV}
This isn't a Figma-level design system that covers every page element detail.
But it doesn't just simplistically feed values to Bootstrap.
It's kind of mid-level and can provide values to Bootstrap as well as output Tiki SCSS variables and any CSS variables.
! Working with Copilot
Excerpt from typical Copilot chat:
{DIV(class="text-center")}{HTML()}<img src="display548" style="height: 50vh; width: auto;">{HTML}{DIV}
Acknowledging here that
- AI is a mixed blessing.
- Though occasionally frustrating, for me the process has been mostly enjoyable and productive.
- The bottom line: Copilot enabled me to do things I couldn't have done alone.
! Evolution of my process
➡️ In the beginning, edited tokens.json files manually or with Copilot.
➡️ Later wanted to identify Bootstrap variables typically overridden by themes.
➡️ Used a spreadsheet to record that information.
➡️ Realized a spreadsheet or similar could be useful as a tool to maintain tokens.json.
➡️ Developed, with Copilot, a script to generate the tokens.json file from the spreadsheet file.
! What new files does this design system need?
!! Provided by the theme author (for each design-system-processed theme)
🗃️ a tokens.json file
🗃️ a spreadsheet file (or soon, a CSV file or Tiki Tracker) if this method is used to create/maintain the tokens.json file
!! Provided by Tiki
⚙️ New: generate_tokens.py - Generates a tokens.json file from an Excel spreadsheet (.xlsx file) or (soon) a CSV file
⚙️ New: build-tokens.mjs - Generates a /scss/tokens.scss file and /scss/design-system-css-vars.scss file from a tokens.json file.
⚙️ New and modified: several .php and .tpl files are added or modified for the L&F Design System tab.
⚙️ (I need to check about any others. The methods have evolved and I'm not sure which files in this project are obsolete and which are still used.)
⚙️ Optionally, a design-system-processed theme to be a model (I used Amelia).
! Let's look at the files and results
in:
💠Editor (VS Code)
💠Web browser (Edge)
💠Spreadsheet (Excel)
! Conclusion
{DIV(class="text-center")}{HTML()}<img src="display549" style="height: 80vh; width: auto;"><div class="fs-4 mt-3">What's next on this journey? 😊</div> {HTML}{DIV}
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Mon 30 of Nov, 2026 06:37 UTC Gary Cunningham-Lee Added link to TRM recording. | 15 | |||||
| Mon 30 of Nov, 2026 05:36 UTC Gary Cunningham-Lee Break tags needed after I activated "Allow HTML. | 14 | |||||
| Mon 30 of Nov, 2026 05:32 UTC Gary Cunningham-Lee Text-centered section wasn't centered. | 13 | |||||
| Mon 30 of Nov, 2026 05:14 UTC Gary Cunningham-Lee Page displays without PluginHTML. | 12 | |||||
| Mon 30 of Nov, 2026 05:11 UTC Gary Cunningham-Lee Trying without PluginHTML to see if page displays. | 11 | |||||
| Mon 30 of Nov, 2026 05:02 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 10 | |||||
| Mon 30 of Nov, 2026 05:02 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 9 | |||||
| Mon 30 of Nov, 2026 05:01 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 8 | |||||
| Mon 30 of Nov, 2026 05:00 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 7 | |||||
| Mon 30 of Nov, 2026 05:00 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 6 | |||||
| Sun 29 of Nov, 2026 13:52 UTC Gary Cunningham-Lee Content uploaded from localhost and image display IDs updated. [Rollback by chibaguy to version 1] | 5 | |||||
| Mon 30 of Nov, 2026 04:41 UTC Gary Cunningham-Lee Removed all content but one line to see if 500 error continues. | 4 | |||||
| Mon 30 of Nov, 2026 04:39 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 3 | |||||
| Mon 30 of Nov, 2026 04:38 UTC Gary Cunningham-Lee Reducing page content to try to find reason for 500 error. | 2 | |||||
| Sun 29 of Nov, 2026 13:52 UTC Gary Cunningham-Lee Content uploaded from localhost and image display IDs updated. | 1 | |||||