feat(frontend): センシティブなメディアを目立たせる設定を追加 (#11851)
* (add) highlight sensitive image * Update Changelog * (change) 設定の位置 * (add) apply mediaHighlight to video * (change) image -> media * Update CHANGELOG * やっぱもうちょっと太い方がいい * (fix) style * Update ja-JP.yml --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
c836157edb
commit
7dc9fe4e24
7 changed files with 46 additions and 4 deletions
|
|
@ -185,6 +185,10 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
where: 'device',
|
||||
default: 'respect' as 'respect' | 'force' | 'ignore',
|
||||
},
|
||||
highlightSensitiveMedia: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
},
|
||||
animation: {
|
||||
where: 'device',
|
||||
default: !window.matchMedia('(prefers-reduced-motion)').matches,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue