Giter VIP home page Giter VIP logo

Comments (2)

VictorCazanave avatar VictorCazanave commented on May 24, 2024

Thanks for your comment @eiproject!

I am a bit confused to change the color. And then I try to find the CSS file that control the color.
I just want to say to everyone who need to modify the CSS, this is the default.

Actually this is already documented: "Optionally, import react-svg-map/lib/index.css if you want to apply the default styles".

Instead of using default import "react-svg-map/lib/index.css"; You can save your custom CSS.

It's obvious to me that if you don't want to use the default styles, you can import your custom CSS.
However, I'll add it in the documentation to be more clear.

It will really helps if there is a way to custom the color easier.

I agree that it would be more convenient and I thought about using CSS variables, but they aren't supported by the older browsers, or SCSS variables, but it seemed over-engineered to me (I may reconsider it 🤔).
This project provides simple components with a limited amount of CSS, then the default styles are kinda given as an example and people can easily create their own styles.

from react-svg-map.

rizquuula avatar rizquuula commented on May 24, 2024

Yes, thank you for the awesome project. I love it so much!

from react-svg-map.

Related Issues (20)

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.