Skip to content

Commit

Permalink
Merge 5fbd113 into 4d04b04
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuku committed Jan 9, 2019
2 parents 4d04b04 + 5fbd113 commit cfcdfd5
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
/coverage
/dist
/semantic
19 changes: 18 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
[![Coverage Status](https://coveralls.io/repos/github/AgileVentures/WebsiteOne-FE/badge.svg?branch=develop)](https://coveralls.io/github/AgileVentures/WebsiteOne-FE?branch=develop)
[![Coverage Status](https://coveralls.io/repos/github/AgileVentures/WebsiteOne-FE/badge.svg?branch=develop)](https://coveralls.io/github/AgileVentures/WebsiteOne-FE?branch=develop)

# Semantic ui - customize
## This needs to be run with npm - yarn does not support menu
`# npm install semantic-ui`

This will create a new semantic folder
and copy our defaut file:

`cp site.variables semantic/src/site/globals/`

Then you can build semantic-ui
`gulp build` or `./../node_modules/gulp/bin/gulp.js build`
use the default values

and copy the folder to our src folder

`cp -R dist/* ../src/assets/`
22 changes: 22 additions & 0 deletions semantic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"base": "semantic/",
"paths": {
"source": {
"config": "src/theme.config",
"definitions": "src/definitions/",
"site": "src/site/",
"themes": "src/themes/"
},
"output": {
"packaged": "dist/",
"uncompressed": "dist/components/",
"compressed": "dist/components/",
"themes": "dist/themes/"
},
"clean": "dist/"
},
"permission": false,
"autoInstall": false,
"rtl": false,
"version": "2.4.2"
}
45 changes: 45 additions & 0 deletions site.variables
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*******************************
User Global Variables
*******************************/

@fontName : 'Ubuntu';
@googleFontSizes : '400,500,400i,500i';
@bold : 500;
@emSize : 16px;
@fontSize : 16px;
@primaryColor : @orange;
@secondaryColor : @teal;
@lightPrimaryColor : @lightOrange;
@lightSecondaryColor : @lightTeal;
@headerLineHeight : unit((20 / 14), em);
@h1 : unit((35 / 14), rem);
@h2 : unit((30 / 14), rem);
@h3 : unit((26 / 14), rem);
@h4 : unit((21 / 14), rem);
@h5 : unit((18 / 14), rem);
@lineHeight : 1.4127em;
@textColor : rgba(0, 0, 1, 0.72);
@linkColor : @orange;
@blue : #337AB7;
@green : #5Cb85C;
@olive : #9CA780;
@orange : #EE7335;
@pink : #D9499A;
@purple : #A24096;
@red : #E7603B;
@teal : #6BABA1;
@yellow : #E0A32E;
@darkBlue : #34495E;
@brown : #A5673F;
@white : #FFFFFF;
@lightBlue : lighten( @blue, 5);
@lightGreen : lighten( @green, 5);
@lightOrange : lighten( @orange, 5);
@lightPink : #FF8EDF;
@lightPurple : #CDC6FF;
@lightRed : lighten( @red, 5);
@lightTeal : lighten( @teal, 5);
@lightYellow : lighten( @yellow, 5);
@lightOlive : lighten( @olive, 5);
@primaryColor : @orange;
@secondaryColor : @darkBlue;
4 changes: 0 additions & 4 deletions src/Wink.js

This file was deleted.

1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<title>Books By Povic</title>
<meta name="viewport" content="width=device-width, initial-scale=1">


</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { render } from "react-dom";
import { UsersList } from "./containers/UsersList";
import { BrowserRouter, Route, Switch } from "react-router-dom";

import "./assets/semantic.css"

render(
<BrowserRouter>
<Switch>
Expand Down
12 changes: 0 additions & 12 deletions src/tests/wink.spec.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/wink.css

This file was deleted.

0 comments on commit cfcdfd5

Please sign in to comment.