Logo Style Pastel

Style Pastel

Tổ chức
pnp
style-pastel

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.

Tổng quan

Nhà phát hànhpnp
Kho mãsharepoint-skills
Tên kỹ năngstyle-pastel
Sao
141
Bản fork
60
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được pnp công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Style Pastel trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/style-pastel/style-pastel
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/style-pastel/style-pastel .claude/skills/style-pastel
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Style Pastel trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Style Pastel ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Style Pastel với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Valuebgtextborderpanel_tint
Draft#f1f5f9#64748b1px solid #e2e8f0#f1f5f9
In Review#dbeafe#1d4ed81px solid #bfdbfe#dbeafe
Revising#fff7ed#c2410c1px solid #fed7aa#fff7ed
Approved#dcfce7#15803d1px solid #bbf7d0#dcfce7
Published#d1fae5#0478571px solid #a7f3d0#d1fae5
_fallback#f3f4f6#6b72801px 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.

json
{
  "$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 BGTextRatioWCAG
Pink #FDE2E4#9B2C3F≈ 6.8 : 1AA
Blue #E0F2FE#0C4A6E≈ 8.3 : 1AAA
Green #DCFCE7#166534≈ 7.1 : 1AAA
Yellow #FEF9C3#854D0E≈ 6.2 : 1AA
Lavender #EDE9FE#5B21B6≈ 7.4 : 1AAA

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.

Câu hỏi thường gặp

Kỹ năng AI Style Pastel làm được gì?

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.

Vì sao nên dùng Style Pastel trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Style Pastel là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Style Pastel trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pnp/sharepoint-skills/tree/main/Skills/style-pastel/style-pastel. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Style Pastel?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Style Pastel với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Style Pastel với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Style Pastel có miễn phí không?

Có. Kỹ năng này được pnp phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇