fanlusky
ec00892121
feat(server): 新增仿微软拼音的内置皮肤 microsoft
...
- 候选窗:深色 #2C2C2C 底、#383838 选中底、#E183D9 紫色选中条,序号与候选同字号,
横排每项最小 4.35em、间距 0.28em(换行的行间同样隔 0.28em);尺寸均按字号缩放
- 翻页:默认开启,实心圆角三角,与候选行等高,横排前加分隔线
- 悬浮工具栏沿用默认页面,拖拽条改为紫色
- ui:PagerArrows 新增 Glyph::Triangle 与分隔线,三角用单一路径填充,半透明时不出现描边重叠;
CandidateList 新增 minItemWidth 与 selectedBarInside
- 设置页新增皮肤卡片与预览;更新内置皮肤列表、文档与配置注释,补充测试
2026-09-30 17:35:38 +08:00
fanlusky
4582550862
feat(skins): 内置皮肤抽出为 skins/default 设置清单并支持 page_arrows
...
五个内置皮肤各有一份 skins/default/<id>/skin.toml,承载皮肤级开关;
[candidate_window] page_arrows 控制候选框翻页箭头,出厂与缺省均为关闭。
外部皮肤可自行设置,不写时沿用 base 对应的默认清单。
皮肤扫描跳过 default 目录,且不允许用它作外部皮肤 ID。
2026-09-30 12:42:24 +08:00
fanlusky
6c6d175c99
style(skins): 外部皮肤的翻译改用 Notion 风格的彩色
...
翻译色换成 Notion 的彩色文字色,按皮肤选与正文、序号、高亮最能区分的色相:
蓝色大肥鱼与搜狗经典用绿,QQ 经典蓝与 Niya Demo 用紫。
原色放在选中行上对比度只有 1.7–3.9,另配同色相的 selected_translation
(深色提亮、浅色压暗),选中行到 4.5:1。QQ 经典蓝浅色原先是白底橙字,约 2.8:1。
Niya Demo 的两份副本同步修改。
2026-09-30 02:53:19 +08:00
fanlusky
2b7cd6a96f
fix(server): D2D 候选配色支持 #rgba 并拒绝含非十六进制字符的颜色
2026-09-29 22:43:52 +08:00
fanlusky
b109880c1c
docs(skins): 说明外部皮肤新增的细分配色、菜单、线宽、高亮圆角、阴影与字体族,并更新样例
2026-09-29 22:13:15 +08:00
fanlusky
218542fa35
chore: 将皮肤样例与皮肤合集接入本仓 CI 与文档
...
移除样例仓库自带的 .github(子目录里的 workflow 不会运行)和误提交的 __pycache__,改由根 CI 的 Skins 任务同时校验 examples/skin-examples 与 skins/。manifest 测试与 schema 说明对齐 Server 皮肤目录的实际规则:base 必填,author 可选。
2026-09-29 19:41:21 +08:00
fanlusky
7bca26d648
feat(niya-demo): declare decoration, background and toolbar styles in skin.toml
...
- Move the decoration image into [candidate_window.decoration] (102x88, right-aligned)
- Add [candidate_window.background] with a translucent texture and 12dip corner radius
- Replace toolbar.css with [toolbar] / [toolbar.dark] / [toolbar.light]
- Bump version to 0.2.0
- Update tests, preview.html and schema docs for the new fields
- Rewrite README
2026-09-28 22:13:42 +08:00
Evan Hu
27773d9b4c
fix(ci): avoid duplicate CodeQL scans on pushes
2026-09-07 01:03:03 +09:00
Evan
4bfaba8876
docs: 补 LICENSE、badge 与 star 趋势
...
公开仓库没有 LICENSE 在法律上等于保留所有权利,别人不能合法使用或分发。README 顶部加 CI /
CodeQL / license / stars badge,底部加 star 趋势图。
2026-09-06 12:29:22 +09:00
dependabot[bot]
fb1e5ca6a2
chore(deps): bump the actions group with 2 updates ( #2 )
...
Bumps the actions group with 2 updates: [actions/setup-go](https://github.com/actions/setup-go ) and [actions/dependency-review-action](https://github.com/actions/dependency-review-action ).
Updates `actions/setup-go` from 6.5.0 to 7.0.0
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/924ae3a1cded613372ab5595356fb5720e22ba16...b7ad1dad31e06c5925ef5d2fc7ad053ef454303e )
Updates `actions/dependency-review-action` from 4.9.0 to 5.0.0
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/2031cfc080254a8a887f58cffee85186f0e49e48...a1d282b36b6f3519aa1f3fc636f609c47dddb294 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/dependency-review-action
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-06 11:06:10 +09:00
Evan
4369f64fd9
ci(automation): 补齐持续集成与开源安全检查 ( #1 )
2026-09-06 10:02:20 +09:00
fanlusky
876e7f1a81
Switch the demo skin from skin.json and cand.css to skin.toml
...
Declare decoration geometry and candidate colors in TOML, drop the CSS
candidate stylesheet, and update install.ps1, preview, and the README.
2026-09-02 15:30:48 +08:00
fanlusky
038035b0fc
Optimize niya skin.
2026-08-29 22:53:09 +08:00
fanlusky
92d76b0353
Adjust some styles.
2026-08-29 21:48:02 +08:00
fanlusky
9242a86aff
Add a demo skin.
2026-08-29 19:37:30 +08:00
fanlusky
b473372aa3
first commit
2026-08-29 11:01:56 +08:00