Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-theming

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-theming

A platform for CSS theming.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CSS Theming

npm License

A platform for CSS theming.

Uses modern CSS and SCSS. Contrast of computed colors is at least AA compatible by default.

niai

from https://niai.mrahhal.net

At a glance

  • Themes and theme category management
  • Auto detects user's system preference and activates the appropriate theme
  • Colors and their swatches automatically computed for light/dark themes
  • Auto computation of rgb variables for colors (provided as css variables for ease of use)
  • Foregrounds, backgrounds, borders
  • Support for icons/svgs
  • Programmatic access

Installation & Setup

Check this document.

Course

Please consider buying the course at educative.io here: https://www.educative.io/courses/css-theming-for-professionals

It contains a deep dive into the problems involved with creating themes and their solutions, and is the backbone behind css-theming.

Development

DEVELOPMENT.md

Samples

The samples folder contain several samples that show case some of the use cases. They're written in Vue so that we can focus on the theming aspects.

To run any sample app, run the following inside its folder:

npm i
npm start

In any sample app, hit "T" on the keyboard to flip between the 2 main themes and see instant changes.

Projects using css-theming

Thanks

  • @rubix-labs: I worked on most of this as part of my job here.
  • @sayache: Graphic, UX and UI designer.

Keywords

FAQs

Package last updated on 23 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc