material-color-utilities
Flutter
material-color-utilities | Flutter | |
---|---|---|
9 | 1,203 | |
1,493 | 161,934 | |
2.2% | 0.5% | |
2.3 | 10.0 | |
20 days ago | 3 days ago | |
Dart | Dart | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" 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.
material-color-utilities
-
Built a multiplatform RSS app built using Kotlin and Compose Multiplatform
It was fun learning more about KMM and also trying out Compose for iOS. You can download the app from GitHub Releases (for now Android 12+ because of the unbounded blur any suggestions on how I can get this in a backwards-compatible manner?). Here are a few screenshots showcasing the app. I have used Material You based theming to dynamically theme the app based on the content image, it works on both Android and iOS. For that I had to extract the Material Color Utilities library into a KMM package I can use, you can find it here if you are interested and want to use it.
-
How to generate Material3 swatches out of an image
Checkout Google's material-color-utilities. It can generate an entire color scheme from a single color. You can use AndroidX palette to extract that input color.
-
Is there a library or algorithm to create Material Color Swatches, and primary/accent/custom for color, if possible for Compose, in Android like in Flutter?
Something like this?
-
I created Material 3 UI components library for new Vue 3 from scratch spending 2 months.
Yes this not exact clone of Material 3 spec as I'm not afraid to go towards non-traditional way by removing unneeded things for simplicity. Colors are generated using same new HCT color model algorithm, no difference here. In M3 spec colors are neutral, primary, secondary, tertiary. In mine you can add as many colors you want. So to keep minimal I added preset primary, neutral (mix of secondary and neutral) and leaving the other colors like tertiary(rarely used) on user. Now there is surface varient which is just reference to one of neutral tone not a whole new color. Mine also has surface color. In M3 buttons height 40px that is huge so I kept 36px (M2 spec). M3 typography tokens are display, headline, title, body each has 3 variants large, medium, small. In mine added choosing most used sizes title-large, title, body-small. And which shapes you referring to? Is it that I used Dialog corner 30px radius instead of 28px specified in M3 spec? No issue, I can add options to customize radius for whole UI. Those little changes for simplicity doesn't make it completely unusable app by any means, this is not even a error or accessibility issue like Dialog not closing when Escape pressed. You are dramatizing. And does Material Web Components handles form validation with custom rules, reseting all field values? Does that conditionally renders templates when browser screen breakpoints resized? Can that show stacked dialogs one top of another or handle dark theme? No, because there is reason behind people using Material UI (React) instead of not feature-rich Material Web Components (has React version) just like that mine is way more than only M3 spec built for reactive framework Vue. Material Web Components doesn't support Vue. Here a syntax comparison with Material Web Components that you waiting for. Feels like looking at minified code: Textarea Label
-
Today I finished my portfolio Material 3 components for Vue 3.
If you mean if I customized any existing component library to look like Material 3. No, everything from scratch. Only used one external npm dependency https://github.com/material-foundation/material-color-utilities for HCT color model to generate Monet colors tones. At first I was using native CSS HSL adjusting lightness value, then Google recently released this HCT algorithm and I replaced HSL with HCT as this giving more accurate shade. And I took some inspiration from official Material 3 docs, Flutter Material 3 like https://github.com/flutter/flutter/issues/91605, Material UI (React), Vuetify, Equal UI, Vuesax, Muse UI, PrimeVue, Quasar, Angular Material, Chakra UI (React) and implemented in own new ways. Like the ripple implementation is completely different, improved in mine. Material UI internally usage PopperJS dependency (new name Floating UI) to position Tooltips, Menus https://github.com/mui/material-ui/blob/master/packages/mui-base/package.json#L58. Didn't used Floating UI (minified CDN 10KB) instead I created custom more lightweight (minified 1KB) positioning engine which internally used as Vue composables for now, yet to be documented.
-
Automatic Material You Colors Generator from your wallpaper for the Plasma Desktop (beta)
This is a Python program that uses this C# implementation of Google's Material Color Utilities to extract a color from an image and then generate a Material Design 3 color scheme. Which is used to generate both Light and Dark Color Themes for KDE. Details and Arch PKGBUILD in the GitHub repo.
-
Does anybody know how the new "Material You" pick and generate color palette from a wallpaper? What's happening behind the scene?
Google uploaded source code. Usage new HCT color model. https://github.com/material-foundation/material-color-utilities
-
Material You and Brand Semantic Colors, A Solution
MCU Blend class
-
Semanttic Custom Colors in Material You In FLutter
Material Color Utilties
Flutter
-
Show HN: Shorebird 1.0, Flutter Code Push
[3]: https://github.com/flutter/flutter/tree/master/packages/flut...
-
3D and 2D: Testing out my cross-platform graphics engine
Thanks - that link does not appear to be open access, anyways I don't think I've seen it. I'm familiar with Flutter at a high-level (Kevin Moore gave a great talk on it at Wasm I/O), and I think other than requiring users to work in Dart, it is probably one of the most powerful ways to do cross-platform UI today.
Worth noting that their original GPU backend was Skia, and now they are retooling around Flutter GPU (Impeller)[0], which is kind of designed similarly as an abstract rendering interface over platform-specific GPU APIs.
[0]https://github.com/flutter/flutter/wiki/Flutter-GPU
-
Python dev considering Electron vs. Kivy for desktop app UI
If you are considering Electron/React then I would suggest adding Flutter to your list of technologies to consider. It uses Dart (a language similar to C#) and has a lot going for it… relatively quick to get up to speed with, fantastic developer experience (e.g., hot reload, great IDE support, good development tools) and very strong cross-platform support: it generates native iOS, Android, MacOS, Windows and Linux executables. Check it out: https://flutter.dev/
- Lançamento do App Edudu
- Android 12+: Changing wallpaper or dark theme breaks Flutter and Jetpack Apps
- Android 12: Changing wallpaper or dark theme breaks Flutter and Jetpack Compose
-
React Native and Flutter: A Developer's Dilemma
You can find the React Native documentation here and Flutter Documentation here.
-
Ente: Open-Source, E2E Encrypted, Google Photos Alternative
[1]https://github.com/flutter/flutter/issues/55092#issuecomment...
- Reusing state logic is either too verbose or too difficult #51752
-
React Labs: What We've Been Working On – February 2024 – React Compiler
> There is actually a great issue thread on the Flutter GitHub that explains exactly why other solutions do not work correctly when compared to hooks [0]
Interesting. I assume you are referring to this comment in particular -> https://github.com/flutter/flutter/issues/51752#issuecomment... ?
What are some alternatives?
MaterialColorUtilities - Material You color algorithms for .NET
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
kde-material-you-colors - Automatic color scheme generator from your wallpaper for KDE Plasma powered by Material You
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
SierraBreeze - OSX-like window decoration for KDE Plasma written in C++
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
latte-dock-colored-indicators - Latte Dock indicators that follow icon colors
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Lightly - A modern style for qt applications.
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
arc-kde - Arc KDE customization
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time