All Projects → tedconf → Shed Css

tedconf / Shed Css

Licence: isc
Functional and customizable CSS utilities with familiar names

Labels

Projects that are alternatives of or similar to Shed Css

Framelayoutkit
FrameLayoutKit is a super fast and easy to use autolayout kit
Stars: ✭ 53 (-43.01%)
Mutual labels:  layout
Dji Hardware Schematics
Community made schematics for the DJI drones and devices.
Stars: ✭ 72 (-22.58%)
Mutual labels:  layout
Flipperlayout
Android version of FlipperControl for UWP (https://github.com/JuniperPhoton/FlipperControl)
Stars: ✭ 85 (-8.6%)
Mutual labels:  layout
Phidl
Python GDS layout and CAD geometry creation
Stars: ✭ 56 (-39.78%)
Mutual labels:  layout
Swift Layout Animation Transition 30days
Stars: ✭ 68 (-26.88%)
Mutual labels:  layout
Article
web
Stars: ✭ 75 (-19.35%)
Mutual labels:  layout
Keyboardlayoutguide
⌨️ Manage iOS keyboard with Apple's missing KeyboardLayoutGuide
Stars: ✭ 1,054 (+1033.33%)
Mutual labels:  layout
Bannerlayout
Support unlimited picture rotation BannerLayout, the minimum implementation of the code banner
Stars: ✭ 92 (-1.08%)
Mutual labels:  layout
Kotlinanim
Create fluent animations in a kotlin way
Stars: ✭ 72 (-22.58%)
Mutual labels:  layout
Devextreme Angular Template
Responsive Application Layout Templates​ based on DevExtreme Angular Components
Stars: ✭ 80 (-13.98%)
Mutual labels:  layout
Mgrelativekit
Convert absolute to relative layout without autolayout.
Stars: ✭ 62 (-33.33%)
Mutual labels:  layout
Android Ribbonviews
🎀 This is an android view library "RibbonViews".
Stars: ✭ 66 (-29.03%)
Mutual labels:  layout
Easygrid
EasyGrid - VanillaJS Responsive Grid
Stars: ✭ 77 (-17.2%)
Mutual labels:  layout
Spherelayout
a layout which supports 3d rotate and enable its childview has z-depth for android
Stars: ✭ 55 (-40.86%)
Mutual labels:  layout
Postcss Grid Kiss
A PostCSS plugin to keep CSS grids stupidly simple
Stars: ✭ 1,270 (+1265.59%)
Mutual labels:  layout
Capsicain
Powerful low-level keyboard remapping tool for Windows
Stars: ✭ 51 (-45.16%)
Mutual labels:  layout
Vue Router Layout
Lightweight layout resolver for Vue Router
Stars: ✭ 74 (-20.43%)
Mutual labels:  layout
Interfacss
The CSS-inspired styling and layout framework for iOS
Stars: ✭ 92 (-1.08%)
Mutual labels:  layout
Kvconstraintkit
An Impressive Auto Layout DSL for iOS, tvOS & OSX. & It is written in pure swift.
Stars: ✭ 91 (-2.15%)
Mutual labels:  layout
Interior
Design system for the modern web.
Stars: ✭ 77 (-17.2%)
Mutual labels:  layout

shed.css – The Beginning of the End of CSS

Shed.css came about after I got tired of writing CSS. All of the CSS in the world has already been written, and there's no need to rewrite it in every one of our projects. After a bikeshedding session with @brnnbrn & @samselikoff, and me, we came up with a naming scheme we were satisfied with, and shed.css was born.

What does shed accomplish?

What does it look like?

Use

In a hurry? Clone this repo to get going with a starter kit and skip all of the setup.

First, install shed using npm.

❯ yarn add -D shed-css

At this point, we come to a fork in the road. Choose one of these options:

🚳 Single Speed

— I just want to use it.

@import "shed-css/dist/index.css";

⚛️ React

— I want to use it in React.js

Shed has a react companion implemented using styled components. It comes with an optional babel plugin which allows you to write components like this:

<h1.shed
	f="4"
	px="2"
	c="white"
	bg="blue"
>
	Padded Headline
</h1.shed>

🖌 Fixie

— I want to customize the scale and fonts.

Shed is written in PostCSS using future css syntax, but is distributed as future css and Sass. To customize the scale and fonts, you must follow one of these two paths:

PostCSS

install shed's peer dependencies (postcss and cssnext) and add them to your build pipeline.

Install peer deps:
npm ls 2>/dev/null | grep \"UNMET PEER DEPENDENCY\" | awk '{print $NF}' | xargs yarn add -D
Customize Variables:
@import "shed-css/lib/index.css";

:root {
	/*
	 * These "z" values reflect the steps on the scale.
	 * Numbers prefixed with "dot" mean they're below
	 * the base font size.
	 */
	--z-dot1: .19381rem
	--z-dot2: .23257rem
	--z-dot3: .27908rem
	--z-dot4: .3349rem
	--z-dot5: .40188rem
	--z-dot6: .48225rem
	--z-dot7: .5787rem
	--z-dot8: .69444rem
	--z-dot9: .83333rem
	--z0: 0;
	--z1: 1rem
	--z2: 1.2rem
	--z3: 1.44rem
	--z4: 1.728rem
	--z5: 2.0736rem
	--z6: 2.48832rem
	--z7: 2.98598rem
	--z8: 3.58318rem
	--z9: 4.29982rem
	--z10: 5.15978rem

	/*
	 * These "f-f" values change the font family utilties
	 * in the "font family" section.
	 */
	--f-f-sans: sans-serif;
	--f-f-serif: serif;
	--f-f-mono: monospace;

	/*
	 * These "l-h" values change the line height utilties
	 * in the "line height" section. Unitless numbers recommended.
	 */
	--l-h--default: 1;
	--l-h--tight: 1.2;
	--l-h--normal: 1.5;
	--l-h--loose: 1.75;

	/*
	 * These "l-s" values change the letter spacing
	 * utilties in the "letter spacing" section.
	 * Em values recommended.
	 */
	--l-s--default: normal;
	--l-s--tight: -.04em;
	--l-s--normal: -.01em;
	--l-s--loose: .1em;
}

Now, you might want to get your brand colors in there by creating a custom theme.

🚲🏚 Trailblazer

— I demand complete control (pro-level bikeshedder)

See the full customization guide

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].