Comments (5)
100% agree. It would need some refactoring, but to have a colours component, that can be included/excluded at will, would be a big step forward.
Two theme colours, and 3-4 utility colours (success, error, disabled), would suffice for the people who use SASS I think. People using cdn can still take advantage of the whole array of needed.
from materialize.
I think as long as there's still a way to import all the colors, this would probably be a net good for people just starting out in the library. Notebook.ai uses almost every single shade of every color throughout the design so I wouldn't want to be limited to N colors without a way to get them all back, but I recognize that's probably an exception to most designs and would be happy to just include something like @materializecss/colors
.
from materialize.
I personally don't agree at first, but your arguments are fully valid for large projects.
So okay, making a separate package is a good idea, but I think we should make materialize like bootstrap :
- The full package in a single minified js and css
- Optional packages for download where you just choose what you need (materialize/colors materialize/grid...)
Also, may implement this will break components that depends on these colors ?
Anyway, that's an issue we have to consider for v2
from materialize.
@materializecss/members
from materialize.
I personally love all the colors in materialize. I have found that the specific shades of colors in materialize are so much more vibrant than other frameworks. I would hate to see them all go away without a way of getting them back. However, I think it would probably be a good idea to have them as a separate package that if the developer needs all the colors they can import them all, import just the dark shades, or just define their own color pallet and use that only
from materialize.
Related Issues (20)
- Removing noUiSlider HOT 1
- Sidenav from right side HOT 3
- [Bug]: Inconsistent behaviour when Datepicker has an implicit label HOT 2
- [Bug]: HOT 2
- Typo in Documentation for Floating Action Button HOT 4
- Date Picker to pick several dates
- M.textareaAutoResize function missing in the release 2.0.0-alpha HOT 7
- [Bug]: Release 2.0.0-alpha module does not load in webpack projects HOT 6
- CI/Documentation: Handling Pull Requests HOT 1
- [Bug]: List in sidenav has bullet points HOT 2
- More flexible approach on icons HOT 1
- [Bug]: Dropdown not saving options HOT 4
- [Bug]: Color problem when hovering over a link on the dropdown only in the navbar. HOT 1
- Would it be possible to handle dark mode differently? HOT 10
- [Bug]: Selects label dissapear HOT 6
- [Bug]: Toast html/unsafeHtml not work HOT 17
- [Bug]: onChange Event not triggered on event inline html in React HOT 1
- Moving to Beta HOT 4
- Improvement of icon HOT 2
- Spacing helper classes in CSS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialize.