सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एक फ्लटर पैकेज जो प्रसिद्ध ब्रांड और कंपनियों के लिए सुंदर, घोषणात्मक रंग पैलेट प्रदान करता है। विकासकर्ताओं के लिए डिज़ाइन किया गया है जिन्हें अपने ऐप में स्थिर, ब्रांड-अनुकूल रंगों की आवश्यकता होती है, इसमें आधिकारिक ब्रांड रंगों के सीधे मैपिंग के लिए उपयोग में आसान क्लासेस प्रदान करता है। यह पैकेज कई प्लेटफॉर्मों का समर्थन करता है और एक सरल pub add कमांड के माध्यम से फ्लटर प्रोजेक्ट में बिना किसी दिक्कत के एकीकृत होता है। ब्रांडिंग, UI डिज़ाइन सुसंगतता और वास्तविक दुनिया के ब्रांड अस्तर के साथ त्वरित प्रोटोटाइपिंग के लिए आदर्श है।
उपयोग
ब्रांड-थीम्ड ऐप इंटरफेस
स्थिर यूआई रंग योजना
ब्रांड रंगों के साथ त्वरित प्रोटोटाइपिंग
मार्केटिंग या कॉर्पोरेट ऐप डिज़ाइन
विकास में रंग पैलेट संदर्भ
क्रॉस-प्लेटफ़ॉर्म ब्रांड एलाइनमेंट
मुख्य विशेषताएँ
घोषणात्मक ब्रांड रंग क्लासेज़
ऑफिशियल ब्रांड कलर सटीकता
बहुपлатफॉर्म समर्थन
सरल पब एड इंटीग्रेशन
विस्तार्य रंग परिभाषाएँ
साफ, पढ़ने योग्य API
इनके लिए उपयुक्त
Flutter का उपयोग करने वाले UI/UX डिजाइनर
ब्रांडेड ऐप्स बनाने वाले डेवलपर्स
त्वरित ब्रांड सुसंगतता की आवश्यकता वाली स्टार्टअप
डिज़ाइन सिस्टम कार्यान्वयनकर्ता
दृश्य सटीकता पर ध्यान केंद्रित फ्रंटएंड टीमें
विचार योग्य बातें
पूर्वनिर्धारित ब्रांड पैलेट के सीमित
कस्टम रंग निर्माण के लिए नहीं बनाया गया है
बाहरी ब्रांड दिशानिर्देशों पर निर्भर करता है
नए ब्रांड परिवर्तन के लिए अपडेट की आवश्यकता हो सकती है
कोई रनटाइम रंग कस्टमाइजेशन विकल्प नहीं
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Flutter Brand Palettes is a collection of declarative, object-oriented
classes for the color palettes of popular brands and companies.
For example, to retrieve the Instagram colors at once, as a List<Color>
object, simply declare InstagramGrad().colors — the 'Grad' suffix is short for
Gradient.
For a single color, simply select it from the color palette class it belongs to.
For example, the command Instagram.royalBlue() retrieves the royal blue color
from the Instagram color palette; likewise, Instagram.yellow() retrieves the
yellow color; and so on.
In addition, all classes are well-documented and fully unit-tested, passing
through a CI pipeline with rigorous quality ports.
Getting Started
Instead of a constant integer value, a color is represented by a named
constructor of its corresponding brand class. In this way, the source code
becomes more object-oriented, readable and maintainable.
For example, the command Facebook.blue().color returns Facebook's blue color
#4267B2. Similarly, the command Instagram.red().color returns Instagram's
red color #FD1D1D; Google.red().color, Google's red color #DB4437.
Therefore, the command pattern for any brand is: 'Brand.colorName().color'.
Color Palettes in Action
The code bellow builds a container widget whose background color is Facebook
blue.
The code below builds a rectangle filled with the Google logo gradient.
/// Rectangle filled with Google logo color gradient.classGoogleishextendsStatelessWidget{
staticfinal _googleGrad = constGoogleGrad().colors;
@overrideWidgetbuild(BuildContext context) {
returnContainer(
decoration: BoxDecoration(
gradient: LinearGradient(colors: _googleGrad),
),
);
}
}
The result of the previous code in full screen
Demo application
The demo application provides a fully working example, focused on demonstrating
exactly one brand in action: Instagram. You can take the code in this demo and
experiment with it.
To run the demo application:
git clone https://github.com/dartoos-dev/flutter_brand_palettes.git
cd flutter_brand_palettes/example/
flutter run -d chrome
This should launch the demo application on Chrome in debug mode.
I need the 'X' color palette
Do you need a color palette that has not been implemented yet?
It doesn't matter the size and relevance of the company, not even if it's a tech
company.
Just open an
issue and enter
the brand or company name; the color palette will be implemented as soon as
possible.
Contribute
Contributors are welcome!
Open an issue regarding an improvement, a bug you noticed, or ask to be
assigned to an existing one.
If the issue is confirmed, fork the repository, do the changes on a separate
branch and make a Pull Request.
After review and acceptance, the Pull Request is merged and closed.
Make sure the command below passes before making a Pull Request.
flutter analyze && flutter test
List of Color Palettes (A-Z)
For more in-depth details — hex codes, brand colors, etc. —, check the
color-palettes
API documentation.