Giter Site home page Giter Site logo

Comments (1)

mrmrs avatar mrmrs commented on May 8, 2024

@colmtuite - For pros - I think for some people it makes a directory easier to navigate if they have an existing concept of what utilities, components, skins, etc. are. I don't find this to be too much the case with tachyons. There isn't really a notion of components vs. utilities. The majority of the classes are single purpose. I don't find that name-spacing classes by type has helped me with readability - or with information wayfinding. I.e I know what .cf does as a class. I don't need to know anything else. Labeling it as a utility doesn't aid me in any way. I don't think it's a bad practice per se, I just have not
found it to be representative of information I personally need while developing.

I have thought about dividing up the files into directories along the lines of

- base
- type
- structure
- skins

But I haven't found anything I'm 100% happy with. I would mainly just like to show relationships between which modules are most often used together. i.e widths, floats, display, and the clearfix module. Generally I use all of them together if I use floats at all. I would like a better way to visualize / illustrate that information. Basically until I am happy with an organization system - having them all bundled together in one directory seems better than a poorly thought out system that I change every two weeks :)

I think naming conflicts in classes are best maintained with a combination of an automated build-step / some manual review and isn't something I'm too worried about here. Eventually I'll have a custom name-space function as a part of the build step similar to how http://basscss.com and http://topcoat.io work.

from tachyons.

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.