---
title: "A-Li (@A-Li) | Hashnode"
description: "产品体验设计师. Read the latest articles by A-Li on Hashnode."
url: "https://hashnode.com/@A-Li"
---

@A-Li

# A-Li

@A-Li · Beijing, China · Joined April 2021

产品体验设计师

### [CSS+Javascript 实现暗黑模式](https://blog.chenli.cool/cssjavascript?utm_source=hashnode&utm_medium=feed)

学习的过程中尝试自己去写模版切换的功能，发现写完以后对设计系统颜色的定义理解更深入了。 这里用的方法主要是通过定义 --example 的颜色变亮，以及 .dark 的方式实现页面的两套配色。最后通过 javascript 监听 botton 的点击事件替换css的变亮到 .dark 定义的内容。 body { --accent-color:#4E6E0C; --accent-color-hovered:#415C0A; --background-color:#F0FBD...

1 min read · [blog.chenli.cool](https://blog.chenli.cool/cssjavascript?utm_source=hashnode&utm_medium=feed)

[May 9, 2019](https://hashnode.com/posts/cssjavascript/60ab715961f5f47b572b55b6)

### [观影推荐-指引人生信念的记录片](https://blog.chenli.cool/6kec5b2x5o6o6i2qleamhw8les6uueunsoewteeahoiusow9leejhw?utm_source=hashnode&utm_medium=feed)

每次复看都感动得一塌糊涂的电影，某一天如果我失去了好奇心与动力，就来看看吧。 贴一下第一次看完这部纪录片的时候发的朋友圈 碎片的采访和穿插亚伦留下的演讲和视频资料，特别人接收到当事人得情绪以及人生观，对自己的人生价值也更巩固了。 ... 尤其喜欢亚伦说这段话时的表情: 我深深地觉得， 光安生与当下这世界是不够的， 那样子只是别人给什么你就照收， 大人们说什么你就照做， 你照着父母说的去做， 照着社会说的去做。 我觉得你应该总持有质疑， 我觉得从科学的角度看， 你所学的一切都知识暂时性的， 任何所...

1 min read · [blog.chenli.cool](https://blog.chenli.cool/6kec5b2x5o6o6i2qleamhw8les6uueunsoewteeahoiusow9leejhw?utm_source=hashnode&utm_medium=feed)

[Apr 17, 2018](https://hashnode.com/posts/6kec5b2x5o6o6i2qleamhw8les6uueunsoewteeahoiusow9leejhw/60768953b579ce3139f5010f)
