Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
baa1e7ee
Commit
baa1e7ee
authored
Mar 15, 2016
by
Collin Jackson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide a list of Material design primary and accent color swatches
parent
dac1d4a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
colors.dart
packages/flutter/lib/src/material/colors.dart
+43
-0
No files found.
packages/flutter/lib/src/material/colors.dart
View file @
baa1e7ee
...
...
@@ -384,4 +384,47 @@ class Colors {
800
:
const
Color
(
0xFF37474F
),
900
:
const
Color
(
0xFF263238
),
};
/// All Material design primary color swatches (except grey)
static
const
List
<
Map
<
int
,
Color
>>
primaries
=
const
<
Map
<
int
,
Color
>>[
red
,
pink
,
purple
,
deepPurple
,
indigo
,
blue
,
lightBlue
,
cyan
,
teal
,
green
,
lightGreen
,
lime
,
yellow
,
amber
,
orange
,
deepOrange
,
brown
,
// grey intentionally omitted
blueGrey
,
];
/// All Material design accent color swatches
static
const
List
<
Map
<
int
,
Color
>>
accents
=
const
<
Map
<
int
,
Color
>>[
redAccent
,
pinkAccent
,
purpleAccent
,
deepPurpleAccent
,
indigoAccent
,
blueAccent
,
lightBlueAccent
,
cyanAccent
,
tealAccent
,
greenAccent
,
lightGreenAccent
,
limeAccent
,
yellowAccent
,
amberAccent
,
orangeAccent
,
deepOrangeAccent
,
];
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment