GithubHelp home page GithubHelp logo

Comments (6)

mxstbr avatar mxstbr commented on June 20, 2024

I also have a webfont license for it

Me === jelly af

from styled-components-website.

kitten avatar kitten commented on June 20, 2024

Awesome! I'd do it myself, but I don't have the web licence :(

from styled-components-website.

superhighfives avatar superhighfives commented on June 20, 2024

No worries. Will sort it out today. 👍

from styled-components-website.

superhighfives avatar superhighfives commented on June 20, 2024

Okay, added: https://github.com/superhighfives/styled-components-website/tree/feature/%2312_operator_mono_for_code

cloud.typography, which manages the Operator webfont, use a <link /> to grab the fonts:

<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7039052/7606172/css/fonts.css" />

Once the project is ready to go to production, cloud.typography requires you to place the fonts on your server. It's a bit convoluted, but you can read about it here: https://dashboard.typography.com/user-guide/moving-to-production

The current branch is in development mode.

from styled-components-website.

kitten avatar kitten commented on June 20, 2024

@superhighfives Shall we move it to production mode, so we can get the branch merged? :)

from styled-components-website.

superhighfives avatar superhighfives commented on June 20, 2024

No worries!

image

So cloud.typography looks for the font files (they're generated for a specific URL) in order to enable production mode. You can effectively leave this unmerged until you're ready to flick the switch, as it will continue to use the development set up for now, and once you have got the files at https://styled-components.com/static/fonts/575057 I can reconfirm the installation.

👍

from styled-components-website.

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.