summaryrefslogtreecommitdiff
path: root/web-ui/src/common/materialPixTheme.js
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-03-10 13:20:13 -0300
committerGitHub <noreply@github.com>2017-03-10 13:20:13 -0300
commit51a7eeb2142a4c3d71a67cb0693644ceec2e3637 (patch)
tree37fb9d4374a3a3873d0b092fce6e89299e097a1c /web-ui/src/common/materialPixTheme.js
parent1e62467a7adfafe91025cf6c8955d54770e705aa (diff)
parent99d03c1f4b2d4e10561fc4d0bef14ccd12ad0f9d (diff)
Merge pull request #1004 from pixelated/validate-email
[#923] Add material-ui framework
Diffstat (limited to 'web-ui/src/common/materialPixTheme.js')
-rw-r--r--web-ui/src/common/materialPixTheme.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/web-ui/src/common/materialPixTheme.js b/web-ui/src/common/materialPixTheme.js
new file mode 100644
index 00000000..34be7870
--- /dev/null
+++ b/web-ui/src/common/materialPixTheme.js
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2017 ThoughtWorks, Inc.
+ *
+ * Pixelated is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Pixelated is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+ */
+import getMuiTheme from 'material-ui/styles/getMuiTheme';
+
+const mediumLightGrey = '#999999';
+const darkBlue = '#178ca6';
+
+const materialPixTheme = getMuiTheme({
+ fontFamily: 'Open Sans, sans-serif',
+ palette: {
+ disabledColor: mediumLightGrey,
+ primary1Color: darkBlue,
+ borderColor: darkBlue
+ }
+});
+
+export default materialPixTheme;