GitXplorerGitXplorer
r

uniss

public
1 stars
1 forks
9 issues

Commits

List of commits on branch master.
Unverified
c020fb0d26f9d7a8e4bdea26edb9a9c235eecec1

Correct license

rradubrehar committed 5 years ago
Unverified
507ca3b1906d350876d5cb59f8dc0c3ef50d82e8

0.0.7

aactions-user committed 5 years ago
Unverified
d8dba37b0a54d40850804550c4c824d48f8e46ff

release version patch

rradubrehar committed 5 years ago
Unverified
b980c70e309b88232c2beea81f74e288d1b52351

Add commit message check to release

rradubrehar committed 5 years ago
Unverified
887db18a861c7dc7a038f78899ef8ce99b46686f

Fix workflow this time

rradubrehar committed 5 years ago
Unverified
cd29fbd4e4a559d246ebc0dd94746f2f29404548

fix workflow?

rradubrehar committed 5 years ago

README

The README file for this repository.

uniss 🎓

Universal utility-first CSS library for writing less CSS

Inspiration 💡

Tahyons and Tailwindcss

Also, Rebass which is not a CSS only library, but was a nice inspiration for me 💡.

Motivation ❤️

Tailwinds and tachyons are nice, but I almost always have to look-up names for css classes (even-more-so with tailwinds).

So I want UNISS to be more strict in terms of naming conventions.

Conventions

CSS class format: <property-name>=<property-value>[:<hover|active|focus|visited|focus-within>][@<sm|md|lg|xl>]

That's it! You can use UNICSS.

Examples

.display=block { display: block }

.font-weight=bold { font-weight: bold }

.padding=50px { padding: 50px }

.width=100% { width: 100% }

.background=red:hover {
  backround: red; /* applied only on hover */
}
.background=blue@lg {
  backround: blue; /* applied starting with large breakpoint */
}
.background=orange@lg:hover {
  backround: orange; /* applied starting with large breakpoint, but only on hover */
}

Try it out

$ npm i
$ npm run dev

THIS IS IN VERY ALPHA STAGE - help is welcomed 💪