Giter Club home page Giter Club logo

Comments (10)

atomiks avatar atomiks commented on May 13, 2024 2

@mantleCurve check this article about using system-ui: https://infinnie.github.io/blog/2017/systemui.html

from 30-seconds-of-css.

Chalarangelo avatar Chalarangelo commented on May 13, 2024 1

In my opinion, system-ui should not be part of the font stack presented in the snippet. People might get in trouble using it and, if they actually need it, like @mantleCurve, they can always include it in their code. Snippets are supposed to be a starting point for common tasks, helping people get a project working. Everyone is encouraged to modify them to fit their specific needs and projects.

from 30-seconds-of-css.

atomiks avatar atomiks commented on May 13, 2024

Which IE? GitHub itself puts -apple-system first

from 30-seconds-of-css.

Chalarangelo avatar Chalarangelo commented on May 13, 2024

In general, -apple-system comes before BlinkMacSystemFont in most font stacks I have seen.

from 30-seconds-of-css.

mantleCurve avatar mantleCurve commented on May 13, 2024

In ubuntu, the font i set for UI is not working. Probably need to use system-ui

from 30-seconds-of-css.

atomiks avatar atomiks commented on May 13, 2024

@mantleCurve

Does this work?

-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"

from 30-seconds-of-css.

mantleCurve avatar mantleCurve commented on May 13, 2024

This one works
-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"

from 30-seconds-of-css.

mantleCurve avatar mantleCurve commented on May 13, 2024

That makes sense. But in my case i wanted the system-ui font. I have seen spectre.css use it. That's why suggested.

from 30-seconds-of-css.

Chalarangelo avatar Chalarangelo commented on May 13, 2024

The current font stack works quite well on most systems and, having done some research, it's quite versatile, so we're gonna stick with it for now. However, it most certainly cannot acommodate everyone's needs. Snippets are a starting point for common tasks and we encourage developers to tweak them and alter them to suit their needs.

from 30-seconds-of-css.

lock avatar lock commented on May 13, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for any follow-up tasks.

from 30-seconds-of-css.

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.