GithubHelp home page GithubHelp logo

suryarajendhran / change-css Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.12 MB

A library to help modify CSS in all its forms easily.

Home Page: https://github.com/suryarajendhran/change-css

License: MIT License

JavaScript 42.58% TypeScript 23.30% HTML 9.45% Vue 24.45% CSS 0.21%
css frontend modify

change-css's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ“– About me

  • ๐Ÿ–ฅ Senior Developer at PurpleDot
  • ๐Ÿ–ฅ Ex-Lead developer at Krew Live
  • ๐Ÿ’ผ Ex-founder Scholared
  • ๐Ÿ“ข Work in public

change-css's People

Contributors

dependabot[bot] avatar suryarajendhran avatar

Stargazers

 avatar

Watchers

 avatar

change-css's Issues

Add more validation to CSSProperties

The CSS values that are passed to modify the CSS property should be valid, else the properties will not be overridden. So adding validation should help.

(Although this might be partly solved by checking whether the properties are actually modified after the fact but that is not the most accurate way to check if an invalid CSS value was provided. CSS properties could be overridden by other higher precedence property/rule or in cases where the CSS is dynamically manipulated.)

For example, the following function will fail to actually modify the CSS rule but no errors will be thrown.

import { modifyCSSRule } from 'change-css';

modifyCSSRule('body', {
  color: '#01g'
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.