chuspeeism/dashi-ppt-skill / skills/dashi-ppt
dashi-ppt
Flagged制作 PPT、演示文稿、幻灯片、汇报材料时使用。Dashi PPT 基于预置视觉主题组合页面,生成可离线打开、可在浏览器编辑的 HTML 演示,支持导出 PPTX / PDF 文件。
project/src/components/themes/theme03/source/src/theme.css
View on GitHub/* ============================================================================
theme.css — scoped design tokens + base classes for the report deck.
Aesthetic: editorial / brutalist grotesque, light warm-gray field,
electric-blue + lime accents, monospace micro-labels.
SCOPING CONTRACT
- All custom properties live on `.rd-slide` (the root of every slide
component), NOT on :root — nothing leaks to a host app's globals.
- Every class is prefixed `.rd-` so it can't collide after migration.
- Slides are pure: they only use these classes + inline styles. The deck
navigation chrome (deck-stage) and the Tweaks panel are separate.
Fonts (Archivo, Space Mono, Noto Sans SC) are self-hosted by the host
document — no runtime webfont import here.
========================================================================== */
/* ---- token scope ---------------------------------------------------------- */
.rd-slide {
/* palette */
--rd-bg: #d6d6d3;
--rd-ink: #161513;
--rd-ink-2: #5c5b57;
--rd-ink-3: #908f8a;
--rd-line: rgba(22,21,19,0.20);
--rd-line-2: rgba(22,21,19,0.10);
--rd-blue: #2742ec;
--rd-blue-ink:#f3f5ff;
--rd-lime: #c2f53d;
--rd-panel: #1a1916; /* dark surface */
/* type families */
--rd-sans: "Archivo","Noto Sans SC",system-ui,sans-serif;
--rd-mono: "Space Mono",ui-monospace,"SFMono-Regular",monospace;
/* type scale (1920×1080 canvas) */
--rd-display: 104px;
--rd-title: 62px;
--rd-headline:46px;
--rd-sub: 34px;
--rd-body: 27px;
--rd-cap: 24px;
--rd-label: 24px;
/* rhythm */
--rd-pad-x: 120px;
--rd-pad-y: 92px;
--rd-gap: 40px;
position: relative;
width: 100%;
height: 100%;
box-sizing: border-box;
background: var(--rd-bg);
color: var(--rd-ink);
font-family: var(--rd-sans);
font-weight: 400;
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
.rd-slide *,
.rd-slide *::before,
.rd-slide *::after { box-sizing: border-box; }
/* ---- dark theme modifier (scoped — only flips tokens on this slide) -------- */
.rd-slide.rd-dark {
--rd-bg: #161513;
--rd-ink: #f3f2ee;
--rd-ink-2: #b8b6b0;
--rd-ink-3: #84827c;
--rd-line: rgba(243,242,238,0.22);
--rd-line-2: rgba(243,242,238,0.10);
--rd-panel: #f3f2ee;
}
/* ---- frame / layout helpers ---------------------------------------------- */
.rd-frame {
position: absolute;
inset: 0;
padding: var(--rd-pad-y) var(--rd-pad-x);
display: flex;
flex-direction: column;
}
.rd-topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 22px;
border-bottom: 1px solid var(--rd-line);
}
.rd-hairline { height: 1px; background: var(--rd-line); width: 100%; }
/* ---- micro-label (blue box) ---------------------------------------------- */
.rd-tag {
display: inline-flex;
align-items: center;
gap: 8px;
font-family: var(--rd-mono);
font-weight: 700;
font-size: var(--rd-label);
letter-spacing: 0.10em;
text-transform: uppercase;
line-height: 1;
padding: 9px 12px 8px;
background: var(--rd-blue);
color: var(--rd-blue-ink);
white-space: nowrap;
}
.rd-tag--lime { background: var(--rd-lime); color: var(--rd-ink); }
.rd-tag--ghost { background: transparent; color: var(--rd-ink-2); padding-left: 0; padding-right: 0; }
/* free-standing mono caption (no box) */
.rd-mono {
font-family: var(--rd-mono);
font-size: var(--rd-cap);
letter-spacing: 0.06em;
color: var(--rd-ink-2);
text-transform: uppercase;
}
/* ---- headings ------------------------------------------------------------- */
.rd-display {
font-family: var(--rd-sans);
font-weight: 900;
font-size: var(--rd-display);
line-height: 1.07;
letter-spacing: -0.02em;
margin: 0;
text-wrap: balance;
}
.rd-title {
font-weight: 800;
font-size: var(--rd-title);
line-height: 1.08;
letter-spacing: -0.015em;
margin: 0;
}
.rd-headline {
font-weight: 800;
font-size: var(--rd-headline);
line-height: 1.05;
letter-spacing: -0.01em;
margin: 0;
}
.rd-sub {
font-weight: 700;
font-size: var(--rd-sub);
line-height: 1.2;
letter-spacing: -0.005em;
margin: 0;
}
.rd-blue { color: var(--rd-blue); }
.rd-lime-ink { color: var(--rd-ink); }
/* ---- body ----------------------------------------------------------------- */
.rd-body {
font-size: var(--rd-body);
line-height: 1.5;
color: var(--rd-ink-2);
margin: 0;
text-wrap: pretty;
}
.rd-cap {
font-size: var(--rd-cap);
line-height: 1.45;
color: var(--rd-ink-2);
margin: 0;
}
/* ---- big figure ----------------------------------------------------------- */
.rd-figure {
font-weight: 800;
font-size: 168px;
line-height: 0.86;
letter-spacing: -0.03em;
font-feature-settings: "tnum" 1;
}
/* ---- entrance animation --------------------------------------------------
Base state is the *visible* end-state so content always renders (print,
reduced-motion, and non-painting capture contexts included). The motion is
added only as a transform-based enhancement that never hides content. */
@media (prefers-reduced-motion: no-preference) {
[data-deck-active] .rd-anim { animation: rd-rise 0.55s cubic-bezier(.2,.7,.2,1) both; }
[data-deck-active] .rd-anim-2 { animation-delay: 0.07s; }
[data-deck-active] .rd-anim-3 { animation-delay: 0.14s; }
[data-deck-active] .rd-anim-4 { animation-delay: 0.21s; }
}
@keyframes rd-rise {
from { transform: translateY(16px); }
to { transform: translateY(0); }
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |