Skip to content

Commit

Permalink
[+] Carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
denvash committed Apr 15, 2019
1 parent 443d342 commit 7dfd6b8
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 86 deletions.
18 changes: 6 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.9] - 04/2019
## [1.0.10] - 04/2019

### Changed

- `html`: color fix.

## [1.0.7] - 03/2019

### Changed

- `json`: added coloring till nest level 9.
### Added

## [1.0.6] - 03/2019
- `json`: Added coloring till nest level 9.

### Changed

- `javascript`: class constructor color to `#ECF6FF` - `italic underline bold`.
- `html`: Color fix.
- `JSDocs`: Betters Comments.
- `javascript`: Class constructor act as function.
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,39 @@ The **minimalistic design** makes the developer to **concentrate** on what's imp
![JavaScript Syntax](https://img.shields.io/badge/SYNTAX-JavaScript-gray.svg?colorB=F699D9)
![JavaScript](images/example-syntax-js.png)

<br>

![hr](images/hr.png)

<br>

![React Syntax](https://img.shields.io/badge/SYNTAX-React-gray.svg?colorB=F699D9)
![react](images/example-syntax-react.png)
![stateless](/images/example-stateless.png)
![hooks](/images/example-syntax-react-stories.png)

<br>
![hr](images/hr.png)

![react](images/example-syntax-react.png)

![hr](images/hr.png)

<br>
![example2](/images/example-syntax-redux-actions.png)

![hr](images/hr.png)

![Editor](https://img.shields.io/badge/EDITOR-View-gray.svg?colorB=F699D9)
![example2](/images/example-editor-js.png)

![hr](images/hr.png)

![Editor](https://img.shields.io/badge/Syntax-JSON-gray.svg?colorB=F699D9)
![example2](/images/example-syntax-json.png)

![hr](images/hr.png)

![Editor](https://img.shields.io/badge/Syntax-HTML-gray.svg?colorB=F699D9)
![example2](/images/example-syntax-html.png)

![hr](images/hr.png)

![Editor](https://img.shields.io/badge/Syntax-Terminal-gray.svg?colorB=F699D9)
![example2](/images/example-syntax-terminal.png)

</div>

## Configuration
Expand Down
23 changes: 23 additions & 0 deletions demo/AddPipelineForm.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React, { useState } from 'react';

import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';

import AddPipelineForm from 'components/dumb/AddPipelineForm.react';
import addPipelineTemplate from 'config/addPipeline.template.json';

function Container() {
const [current, setCurrent] = useState(0);
const [formData, setFormData] = useState(addPipelineTemplate);
return (
<AddPipelineForm
formData={formData}
onSubmit={action('click')}
onChange={setFormData}
onStep={setCurrent}
step={current}
/>
);
}

storiesOf('Basics|AddPipelineForm', module).add('Default', () => <Container />);
17 changes: 10 additions & 7 deletions demo/carbon.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
// Summer-Time Carbon Preset, lookup "summer-time-theme-vscode"
const pluckDeep = key => obj =>
key.split('.').reduce((accum, key) => accum[key], obj);

const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
const compose = (...fns) => res =>
fns.reduce((accum, next) => next(accum), res);

const unfold = (f, seed) => {
const go = (f, seed, acc) => {
const res = f(seed)
return res ? go(f, res[1], acc.concat([res[0]])) : acc
}
return go(f, seed, [])
}
const res = f(seed);
return res ? go(f, res[1], acc.concat([res[0]])) : acc;
};
return go(f, seed, []);
};
Binary file added images/carbon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/example-stateless.png
Binary file not shown.
Binary file added images/example-syntax-terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/example-terminal-syntax.png
Binary file not shown.
118 changes: 59 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"name": "summer-time",
"displayName": "Summer Time Theme",
"description": "🍧 A modern Dark Material theme for VS-Code IDE 🍦",
"version": "1.0.9",
"publisher": "DennisVash",
"engines": {
"vscode": "^1.15.0"
},
"icon": "images/logo-clean.png",
"repository": {
"type": "git",
"url": "https://github.com/denvash/summer-time-theme-vscode"
},
"galleryBanner": {
"color": "#2B303B",
"theme": "dark"
},
"categories": [
"Themes"
],
"keywords": [
"Summer Time",
"Dark Theme",
"Material",
"Minimalistic",
"Theme",
"VS-Code"
],
"contributes": {
"themes": [
{
"label": "Summer Time",
"uiTheme": "vs-dark",
"path": "./themes/summer-time-vscode-theme.json"
}
]
},
"devDependencies": {
"auto-changelog": "^1.11.0",
"nodemon": "^1.18.10",
"release-it": "^7.6.3"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"commitLimit": false,
"package": true,
"replaceText": {
"FIX: ": "",
"NEW: ": "",
"IMPROVE: ": "",
"DOC: ": ""
}
},
"scripts": {
"start": "nodemon --exec vsce package",
"log": "auto-changelog && git add . && git ci -m ' 📖 DOC: Update the changelog' && git push",
"release": "release-it && npx vsce publish",
"release-major": "release-it major && npx vsce publish",
"release-dry": "release-it --dry-run"
"name": "summer-time",
"displayName": "Summer Time Theme",
"description": "🍧 A modern Dark Material theme for VS-Code IDE 🍦",
"version": "1.0.10",
"publisher": "DennisVash",
"engines": {
"vscode": "^1.15.0"
},
"icon": "images/logo-clean.png",
"repository": {
"type": "git",
"url": "https://github.com/denvash/summer-time-theme-vscode"
},
"galleryBanner": {
"color": "#2B303B",
"theme": "dark"
},
"categories": [
"Themes"
],
"keywords": [
"Summer Time",
"Dark Theme",
"Material",
"Minimalistic",
"Theme",
"VS-Code"
],
"contributes": {
"themes": [
{
"label": "Summer Time",
"uiTheme": "vs-dark",
"path": "./themes/summer-time-vscode-theme.json"
}
]
},
"devDependencies": {
"auto-changelog": "^1.11.0",
"nodemon": "^1.18.10",
"release-it": "^7.6.3"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"commitLimit": false,
"package": true,
"replaceText": {
"FIX: ": "",
"NEW: ": "",
"IMPROVE: ": "",
"DOC: ": ""
}
},
"scripts": {
"start": "nodemon --exec vsce package",
"log": "auto-changelog && git add . && git ci -m ' 📖 DOC: Update the changelog' && git push",
"release": "release-it && npx vsce publish",
"release-major": "release-it major && npx vsce publish",
"release-dry": "release-it --dry-run"
}
}

0 comments on commit 7dfd6b8

Please sign in to comment.