Skip to content

v0.7.9

Compare
Choose a tag to compare
@zaydek zaydek released this 23 Dec 07:58
· 251 commits to main since this release
  • Deprecated gap-x-* and gap-y-* classes for now. These will likely be added back later.
  • Leading classes now use the -100 convention: leading-100 means line-height: 1, leading-110 means line-height: 1.1.
  • Non-minified files now use two spaces for formatting so tab-size never appears as 8 spaces.
  • Added skeleton CDN links: The skeleton bundle is meant to provide Duomo classes without colors (only grays) and variants (only core and responsive).
  • Added wrap classes for stacks; wrap, wrap-reverse, wrap-none.
  • Reverted shorthands for t-0, tr-0, r-0 back to top-0, top-right-0, right-0, etc.
  • Added transform-origin classes: origin-top, origin-top-right, origin-right, etc.
  • Added min-content and max-content classes throughout: min-w-min, w-min, max-w-min and max-w-min, w-max, max-w-max.
  • dist/stats.txt is now generated with every build; stats.txt tracks text, gzip, and brotli compression stats for every distribution CSS file.
  • Deprecated the place API for ZStack (see below).

ZStack usage:

<div class="zstack">
  <div><!-- ... --></div>
  <div class="top-0 right-0"><!-- ... --></div>
</div>

CDN links:

  • duomo-full.css
  • duomo-full.min.css* (default)
  • duomo.css
  • duomo.min.css
  • skeleton.css
  • skeleton.min.css

You can always explore the CDN links via this unpkg link: http://unpkg.com/@zaydek/duomo/. Note that the trailing forward slash is important to differentiate the default build from the inspectable directory.

dist/stats.txt for this release:

dist/duomo-full.css
+-----------------+
| text   | 1029kB |
| gzip   |   93kB |
| brotli |   35kB |
+-----------------+

dist/duomo-full.min.css
+-----------------+
| text   |  695kB |
| gzip   |   85kB |
| brotli |   29kB |
+-----------------+

dist/duomo.css
+-----------------+
| text   |  697kB |
| gzip   |   65kB |
| brotli |   24kB |
+-----------------+

dist/duomo.min.css
+-----------------+
| text   |  469kB |
| gzip   |   59kB |
| brotli |   21kB |
+-----------------+

dist/skeleton.css
+-----------------+
| text   |  416kB |
| gzip   |   48kB |
| brotli |   17kB |
+-----------------+

dist/skeleton.min.css
+-----------------+
| text   |  314kB |
| gzip   |   47kB |
| brotli |   16kB |
+-----------------+