mirror of
https://github.com/evlic/typora_theme.git
synced 2024-11-25 01:32:11 +08:00
151 lines
13 KiB
CSS
151 lines
13 KiB
CSS
|
/*!
|
||
|
* typora-themeable
|
||
|
* v1.0.2
|
||
|
* https://github.com/jhildenbiddle/typora-themeable
|
||
|
* (c) 2022 John Hildenbiddle <http://hildenbiddle.com>
|
||
|
* MIT license
|
||
|
*/
|
||
|
:root{
|
||
|
--mermaid-pie-color1:var(--red-500);
|
||
|
--mermaid-pie-color2:var(--orange-500);
|
||
|
--mermaid-pie-color3:var(--amber-500);
|
||
|
--mermaid-pie-color4:var(--lime-500);
|
||
|
--mermaid-pie-color5:var(--emerald-500);
|
||
|
--mermaid-pie-color6:var(--cyan-500);
|
||
|
--mermaid-pie-color7:var(--blue-500);
|
||
|
--mermaid-pie-color8:var(--violet-500);
|
||
|
--mermaid-pie-color9:var(--fuchsia-500);
|
||
|
--mermaid-pie-color10:var(--red-400);
|
||
|
--mermaid-pie-color11:var(--orange-400);
|
||
|
--mermaid-pie-color12:var(--amber-400);
|
||
|
--mermaid-pie-color13:var(--lime-400);
|
||
|
--mermaid-pie-color14:var(--emerald-400);
|
||
|
--mermaid-pie-color15:var(--cyan-400);
|
||
|
--mermaid-pie-color16:var(--blue-400);
|
||
|
--mermaid-pie-color17:var(--violet-400);
|
||
|
--mermaid-pie-color18:var(--fuchsia-400);
|
||
|
}
|
||
|
|
||
|
@media screen and (prefers-color-scheme: dark){
|
||
|
:root{
|
||
|
--mermaid-pie-color1:var(--red-600);
|
||
|
--mermaid-pie-color2:var(--orange-600);
|
||
|
--mermaid-pie-color3:var(--amber-600);
|
||
|
--mermaid-pie-color4:var(--lime-600);
|
||
|
--mermaid-pie-color5:var(--emerald-600);
|
||
|
--mermaid-pie-color6:var(--cyan-600);
|
||
|
--mermaid-pie-color7:var(--blue-600);
|
||
|
--mermaid-pie-color8:var(--violet-600);
|
||
|
--mermaid-pie-color9:var(--fuchsia-600);
|
||
|
--mermaid-pie-color10:var(--red-700);
|
||
|
--mermaid-pie-color11:var(--orange-700);
|
||
|
--mermaid-pie-color12:var(--amber-700);
|
||
|
--mermaid-pie-color13:var(--lime-700);
|
||
|
--mermaid-pie-color14:var(--emerald-700);
|
||
|
--mermaid-pie-color15:var(--cyan-700);
|
||
|
--mermaid-pie-color16:var(--blue-700);
|
||
|
--mermaid-pie-color17:var(--violet-700);
|
||
|
--mermaid-pie-color18:var(--fuchsia-700);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle{
|
||
|
opacity:1 !important;
|
||
|
stroke:transparent !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .legend rect{
|
||
|
stroke:transparent !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(1n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(1n) rect{
|
||
|
fill:var(--mermaid-pie-color1) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(2n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(2n) rect{
|
||
|
fill:var(--mermaid-pie-color2) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(3n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(3n) rect{
|
||
|
fill:var(--mermaid-pie-color3) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(4n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(4n) rect{
|
||
|
fill:var(--mermaid-pie-color4) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(5n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(5n) rect{
|
||
|
fill:var(--mermaid-pie-color5) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(6n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(6n) rect{
|
||
|
fill:var(--mermaid-pie-color6) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(7n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(7n) rect{
|
||
|
fill:var(--mermaid-pie-color7) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(8n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(8n) rect{
|
||
|
fill:var(--mermaid-pie-color8) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(9n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(9n) rect{
|
||
|
fill:var(--mermaid-pie-color9) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(10n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(10n) rect{
|
||
|
fill:var(--mermaid-pie-color10) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(11n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(11n) rect{
|
||
|
fill:var(--mermaid-pie-color11) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(12n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(12n) rect{
|
||
|
fill:var(--mermaid-pie-color12) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(13n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(13n) rect{
|
||
|
fill:var(--mermaid-pie-color13) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(14n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(14n) rect{
|
||
|
fill:var(--mermaid-pie-color14) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(15n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(15n) rect{
|
||
|
fill:var(--mermaid-pie-color15) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(16n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(16n) rect{
|
||
|
fill:var(--mermaid-pie-color16) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(17n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(17n) rect{
|
||
|
fill:var(--mermaid-pie-color17) !important;
|
||
|
}
|
||
|
|
||
|
[id^="mermaidChart"] .pieCircle:nth-of-type(18n),
|
||
|
[id^="mermaidChart"] .legend:nth-of-type(18n) rect{
|
||
|
fill:var(--mermaid-pie-color18) !important;
|
||
|
}
|
||
|
|
||
|
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIjxubyBzb3VyY2U+IiwiLi4vLi4vLi4vc3JjL3RoZW1lYWJsZS9hZGRvbnMvbWVybWFpZC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQUFBO0FDQUE7SUFDSSxtQ0FBcUM7SUFDckMsc0NBQXdDO0lBQ3hDLHFDQUF1QztJQUN2QyxvQ0FBc0M7SUFDdEMsdUNBQXlDO0lBQ3pDLG9DQUFzQztJQUN0QyxvQ0FBc0M7SUFDdEMsc0NBQXdDO0lBQ3hDLHVDQUF5QztJQUN6QyxvQ0FBcUM7SUFDckMsdUNBQXdDO0lBQ3hDLHNDQUF1QztJQUN2QyxxQ0FBc0M7SUFDdEMsd0NBQXlDO0lBQ3pDLHFDQUFzQztJQUN0QyxxQ0FBc0M7SUFDdEMsdUNBQXdDO0lBQ3hDLHdDQUF5QztBQUM3Qzs7QUFFQTtJQUNJO1FBQ0ksbUNBQXFDO1FBQ3JDLHNDQUF3QztRQUN4QyxxQ0FBdUM7UUFDdkMsb0NBQXNDO1FBQ3RDLHVDQUF5QztRQUN6QyxvQ0FBc0M7UUFDdEMsb0NBQXNDO1FBQ3RDLHNDQUF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29sb3IxIDogdmFyKC0tcmVkLTYwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3IyIDogdmFyKC0tb3JhbmdlLTYwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3IzIDogdmFyKC0tYW1iZXItNjAwKTtcbiAgICAgICAgLS1tZXJtYWlkLXBpZS1jb2xvcjQgOiB2YXIoLS1saW1lLTYwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3I1IDogdmFyKC0tZW1lcmFsZC02MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yNiA6IHZhcigtLWN5YW4tNjAwKTtcbiAgICAgICAgLS1tZXJtYWlkLXBpZS1jb2xvcjcgOiB2YXIoLS1ibHVlLTYwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3I4IDogdmFyKC0tdmlvbGV0LTYwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3I5IDogdmFyKC0tZnVjaHNpYS02MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yMTA6IHZhcigtLXJlZC03MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yMTE6IHZhcigtLW9yYW5nZS03MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yMTI6IHZhcigtLWFtYmVyLTcwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3IxMzogdmFyKC0tbGltZS03MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yMTQ6IHZhcigtLWVtZXJhbGQtNzAwKTtcbiAgICAgICAgLS1tZXJtYWlkLXBpZS1jb2xvcjE1OiB2YXIoLS1jeWFuLTcwMCk7XG4gICAgICAgIC0tbWVybWFpZC1waWUtY29sb3IxNjogdmFyKC0tYmx1ZS03MDApO1xuICAgICAgICAtLW1lcm1haWQtcGllLWNvbG9yMTc6IHZhcigtLXZpb2xldC03MDApO1xuICAgICAgICAtLW1lcm1haWQtcGll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