Git Product home page Git Product logo

Comments (3)

lencioni avatar lencioni commented on July 24, 2024

What the main reason did you follow when you decided to develop Airbnb CSS / Sass Style Guide?

This guide predates my time at Airbnb, so I'm not sure I have the context to help you here. Maybe @mikefowler can answer?

Do you have any info which metrics have you improved, e.g. the counts of bugs/issues, time for development for a new feature, the size of components, etc?

Not that I am aware of. More recently, we've been writing CSS-in-JS, so reliance on this particular style guide has fallen substantially. Our style guide for that can be found at: https://github.com/airbnb/javascript/tree/master/css-in-javascript

Do you have any kind of Living Style Guide system based on your CSS / Sass Style Guide?

I don't think I understand what you mean by Living Style Guide system. Can you give me some examples?

from css.

var-bin avatar var-bin commented on July 24, 2024

Hi @lencioni,

Thank you for your answers.

Not that I am aware of. More recently, we've been writing CSS-in-JS, so reliance on this particular style guide has fallen substantially. Our style guide for that can be found at: https://github.com/airbnb/javascript/tree/master/css-in-javascript

Yes, I've seen this style guide. Do you happen to know whether developers use any lint tools (e.g. Stylelint, PostCSS with plugins) in this instance?

I don't think I understand what you mean by Living Style Guide system. Can you give me some examples?

The great example is Lonely Planet Style Guide in this case. It includes various interactive elements as well as color palette, typography, etc. So, anyone can open this style guide and interacts with it.

Best regards,
Vitalii

from css.

lencioni avatar lencioni commented on July 24, 2024

We aren't using any CSS linting tools for our CSS in js. But we have an eslint plugin that checks for a couple of things. https://github.com/airbnb/eslint-plugin-react-with-styles

I see what you mean by living style guide. We use storybook for this purpose but it is only internally accessible. Also, happo fills some of these use cases to an extent.

from css.

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.