feat: add Microsoft Excel style theme palette#3268
Conversation
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
|
@copilot 在s2-site/examples/theme/default/demo处增加对应的示例。 |
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3268 +/- ##
==========================================
- Coverage 75.77% 75.61% -0.16%
==========================================
Files 257 51 -206
Lines 11994 1505 -10489
Branches 2464 285 -2179
==========================================
- Hits 9088 1138 -7950
+ Misses 1398 216 -1182
+ Partials 1508 151 -1357 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@copilot 配色还是有问题,hover到单元格之后,被hover的单元格border应该是绿色系,background颜色应该接近灰色。选中之后的background颜色也不对。参考Excel的配色重新调整颜色 |
|
Size Change: +114 B (+0.02%) Total Size: 628 kB
ℹ️ View Unchanged
|
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
Updated the Excel theme colors (commit 8ef2f8f):
|
|
你好, @Copilot CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。 Hello, @Copilot CI run failed, please click the [Details] button for detailed log information and fix it. |


/packages/s2-core/src/themebasicColors,semanticColors,others)excel.ts)PALETTE_MAPSummary
This PR adds a new theme palette that replicates the default visual style of Microsoft Excel spreadsheets.
Changes
excel.tspalette file in/packages/s2-core/src/theme/palette/PALETTE_MAPs2-site/examples/theme/default/demo/Excel Theme Colors (Updated)
Usage
Preview
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.