npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

teutonic-css

v0.7.15

Published

Yet another CSS framework — versatile, well documented.

Downloads

341

Readme

Teutonic CSS

Teutonic CSS is a modern web design system to develop responsive, accessible websites and web applications. It's based on CSS Variables for easy customization and extension. It features cool tech like CSS Grid. The source is a collection of SCSS modules, but you can use the minified version, as it can be modified using CSS Vars.

This repo only contains the pure SCSS files to build the CSS from, also check out the Teutonic Docs.

Philosophy

  • Little things play together nicely
  • Slim but not skinny
  • Do more with less
  • Faster is better
  • A clean look
  • Opinionated

Feature galore

  • 3 grids: CSS Grid, Flexbox, Columns
  • For modern browsers only
  • CSS Vars customization
  • CSS only, BYO JavaScript
  • SCSS modules based source
  • Free and open source
  • Inverted styles
  • All responsive

Good to know

  • Only MS Edge, no Internet Explorer support
    • { box-sizing: border-box}
  • No screen reader support
  • No JavaScript included

Basic usage

  1. Prototype: include the CSS from the CDN
  2. Customize: match your brand with CSS vars
  3. Fork: Build your own from the SCSS source

Use cases and applications

  • Websites: marketing, blogs …
  • Web based applications: dashboards, eCommerce …

Tested browsers

Teutonic CSS is made for modern browsers.

  • Google Chrome 65
  • Safari 12
  • Firefox 60
  • MS Edge 42

It will not work on much older browsers, not even MS IE. Use at least CSS feature detection (@supports) to warn the user.

BYO JavaScript

No JavaScript here. Bring your own JS implementation.

Name origins

"Teutonic by nature" is a philosophy by fortrabbit …

The color system

Full black and full white are like in nature not used in big areas here. This way the bright colors of buttons will stand out a little more. But that's just one flavor.

Pseudo-atomic design

Teutonic only loosely makes use of Atomic design philosophy, currently. No fancy web components.s

CSS classes for humans

I like to understand HTML templates when I look at them. The Teutonic CSS class names are not following any strict naming convention, like BEM or OCSS. Most classes have speaking names, like flex to initiate Flexbox and grid for CSS Grid. Often used utility classes have very short abbreviations, like pa-t_xl for extra large padding top. More obscure class names often have longer abbreviations. Sometimes the class name is mix between property and value, sometimes it's just the value. Memorability over convention.

This is subject to change in future versions for more strict naming conventions.

CSS class name goals

  • Easy to read and write
  • Few class names as possible
  • Combine classes in meaningful ways
  • Short class names
  • Memorable names
  • Failure tolerant
  • Limited choices for a better design
  • Keep it simple stupid

CSS class types

  • Grid and layout helper classes like .grid and .flex
  • Design system classes .box
  • Resets and default styling for HTML elements, like .textarea
  • Additional helper clases like .form-label
  • Utility classes like .pa-s and .ma-top-s

Features

Flexbox based grid system

There is no clearfix hack here. Teutonic CSS contains a 'rigit' Flexbox grid system. The Teutonic Flexbox CSS grid has a few unique features. The Teutonic CSS grid is used like a traditional floating grid, where container are floating in rows. Still the grid relies on negative margins which sometimes acts a bit strange/unexpected.

CSS Grid based grid

There is an additional CSS Grid based grid. There are some shared features with the Flexbox grid system, others are unique.

Responsive approach

Teutonic CSS is mostly "desktop first" framework. Simply because, it was developed on a desktop computer. But it aims to behave very well on mobile, your cooperation provided. It makes use of viewport units with vw, vh and relative units with rem. So it has very little re-writes for only three device breakpoints: Desktop, Tablet & Phone. The grid system features mobile classes for smart collapsing: A row of four items on Desktop can collapse to two rows of two items on Tablet.

Usage

SCSS built system

Browse the GitHub repo and grab whatever you like. The main teutonic.scss file contains all the include within the include folder.

Documentation

The GitHub repo contains the SCSS source files and the documentation files. The docs are based on Jekyll and are rendered as GitHub pages here.

Key- & Buzz-words

  • agnostic
  • boilerplate
  • design system
  • fast
  • flat
  • lightweight
  • low-friction
  • modern
  • modular
  • opinionated
  • performance
  • powerful
  • reusable
  • SCSS modules
  • skeuomorphism
  • universal
  • utilities
  • web interfaces

Author

License

Code for the Teutonic CSS released under MIT license.