Coder Social home page Coder Social logo

Comments (2)

Keldos-Li avatar Keldos-Li commented on May 9, 2024

这些问题确实亟待解决……

在Typora的官方文档中,没有地方提到窗口样式的tag selector规范,也没有其他的地方存在说明,唯一的办法还是只能参考它自带的night主题或其他有完整深色模式支持的主题样式……

在Windows上,Typora有点像一个以Chrome为内核的浏览器(就是不能浏览网页),所以有几乎所有的窗口和内容都可以通过一定的CSS来控制(不能写JS差评)。随着Typora自己的更新,主题文件似乎也需要跟上新功能的样式适配,所以出现了这种右键菜单的问题……以及它的设置界面既有自己的CSS选择器标签,也同时共用了诸如H2这样的tag样式选择器,所以出现了这种不伦不类的情况……

而在macOS上,Typora还是比较规范的软件,像设置界面仍然遵守系统的深色模式设置:
2D857040ACDB210C2F09792E374C0828
3E1D78612B1A69787DA785047CF6C259

同时它也没法在macOS右键菜单上做拓展功能……因此当前主题在macOS上的深色模式支持看上去还是基本没有问题的……而我自己使用的是macOS平台,所以之前没有发现这些不适配的情形……🥲

因此可能需要使用Windows平台的大佬帮忙对这些未适配的样式进行适配……🥺

from typora-latex-theme.

RalXYZ avatar RalXYZ commented on May 9, 2024

@Keldos-Li 这边已经定位到问题了。

--select-text-font-color: #161616;
/*--bg-color: hsl(0, 0%, 15%);*/
--mermaid-theme: night;

看起来就是注释掉的这一行导致的。所以当时把这行注释掉,有什么其他原因吗?
解除注释后:

image
image

from typora-latex-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.