postcss-multiple-themes
madge
postcss-multiple-themes | madge | |
---|---|---|
1 | 8 | |
6 | 8,535 | |
- | - | |
0.0 | 6.3 | |
over 1 year ago | 16 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postcss-multiple-themes
-
Using the PostCSS plugin Let your WebApp support dark mode
This article summarizes some common ways of front-end multiple skins. Through the most comparison, I find that it is the most convenient to generate skin style through PostCSS in our project, and it is also the easiest to make your website support dark mode. I opened up the plugin postcss-multiple-themes to Github and released the npm package.
madge
- Madge: Create graphs from your CommonJS, AMD or ES6 module dependencies
-
Visualisation tool
something like https://github.com/sverweij/dependency-cruiser maybe https://github.com/pahen/madge or https://github.com/antoine-coulon/skott
-
Thoughts on Svelte
You can render dependency graphs with Madge [0] (works with both TS and JS).
[0] https://github.com/pahen/madge
-
Would anyone find a visual representation of their React component tree like this be helpful?
It would be interesting to somehow overlay this graph on top of the typescript import graph (generated by something like madge). I suspect it might highlight some poorly organized regions of the codebase, because it would be obvious which component trees depend on multiple clusters of files.
- Tools to visualize the dependency graph between files of a github repo?
-
Set your project up for success
So far, I've always used a tool called madge, which saved my ass countless times.
-
ts-helper - Fast dependency cycle checker
I've also noticed that eslint cycle checking is slow for large projects, we currently use madge (https://github.com/pahen/madge) for cycle checking and its very fast and is working pretty well.
-
Is it possible to generate a flow diagram from Javascript code?
There's no VS Code extension for it AFAIK, but it's the best (and almost only) tool that I know which can do it for JavaScript code. There's also madge and emerge, in case the first one doesn't fit your needs.
What are some alternatives?
Symfony Encore - A simple but powerful API for processing & compiling assets built around Webpack
vue-component-analyzer - Analyze dependency tree for Vue.js SFC (Single File Component)
postcss-less - PostCSS Syntax for parsing LESS
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
postcss-plugin-boilerplate - PostCSS Plugin Boilerplate
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
parcel - The zero configuration build tool for the web. 📦🚀
stylelint - A mighty CSS linter that helps you avoid errors and enforce conventions.
style-resources - Style Resources for Nuxt 3
emerge - Emerge is a browser-based interactive codebase and dependency visualization tool for many different programming languages. It supports some basic code quality and graph metrics and provides a simple and intuitive way to explore and analyze a codebase by using graph structures.
ts-helper - Analyze TypeScript projects
frontal.js - A Modern HTML development framework and build-tool for your next static website.