Code Monkey home page Code Monkey logo

Comments (4)

svchord avatar svchord commented on May 21, 2024

这个问题我也感觉到了,在我自己的工作电脑上就会显得大,在自己用的电脑上看上去又比较正常…

之后可能我会改成根据屏幕适配的,但是最近的话可能要先适应一下。

另外,根目录下的theme.css是编译后压缩过的文件,所以没有注释…需要你转到dev分支后,查看src/styles目录下的各scss文件,那里是有注释的。

过程确实比较复杂,不过对我个人来说,已经是能想到的最佳方案了…主要是为了将自用颜色变量和官方变量解耦的同时,还不影响软件使用

from rem-craft.

remoon1991 avatar remoon1991 commented on May 21, 2024

from rem-craft.

svchord avatar svchord commented on May 21, 2024

您太客气了

from rem-craft.

svchord avatar svchord commented on May 21, 2024

已解决,当前解决方案为min(12px, max(6.5px, 0.520vw * 6.5 / 8)),即最小6.5px,最大12px,随屏幕宽度变化。

另外,自定义步骤有更新,应该相对之前的方法更简单,有想法可以再看看

from rem-craft.

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.