Coder Social home page Coder Social logo

CSS framework about spect HOT 11 CLOSED

dy avatar dy commented on September 1, 2024
CSS framework

from spect.

Comments (11)

dy avatar dy commented on September 1, 2024

?mb call it mods.css?

  • mods ~ tachyons

! fontions, typions, spacions, stylions

from spect.

dy avatar dy commented on September 1, 2024

! figma/google-fonts pairings & theme basics

  • good font pairing is not necessary sans/serif. Meaningful font-set is display, handwriting, monospace, paragraph (serif/sans).

from spect.

dy avatar dy commented on September 1, 2024

! CSS allow special characters like :./@ etc.
This way special utility classes can be added:

<a class="black hover:red visited:black">
<i class="ml-1.5">
<main class="s:col-1 m:col-1/2 l:col-1/3">

That can be handled with spect perfectly. Although that'd require big initial table of all tachyons to register bunch of mods.

from spect.

dy avatar dy commented on September 1, 2024

!do values as natural semicolon: <div class="radius:2 color:#aaa"></div>

!mb narrow breakpoints to sizes only: s:1 m:1/2 l:1/4

from spect.

dy avatar dy commented on September 1, 2024

!property-modifiers(filters) as radius:4|tl, border:2|t|solid or something similar

from spect.

dy avatar dy commented on September 1, 2024

! custom selectors in classes <div class="next-child:class-props"></div>
! pseudos in classes <div class="after:b-3"></div>

from spect.

dy avatar dy commented on September 1, 2024

! w:100%, w:50% omg obvious
! a better media-queries gate: w-100%@s

from spect.

dy avatar dy commented on September 1, 2024

Typographic scale generators: https://www.gridlover.net/try, https://archetypeapp.com/#, https://type-scale.com/

from spect.

dy avatar dy commented on September 1, 2024

!units in css-rules: w-120px, default fallback w-3 is 8px grid, w-3 === 24px
!change 8px-grid size via root variables --step: 8px and calc the rest
!no need to define too many variants or redefine base: just add corresponding tachyon to fast-edit.

from spect.

dy avatar dy commented on September 1, 2024
  • font-less props are still useful: bold, italic - no need to specify.

from spect.

dy avatar dy commented on September 1, 2024

See maya

from spect.

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.