Skip to content

Commit

Permalink
updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
isradeleon committed Aug 23, 2019
1 parent 6adc32d commit c0b0523
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 51 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ You may use the CDN for a quick start:

```html
<!-- Styles -->
<link rel="stylesheet" href="https://cdn.statically.io/gh/isradeleon/coraline/0.5.2/coraline-v0.5.2/coraline.min.css">
<link rel="stylesheet" href="https://cdn.statically.io/gh/isradeleon/coraline/0.5.3/coraline-v0.5.3/coraline.min.css">

<!-- Staggered grid and sidebar -->
<script src="https://cdn.statically.io/gh/isradeleon/coraline/0.5.2/coraline-v0.5.2/coraline.min.js"></script>
<script src="https://cdn.statically.io/gh/isradeleon/coraline/0.5.3/coraline-v0.5.3/coraline.min.js"></script>
```

## Easy to install

You may just install the framework from npm or download the current version from [here](https://github.com/isradeleon/coraline/releases/download/0.5.2/coralinecss.zip). Then just import the minified CSS and JS files into your project.
You may just install the framework from npm or download the current version from [here](https://github.com/isradeleon/coraline/releases/download/0.5.3/coralinecss.zip). Then just import the minified CSS and JS files into your project.

### NPM

Expand All @@ -36,10 +36,10 @@ npm install coralinecss

```html
<!-- Import the styles -->
<link rel="stylesheet" href="coraline-v0.5.2/coraline.min.css">
<link rel="stylesheet" href="coraline-v0.5.3/coraline.min.css">

<!-- Staggered grid and sidebar functionality -->
<script src="coraline-v0.5.2/coraline.min.js"></script>
<script src="coraline-v0.5.3/coraline.min.js"></script>
```

## Components
Expand Down
20 changes: 1 addition & 19 deletions base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Coraline v0.5.2
Coraline v0.5.3
*/
@import url("https://fonts.googleapis.com/css?family=Montserrat");
body {
Expand Down Expand Up @@ -967,24 +967,6 @@ textarea {
.site-section.white {
background-color: white; }

.site-section.primary {
background-color: #6c5ce7; }

.site-section.primary * {
color: white; }

.site-section.brand {
background-color: #ff7675; }

.site-section.brand * {
color: white; }

.site-section.secondary {
background-color: #0984e3; }

.site-section.secondary * {
color: white; }

/* FOOTER */
footer {
background-color: #fafafa;
Expand Down
20 changes: 1 addition & 19 deletions base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Coraline v0.5.2
Coraline v0.5.3
*/

@function contrast-color($n) {
Expand Down Expand Up @@ -1120,24 +1120,6 @@ textarea{
.site-section.white{
background-color: white;
}
.site-section.primary{
background-color: $primary;
}
.site-section.primary *{
color: white;
}
.site-section.brand{
background-color: $brand;
}
.site-section.brand *{
color: white;
}
.site-section.secondary{
background-color: $secondary;
}
.site-section.secondary *{
color: white;
}

/* FOOTER */
footer{
Expand Down

Large diffs are not rendered by default.

File renamed without changes.
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var frameworkBinary = '../coralinecss';
if (!fs.existsSync(frameworkBinary)){
fs.mkdirSync(frameworkBinary);
}
var frameworkSources = frameworkBinary+'/coraline-v0.5.2';
var frameworkSources = frameworkBinary+'/coraline-v0.5.3';
if (!fs.existsSync(frameworkSources)){
fs.mkdirSync(frameworkSources);
}
Expand All @@ -27,7 +27,7 @@ var docsPath = '../coraline-docs';
if (!fs.existsSync(docsPath)){
fs.mkdirSync(docsPath);
}
var docsSourcesPath = docsPath+'/coraline-v0.5.2';
var docsSourcesPath = docsPath+'/coraline-v0.5.3';
if (!fs.existsSync(docsSourcesPath)){
fs.mkdirSync(docsSourcesPath);
}
Expand Down Expand Up @@ -130,7 +130,7 @@ var baseJs = fs.readFileSync('base.js').toString();
var Terser = require("terser");
var jsResult = Terser.minify(baseJs);
if(!jsResult.error){
fs.writeFileSync('coraline-v0.5.2/coraline.min.js', jsResult.code);
fs.writeFileSync('coraline-v0.5.3/coraline.min.js', jsResult.code);
fs.writeFileSync(docsSourcesPath+'/coraline.min.js', jsResult.code);
fs.writeFileSync(frameworkSources+'/coraline.min.js', jsResult.code);
}else{
Expand Down Expand Up @@ -169,7 +169,7 @@ postcss([ autoprefixer ]).process(baseCss,{from: undefined}).then(result => {
})

var minifiedCss = csso.minify(result.css).css;
fs.writeFileSync('coraline-v0.5.2/coraline.min.css', minifiedCss);
fs.writeFileSync('coraline-v0.5.3/coraline.min.css', minifiedCss);
fs.writeFileSync(docsSourcesPath+'/coraline.min.css', minifiedCss);
fs.writeFileSync(frameworkSources+'/coraline.min.css', minifiedCss);

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coralinecss",
"version": "0.5.2",
"version": "0.5.3",
"description": "Lightweight HTML, CSS and JS frontend component library",
"main": "base.scss",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,7 @@
"terser": "^4.1.2"
},
"files": [
"coraline-v0.5.2",
"coraline-v0.5.3",
"base.scss",
"base.css",
"base.js",
Expand Down

0 comments on commit c0b0523

Please sign in to comment.