Giter Club home page Giter Club logo

Comments (5)

davidtheclark avatar davidtheclark commented on May 26, 2024 1

Ah, that makes sense.

I like the .prose pattern, I think. What I mean is, I like the idea that h1-hx, p, ul, etc. are not styled as elements unless they are children of a .prose element (no h1 {..} rules, except to reset; just .prose h1 {..} rules). We could create classes to accomplish the same effects outside of .prose elements. For example, <h3 class="header-1"> outside .prose would look the same as <h1> inside .prose.

from assembly.

katydecorah avatar katydecorah commented on May 26, 2024 1

We'll need to find a free alternative for the open source part that has similar proportions.

Dropping this link https://meowni.ca/font-style-matcher/ as it may be useful when we get to this ^

from assembly.

davidtheclark avatar davidtheclark commented on May 26, 2024

Here's one additional thing to add, I think, unless you thought of it as falling under "style utility classes": Typography utility classes for alignment, capitalization, truncation, etc.

Custom Typographic scale using freely available fonts

Could you please clarify what you mean by that?

from assembly.

samanpwbb avatar samanpwbb commented on May 26, 2024

Could you please clarify what you mean by that?

Two parts:

  • Right now base uses a paid font: Brandon. We'll need to find a free alternative for the open source part that has similar proportions.
  • We need nice rules for h1-hx, p, ul, and other common typographic elements. We need to decide if we want to continue to use the .prose pattern to adjust styles of prose blocks or find something else. Unfortunately, we can't rely exclusively on classes for typography styling because many markdown generators (for example, the one jekyll uses) don't easily output html with classes.

from assembly.

samanpwbb avatar samanpwbb commented on May 26, 2024

Moving to specific issues.

from assembly.

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.