Giter Site home page Giter Site logo

Some fonts not available in CSS about core HOT 2 CLOSED

db-ui avatar db-ui commented on July 19, 2024
Some fonts not available in CSS

from core.

Comments (2)

mfranzke avatar mfranzke commented on July 19, 2024

@TimGeisler thanks a lot for your question.
It's mainly related to that with DB UI Base we'd like to provide all of the font assets that are downloadable by the DB Marketingportal, but DB UI Core is based on the DB UX Design System (which is hosted at the UI Components website on the Marketingportal as well). Within this DB UX Design System only a smaller amount of fonts is being used and that for only those are provided as @font-face declarations by DB UI Core.

Still it might be a good idea to at least provide some further font faces for in-between font-weights – I'll align this with our creative colleagues and come back to your question/request.

If you would need some of the others even already you could overwrite the $font-families variable for the SCSS compilation process: https://github.com/db-ui/core/blob/main/source/_patterns/00-base/type/_fonts.variables.scss#L3 by e.g. defining this variable previous to include DB UI Core related SCSS files like the main one.

from core.

mfranzke avatar mfranzke commented on July 19, 2024

We'll provide the following three fonts as well within as CSS font-faces by setting their related font-weights:

  • DB Screen Head Regular with a font-weight of 400
  • DB Screen Sans Medium with a font-weight of 500
  • DB Screen Sans Semibold with a font-weight of 600

I'm still in alignments regarding the usage of the DB Screen Sans Digital Regular and Condensed variants.

from core.

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.