| name | style-pastel |
| description | Pastel style tokens and row template for the list-styling skill. Soft candy colors, inverted badges (light bg + dark text), rounded cards with a tinted left panel that matches the status hue. Friendly and approachable. Use when the user says "pastel," "soft colors," "candy," "friendly," "approachable," or similar. |
Pastel โ Style Tokens + Row Template
Soft, friendly, candy-colored. Inverted badges (light tint bg, dark colored text). Each card has a soft tinted left panel matching the status hue โ the whole left side blushes with the status color.
Layout philosophy: Tinted panel card. A soft-colored left panel (about 80px wide) shows the progress percentage in the status's dark color. The panel's background is the status's lightest tint. The rest of the card is white with stacked metadata. Feels warm and inviting.
Badge Tokens (inverted โ light bg, dark text)
- padding:
5px 14px
- border-radius:
10px
- font-size:
12px
- font-weight:
600
- text-transform:
none
status_colors
| Value | bg | text | border | panel_tint |
|---|
| Draft | #f1f5f9 | #64748b | 1px solid #e2e8f0 | #f1f5f9 |
| In Review | #dbeafe | #1d4ed8 | 1px solid #bfdbfe | #dbeafe |
| Revising | #fff7ed | #c2410c | 1px solid #fed7aa | #fff7ed |
| Approved | #dcfce7 | #15803d | 1px solid #bbf7d0 | #dcfce7 |
| Published | #d1fae5 | #047857 | 1px solid #a7f3d0 | #d1fae5 |
| _fallback | #f3f4f6 | #6b7280 | 1px solid #e5e7eb | #f3f4f6 |
Row Card Tokens
- card_border:
1px solid #e5e7eb
- card_border_radius:
12px
- card_background:
#ffffff
- card_margin_bottom:
10px
- card_shadow:
0px 2px 8px #0000000a
- panel_width:
80px
- overdue_panel_tint:
#fef2f2
- overdue_panel_text:
#dc2626
Row Template Layout
Tinted left panel with hero number, white right side with metadata.
โญโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ โ
โ 72% โ API Guide.docx โ
โ โ [In Review] ยท ๐
5/15/2026 โ
โ (blue โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ tint) โ โ
โฐโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ panel bg is lightest tint of status hue
rowFormatter JSON
Adapt before applying. The column names below ([$Status], [$Progress], [$Deadline]) are example placeholders โ replace them with the actual internal column names from the user's list. Also update every status value string ('Draft', 'In Review', 'Revising', etc.) to match the user's actual Choice values. Follow list-styling Step 3.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/view-formatting.schema.json",
"hideSelection": false,
"hideColumnHeaders": true,
"rowFormatter": {
"elmType": "div",
"style": {
"display": "flex",
"border": "1px solid #e5e7eb",
"border-radius": "12px",
"background-color": "#ffffff",
"margin-bottom": "10px",
"box-shadow": "0px 2px 8px #0000000a",
"overflow": "hidden",
"min-height": "90px"
},
"children": [
{
"elmType": "div",
"style": {
"width": "80px",
"min-width": "80px",
"display": "flex",
"align-items": "center",
"justify-content": "center",
"background-color": "=if([$Deadline] < @now, '#fef2f2', if([$Status] == 'Draft', '#f1f5f9', if([$Status] == 'In Review', '#dbeafe', if([$Status] == 'Revising', '#fff7ed', if([$Status] == 'Approved', '#dcfce7', if([$Status] == 'Published', '#d1fae5', '#f3f4f6'))))))"
},
"children": [
{
"elmType": "span",
"txtContent": "=toString([$Progress]) + '%'",
"style": {
"font-size": "22px",
"font-weight": "700",
"color": "=if([$Deadline] < @now, '#dc2626', if([$Status] == 'Draft', '#64748b', if([$Status] == 'In Review', '#1d4ed8', if([$Status] == 'Revising', '#c2410c', if([$Status] == 'Approved', '#15803d', if([$Status] == 'Published', '#047857', '#6b7280'))))))"
}
}
]
},
{
"elmType": "div",
"style": {
"flex": "1",
"padding": "14px 18px",
"display": "flex",
"flex-direction": "column",
"gap": "8px"
},
"children": [
{
"elmType": "div",
"style": {
"font-size": "14px",
"font-weight": "600",
"color": "#1f2937"
},
"txtContent": "=if([$FileLeafRef] == '', [$Title], [$FileLeafRef])"
},
{
"elmType": "div",
"style": {
"display": "flex",
"align-items": "center",
"gap": "10px",
"flex-wrap": "wrap"
},
"children": [
{
"elmType": "span",
"txtContent": "[$Status]",
"style": {
"display": "inline-block",
"padding": "4px 12px",
"border-radius": "10px",
"font-size": "12px",
"font-weight": "600",
"white-space": "nowrap",
"color": "=if([$Status] == 'Draft', '#64748b', if([$Status] == 'In Review', '#1d4ed8', if([$Status] == 'Revising', '#c2410c', if([$Status] == 'Approved', '#15803d', if([$Status] == 'Published', '#047857', '#6b7280')))))",
"background-color": "=if([$Status] == 'Draft', '#f1f5f9', if([$Status] == 'In Review', '#dbeafe', if([$Status] == 'Revising', '#fff7ed', if([$Status] == 'Approved', '#dcfce7', if([$Status] == 'Published', '#d1fae5', '#f3f4f6')))))",
"border": "=if([$Status] == 'Draft', '1px solid #e2e8f0', if([$Status] == 'In Review', '1px solid #bfdbfe', if([$Status] == 'Revising', '1px solid #fed7aa', if([$Status] == 'Approved', '1px solid #bbf7d0', if([$Status] == 'Published', '1px solid #a7f3d0', '1px solid #e5e7eb')))))"
}
},
{
"elmType": "span",
"txtContent": "ยท",
"style": { "color": "#d1d5db", "font-size": "14px" }
},
{
"elmType": "span",
"txtContent": "๐
",
"style": { "font-size": "12px" }
},
{
"elmType": "span",
"txtContent": "=toLocaleDateString([$Deadline])",
"style": {
"font-size": "12px",
"font-weight": "=if([$Deadline] < @now, '600', '400')",
"color": "=if([$Deadline] < @now, '#dc2626', '#6b7280')"
}
},
{
"elmType": "span",
"txtContent": "=if([$Deadline] < @now, 'ยท overdue', '')",
"style": {
"font-size": "11px",
"font-weight": "500",
"color": "#dc2626"
}
}
]
},
{
"elmType": "div",
"style": {
"width": "100%",
"height": "6px",
"background-color": "#f1f5f9",
"border-radius": "3px",
"overflow": "hidden"
},
"children": [
{
"elmType": "div",
"style": {
"width": "=toString([$Progress]) + '%'",
"height": "100%",
"border-radius": "3px",
"background-color": "=if([$Progress] < 30, '#fca5a5', if([$Progress] < 66, '#93c5fd', '#86efac'))"
}
}
]
}
]
}
]
}
}
Checklist โ "I Can't Believe That's SharePoint"
- โ
Full rowFormatter โ NOT default column grid
- โ
TINTED LEFT PANEL that changes color per status โ the whole panel blushes
- โ
Panel shows progress percentage in the status's dark color
- โ
Overdue panel turns soft pink (#fef2f2) with red text
- โ
INVERTED badges โ light tinted bg + dark text + tinted border (not solid fill)
- โ
Title Case on badges โ not uppercase
- โ
Soft rounded card corners (12px) โ friendly, not sharp
- โ
Progress bar fills are PASTEL (light pink, light blue, light green)
- โ
๐
icon on deadlines
- โ
Overdue is lowercase "overdue" โ soft, not alarming
- โ
Gentle shadow, not hard offset
- โ
Different from all others: tinted panel (not sidebar/stripe/stacked/compartments/hero number)
Responsive / mobile
- โค 480 px: the 80 px (now 96 px โ see below) tinted left panel collapses to a top stripe running the full card width, with the percentage centered above the title.
- โค 720 px: card padding steps down from
16px 20px to 12px 16px. Keep border-radius at 12 px; it carries the style.
- Touch targets: pastel is friendly, so consumers tap more. Every interactive element โฅ 44 ร 44 px on mobile.
- Hero text: percentage number can step from 28 px โ 22 px on mobile; do not go below 22 px or it loses presence.
Implementation notes
Widen the tinted panel โ 80 px clips 100%
The shipped reference uses an 80 px left panel. A three-digit progress value (100%) clips at that width when the digit weight is bold. Set the panel to 96 px, or set the number child to flex-wrap: nowrap; overflow: visible so the % glyph is allowed to bleed slightly out of the panel boundary. Do not shrink the font; the percentage must stay legible at desktop reading distance.
Pastel contrast audit (pinned)
Pastel BG / text pairs are easy to fail โ these have been checked at WebAIM and meet WCAG AA or better. Re-verify whenever a token changes.
| Panel BG | Text | Ratio | WCAG |
|---|
Pink #FDE2E4 | #9B2C3F | โ 6.8 : 1 | AA |
Blue #E0F2FE | #0C4A6E | โ 8.3 : 1 | AAA |
Green #DCFCE7 | #166534 | โ 7.1 : 1 | AAA |
Yellow #FEF9C3 | #854D0E | โ 6.2 : 1 | AA |
Lavender #EDE9FE | #5B21B6 | โ 7.4 : 1 | AAA |
Never pair a pastel BG with a tint of the same hue for text โ the contrast collapses. Always pair with a saturated counterpart of the same family.