Code Monkey home page Code Monkey logo

dss's Introduction

screen shot 2018-07-08 at 5 45 52 pm

Deterministic Style Sheets ✨

Build Status XO code style styled with prettier

DSS (Deterministic StyleSheets) is a component-oriented CSS authoring system that compiles to high-performance atomic CSS classes-based stylesheets.

DSS works like CSS Modules except that styles resolution is deterministic, CSS is compiled to atomic classes and the final bundle is very small.

Read more about how it works on the website.

[warning, this is an experimental project and might not be production ready]

The repo comes with examples:

cd examples/cli
# or cd examples/webpack
npm install
npm start

Features

  • ⚡️ Automatic compilation to Atomic CSS classes and high-performance stylesheets
  • 🆎 Deterministic styles resolution: styles are always resolved in application order
  • 📦 Scoped Styles
  • 🌎 Framework and language agnostic
  • 🤝 Preprocessors friendly
  • 💻 Standalone CLI and support for Webpack 3 and 4 with automatic vendor prefixing
  • ✂️ CSS the Best Parts

Contributing

DSS is developed as a monorepo thanks to lerna and yarn workspaces. Everything you need to know is in this repository.

Since this is a side project and I don't want to burn out, I decided to disable the GitHub issues.

Bugs

If you find a bug please submit a pull request with a failing test or a fix, and good description for the issue.

Features request

Please submit a pull request with an RFC where you explain the why and the how you think this feature is useful. I'd be glad to start a conversation from there before moving on to implementation. Also please let me know if you would be up to implement the feature you are suggesting.

My code is crap

I know, it is a side project and I didn't sweat the details. I am more than happy to discuss about a complete rewrite if the project becomes popular.

LICENSE

MIT

dss's People

Contributors

giuseppeg avatar johanholmerin avatar kristerkari avatar

Watchers

James Cloos avatar  avatar  avatar

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.