All Projects → sparanoid → kladenets

sparanoid / kladenets

Licence: other
Future-proof native CSS variables in :root

Programming Languages

HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to kladenets

You Need To Know Css
💄CSS tricks for web developers~
Stars: ✭ 3,777 (+15008%)
Mutual labels:  css-variables
Theming Demo
https://codesandbox.io/s/github/juliaqiuxy/theming-demo/tree/master/?from-embed
Stars: ✭ 59 (+136%)
Mutual labels:  css-variables
Core
Native HTML Elements with CSS superpowers. 🕶
Stars: ✭ 237 (+848%)
Mutual labels:  css-variables
Tailwindcss Theming
Tailwind CSS plugin for client-side theming using CSS variables, with dark mode support
Stars: ✭ 349 (+1296%)
Mutual labels:  css-variables
Snack Helper
🗃 A universal CSS helper library.
Stars: ✭ 50 (+100%)
Mutual labels:  css-variables
Svelte Css Vars
✨ Ever wanted to have reactive css variables in svelte? What if I told you there's a way?
Stars: ✭ 150 (+500%)
Mutual labels:  css-variables
animadio
Animadio CSS Framework
Stars: ✭ 24 (-4%)
Mutual labels:  css-variables
pollen
The CSS variables build system
Stars: ✭ 754 (+2916%)
Mutual labels:  css-variables
React Custom Properties
A React component for applying CSS Variables (Custom Properties)
Stars: ✭ 57 (+128%)
Mutual labels:  css-variables
React Native Css Modules
Style React Native components using CSS, PostCSS, Sass, Less or Stylus.
Stars: ✭ 207 (+728%)
Mutual labels:  css-variables
Must Watch Css
A useful list of must-watch talks about CSS
Stars: ✭ 3,966 (+15764%)
Mutual labels:  css-variables
Ie11customproperties
CSS variables (Custom Properties) polyfill for IE11
Stars: ✭ 765 (+2960%)
Mutual labels:  css-variables
Css Vars
Sass mixin to use CSS Custom Properties with Sass
Stars: ✭ 164 (+556%)
Mutual labels:  css-variables
Grayshift
A lightweight front-end component library for developing fast and powerful web interfaces.
Stars: ✭ 304 (+1116%)
Mutual labels:  css-variables
Just Animate
Making Animation Simple
Stars: ✭ 242 (+868%)
Mutual labels:  css-variables
Switzerland
🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.
Stars: ✭ 261 (+944%)
Mutual labels:  css-variables
Cssplus
CSSplus is a collection of CSS Reprocessor plugins that dynamically update CSS variables
Stars: ✭ 141 (+464%)
Mutual labels:  css-variables
v-helper
A shorter SCSS access to CSS custom properties.
Stars: ✭ 14 (-44%)
Mutual labels:  css-variables
fylgja
The modular highly customisable CSS framework. Powered by CSS Components, Utilities and Props for building your Web UI.
Stars: ✭ 65 (+160%)
Mutual labels:  css-variables
Halfmoon
Front-end framework with a built-in dark mode and full customizability using CSS variables; great for building dashboards and tools.
Stars: ✭ 2,583 (+10232%)
Mutual labels:  css-variables

Kladenets (aka. Root Variables)

Test & Build npm version Chromatic visual testing Online Storybook

Minimal, future-proof native CSS variables (CSS Custom Properties) framework in :root designed with the following features:

  • Minimal variables defined: colors, typography, and layout helpers.
  • HSL colors: all colors are HSL-based for more straightforward manipulation (before we have CSS Color Module Level 4 in hands).
  • Easy to migrate: no magic variables for flex, or grid layout. You can continue to use your existing layout system.
  • Flexible to extend: all variables can be overridden later in :root or in specific scopes.
  • Dark mode ready: extend your existing app with prefers-color-scheme: dark, tweak colors with HSL, and you're ready to go.

Installation

unpkg

<!-- Stable -->
<link rel="stylesheet" href="https://unpkg.com/kladenets">

<!-- Latest -->
<link rel="stylesheet" href="https://unpkg.com/kladenets@next">

jsDelivr

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/kladenets/kladenets.css">

Yarn

yarn add kladenets

npm

npm i -S kladenets

Usage

Direct CSS

See app.css for example.

Import node_modules in Webpack

@import '~kladenets';

body {
  color: var(--text-color);
}

Import in JavaScript

import 'kladenets'

// styled-components example
const Component = styled.div`
  color: var(--text-color);
`

License

MIT

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].