dsh-arknights-theme 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/assets/skin.css +18 -10
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ a coat of theme paint.
|
|
|
25
25
|
**预构建包(推荐) / Prebuilt tarball (recommended)**
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
dsh plugin add https://github.com/Theflowyears/dsh-arknights-theme/releases/download/v1.1.
|
|
28
|
+
dsh plugin add https://github.com/Theflowyears/dsh-arknights-theme/releases/download/v1.1.3/dsh-arknights-theme-1.1.3.tgz
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
**从仓库安装 / From the repository**
|
|
@@ -104,7 +104,7 @@ This is the manual: what the package is made of, what is measured per wallpaper,
|
|
|
104
104
|
glyph is used, how to rebuild it, and where its limits are. Installation and the highlight reel
|
|
105
105
|
live on the repository front page.
|
|
106
106
|
|
|
107
|
-
- 版本 / Version: **1.1.
|
|
107
|
+
- 版本 / Version: **1.1.3**
|
|
108
108
|
- 适用 / Requires: DSH Web,`@deepseek-ai/cordis` 4.x
|
|
109
109
|
- 许可 / Licence: 代码 MIT,美术素材不在 MIT 范围内(见 [版权与署名](#版权与署名--rights-and-credit))
|
|
110
110
|
|
package/assets/skin.css
CHANGED
|
@@ -408,7 +408,7 @@ html[data-amiya-skin='1'] [class*='_sidebarCol']:not(:has([role='dialog'], [role
|
|
|
408
408
|
html[data-amiya-skin='1'] [class*='_sidebarCol']:not(:has([role='dialog'], [role='alertdialog'])) [class$='_chevron'],
|
|
409
409
|
html[data-amiya-skin='1'] [class*='_sidebarCol']:not(:has([role='dialog'], [role='alertdialog'])) [class$='_arrow'],
|
|
410
410
|
html[data-amiya-skin='1'] [class*='_sidebarCol']:not(:has([role='dialog'], [role='alertdialog'])) [class$='_arrowOpen'] {
|
|
411
|
-
color: var(--
|
|
411
|
+
color: var(--dsw-alias-label-secondary, rgb(200 212 226 / 92%));
|
|
412
412
|
}
|
|
413
413
|
html[data-amiya-skin='1']
|
|
414
414
|
[class*='_sidebarCol']:not(:has([role='dialog'], [role='alertdialog']))
|
|
@@ -1932,18 +1932,26 @@ html[data-amiya-skin='1'] [data-testid='todo-panel'] {
|
|
|
1932
1932
|
-webkit-backdrop-filter: none;
|
|
1933
1933
|
}
|
|
1934
1934
|
html[data-amiya-skin='1'] body:not([data-ds-dark-theme]) [data-testid='todo-panel'] {
|
|
1935
|
-
|
|
1935
|
+
/* Off-white rather than near-white: a 252/253/254 plate over a bright wallpaper reads as glare,
|
|
1936
|
+
and the panel is the one surface here with no picture behind it to justify the brightness. */
|
|
1937
|
+
background: rgb(248 249 251 / var(--dsh-amiya-ledger-alpha));
|
|
1936
1938
|
border-color: rgb(146 100 12 / 30%);
|
|
1937
1939
|
box-shadow: var(--dsh-elevation-panel), inset 0 1px 0 rgb(255 255 255 / 60%);
|
|
1938
1940
|
}
|
|
1939
|
-
/*
|
|
1940
|
-
|
|
1941
|
+
/* Text on this panel goes through the `--dsw-alias-label-*` tokens, never through a raw
|
|
1942
|
+
`--dsh-amiya-ink*` name. The ink lives in two sets — `--dsh-amiya-ink…` for the dark palette and
|
|
1943
|
+
`--dsh-amiya-ink…-l` for the light one — and a rule that names the dark set directly resolves, in
|
|
1944
|
+
the light palette, to the *dark palette's* near-white; on this near-white plate that is invisible
|
|
1945
|
+
text. That is exactly what shipped in 1.1.1: the counts (an explicit dark amber) were readable and
|
|
1946
|
+
every row label was not, which is the "3 已完成, rest blank" screenshot. The tokens below are
|
|
1947
|
+
remapped per palette in the two palette blocks, so one declaration is correct in both.
|
|
1948
|
+
`check-ink-pairs.mjs` now fails the build on a raw ink reference outside those blocks. */
|
|
1941
1949
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_header'] {
|
|
1942
|
-
color: var(--
|
|
1950
|
+
color: var(--dsw-alias-label-primary, rgb(249 250 251));
|
|
1943
1951
|
}
|
|
1944
1952
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_title'] {
|
|
1945
1953
|
letter-spacing: 0.06em;
|
|
1946
|
-
color: var(--
|
|
1954
|
+
color: var(--dsw-alias-label-primary, rgb(249 250 251));
|
|
1947
1955
|
}
|
|
1948
1956
|
/* The count line carries the actual state ("… 2 待处理"), so it gets the amber accent rather than the
|
|
1949
1957
|
host's tertiary grey. */
|
|
@@ -1984,15 +1992,15 @@ html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_header'][aria-exp
|
|
|
1984
1992
|
}
|
|
1985
1993
|
/* The rows themselves: the host paints every one in secondary/tertiary grey. Status is the thing a
|
|
1986
1994
|
reader scans for here, so each row's dot keeps the host's state colour while the text rises to the
|
|
1987
|
-
skin's own ink, and a finished item dims rather than being struck through invisibly. */
|
|
1995
|
+
skin's own ink tiers, and a finished item dims rather than being struck through invisibly. */
|
|
1988
1996
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_item'] {
|
|
1989
|
-
color: var(--
|
|
1997
|
+
color: var(--dsw-alias-label-secondary, rgb(195 201 210));
|
|
1990
1998
|
}
|
|
1991
1999
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_item'][data-status='completed'] {
|
|
1992
|
-
color: var(--
|
|
2000
|
+
color: var(--dsw-alias-label-dimmed, rgb(148 156 166));
|
|
1993
2001
|
}
|
|
1994
2002
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_item'][data-status='in_progress'] {
|
|
1995
|
-
color: var(--
|
|
2003
|
+
color: var(--dsw-alias-label-primary, rgb(249 250 251));
|
|
1996
2004
|
}
|
|
1997
2005
|
/* The lead checklist glyph sat in the same tertiary grey as the counts; make it the panel's mark. */
|
|
1998
2006
|
html[data-amiya-skin='1'] [data-testid='todo-panel'] [class$='_lead'] {
|