# macOS 词典暗色快速装修方法

**URL:** <https://forum.freemdict.com/t/topic/13522>\
**Category:** 词典装饰排版交流分享\
**Created:** [2022 年6 月 9 日 05:40 UTC](https://forum.freemdict.com/t/topic/13522 "2022-06-09T05:40:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

作者： ![yunkaishan](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/y/51bf81/32.png) [@yunkaishan](https://forum.freemdict.com/u/yunkaishan)\
发布日期： [2022 年6 月 9 日 05:40 UTC](https://forum.freemdict.com/t/topic/13522/1 "2022-06-09T05:40:57Z")

</div>

最近鼓捣macOS下词典，不太满意自带的“牛津英汉汉英词典”。从这里： [[MacOS]Dictionary.app专用词库集合](https://forum.freemdict.com/t/topic/12124)下载了“剑桥高阶英语学习词典”。可惜在暗色下观感不佳。终于从这里：[How to fix Dictionary look up text color in Dark mode?](https://apple.stackexchange.com/questions/366501/how-to-fix-dictionary-look-up-text-color-in-dark-mode)，找到快速修改办法，修改DefaultStyle.css，在文件末尾添加代码：

```auto
/*=====================================*/
/* dark mode */
/*=====================================*/

@media (prefers-dark-interface)
{

    html {
        -apple-color-filter: apple-invert-lightness();
    }

    a {
        -apple-color-filter: none;
        color: -webkit-link;
    }

    img {
        filter: invert(100%);
    }

    html.apple_client-panel body div {
        color: text;
    }

    html.apple_client-panel body div.L1 {
        color: -apple-system-label;
    }

}

```

效果如下出乎意料的好：

 ![Screen Shot 2022-06-08 at 10.36.57 PM](https://forumcdn.freemdict.com/uploads/default/original/3X/7/b/7bd08fa802fdc49ebac6a0548f2c2a7b59c3f885.png)

---

<div class="post-metadata">

作者： ![gameboyforever](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gameboyforever/32/69557_2.png) [@gameboyforever](https://forum.freemdict.com/u/gameboyforever)\
发布日期： [2023 年4 月 14 日 03:11 UTC](https://forum.freemdict.com/t/topic/13522/2 "2023-04-14T03:11:12Z")

</div>

可以共享一下词典吗？原始的帖子里面的 网盘共享都失效了

---

<div class="post-metadata">

作者： ![SebastianJuly](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@SebastianJuly](https://forum.freemdict.com/u/SebastianJuly)\
发布日期： [2025 年11 月 21 日 13:26 UTC](https://forum.freemdict.com/t/topic/13522/3 "2025-11-21T13:26:39Z")

</div>

兄弟你找到资源了么
