File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
packages/editor/src/styles Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -179,13 +179,26 @@ ul[data-type="taskList"] li > label input[type="checkbox"] {
179179 }
180180}
181181
182- ul [data-type = "taskList" ] li > div > p {
183- margin-top : 10px ;
182+ ul [data-type = "taskList" ] li > div {
183+ & > p {
184+ margin-top : 10px ;
185+ transition : color 0.2s ease;
186+ }
187+
188+ [data-text-color ] {
189+ transition : opacity 0.2s ease;
190+ }
184191}
185192
186- ul [data-type = "taskList" ] li [data-checked = "true" ] > div > p {
187- color : rgb (var (--color-text-400 ));
188- transition : color 0.2s ease;
193+ ul [data-type = "taskList" ] li [data-checked = "true" ] {
194+ & > div > p {
195+ color : rgb (var (--color-text-400 ));
196+ }
197+
198+ [data-text-color ] {
199+ opacity : 0.6 ;
200+ transition : opacity 0.2s ease;
201+ }
189202}
190203/* end to-do list */
191204
You can’t perform that action at this time.
0 commit comments