Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Colors: Initial pass on updated palette. #140

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 66 additions & 34 deletions scss/variables/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,74 @@
}
}( this, function( chassis ) {

var colors = {
"chassis-gray-dark": {
"value": "#383838",
"name": "Chassis Gray - Dark"
},
"chassis-gray": {
"value": "#c1c1c1",
"name": "Chassis Gray"
},
"chassis-gray-light": {
"value": "#f2f2f2",
"name": "Chassis Gray - Light"
},
"chassis-blue-dark": {
"value": "#388695",
"name": "Chassis Blue - Dark"
chassis.colors = {
"default": {
name: "Default Colors",
value: {
"base": "#FAFAFA",
"light": "#FFFFFF",
"dark": "#FAFAFA",
"darker": "#F5F5F5"
}
},
"chassis-blue": {
"value": "#4fc0c8",
"name": "Chassis Blue"
"primary": {
name: "Primary Colors",
value: {
"base": "#3F51B5",
"light": "#5C6BC0",
"dark": "#3949AB",
"darker": "#303F9F"
}
},
"chassis-yellow": {
"value": "#fadf51",
"name": "Chassis Yellow"
}
};
chassis.colors = {
"background": colors[ "chassis-gray-dark" ],
"font": colors[ "chassis-gray-dark" ],
"link": colors[ "chassis-blue-dark" ],
"button": colors[ "chassis-blue" ],
"buttonText": colors[ "chassis-gray-light" ],
"blockquoteBorder": {
name: "Chassis - Blockquote color",
value: "#eee"
}
"success": {
name: "Success Colors",
value: {
"base": "#43A047",
"light": "#4CAF50",
"dark": "#388E3C",
"darker": "#2E7D32"
}
},
"warning": {
name: "Warning Colors",
value: {
"base": "#FF5722",
"light": "#FF7043",
"dark": "#F4511E",
"darker": "#E64A19"
}
},
"info": {
name: "Info Colors",
value: {
"base": "#039BE5",
"light": "#03A9F4",
"dark": "#0288D1",
"darker": "#0277BD"
}
},
"error": {
name: "Error Colors",
value: {
"base": "#F44336",
"light": "#EF5350",
"dark": "#E53935",
"darker": "#D32F2F"
}
},
"text": {
name: "Text Colors",
value: {
"base": "#212121",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too light? maybe something darker like #111111 ?

"light": "#727272"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fails WCAG AAA for normal size text.
Something like #555555 would pass all tests

},
"background": {
name: "Background Colors",
value: {
"base": "#fff"
}
}
};
return chassis;
} ) );