Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(confirm-ui): switch UI fonts by locale

Kevin7276e9736a5e
diff --git a/skills/ppt-master/scripts/confirm_ui/static/style.css b/skills/ppt-master/scripts/confirm_ui/static/style.css
index 65c5d217..58ed6ec7 100644
--- a/skills/ppt-master/scripts/confirm_ui/static/style.css
+++ b/skills/ppt-master/scripts/confirm_ui/static/style.css
@@ -15,23 +15,40 @@
--warning: #f5c542;
--radius: 10px;
--shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
+ --ui-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { height: 100%; }
+html:lang(ja) {
+ --ui-font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
+ "Yu Gothic", "Meiryo UI", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
+}
+
+html:lang(zh) {
+ --ui-font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
+ "Noto Sans CJK SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
+}
+
body {
margin: 0;
height: 100%;
background: #1a1a2e;
color: var(--ink);
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
- "PingFang SC", "Hiragino Sans GB", sans-serif;
+ font-family: var(--ui-font-family);
line-height: 1.5;
overflow: hidden;
}
+button,
+input,
+select,
+textarea {
+ font-family: inherit;
+}
+
/* ---- fullscreen shell ---- */
#app {
display: flex;