Skip to content

Commit 9d25079

Browse files
siddharthkpCompuIves
authored andcommitted
Add theme from redesign to app as codesandbox-black (codesandbox#2937)
* rename new theme to codesandbox-black * add theme to extensions + compile
1 parent 82338f2 commit 9d25079

File tree

8 files changed

+1756
-7
lines changed

8 files changed

+1756
-7
lines changed

packages/app/src/embed/theme/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import dot from 'dot-object';
22
import applicationTheme from '@codesandbox/common/lib/theme';
3-
import codesandboxBlack from '@codesandbox/common/lib/themes/codesandbox-nu.json';
3+
import codesandboxBlack from '@codesandbox/common/lib/themes/codesandbox-black.json';
44
import tokens from './tokens';
55

66
// merge vscode colors into tokens

packages/common/src/themes/codesandbox-nu.json renamed to packages/common/src/themes/codesandbox-black.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Embed Theme",
2+
"name": "CodeSandbox Black",
33
"type": "dark",
44
"colors": {
55
"activityBar.background": "#151515",

packages/common/src/themes/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import codesandbox from './codesandbox.json';
2-
import codesandboxNu from './codesandbox-nu.json';
2+
import codesandboxBlack from './codesandbox-black.json';
33

44
export default [
55
{
@@ -8,9 +8,9 @@ export default [
88
content: codesandbox,
99
},
1010
{
11-
name: 'CodeSandbox Nu',
12-
id: 'codesandboxNu',
13-
content: codesandboxNu,
11+
name: 'CodeSandbox Black',
12+
id: 'codesandboxBlack',
13+
content: codesandboxBlack,
1414
},
1515
{
1616
name: 'Night Owl',
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
All notable changes to the "codesandbox-black" extension will be documented in this file.
3+
4+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
5+
6+
## 0.0.1
7+
8+
Introduced the theme to CodeSandbox
2.5 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "codesandbox-black",
3+
"displayName": "CodeSandbox Black",
4+
"description": "CodeSandbox theme for VSCode.",
5+
"version": "0.0.1",
6+
"publisher": "codesandbox",
7+
"repository": "codesandbox/codesandbox-client",
8+
"engines": {
9+
"vscode": "^1.28.0"
10+
},
11+
"icon": "icon.png",
12+
"categories": [
13+
"Themes"
14+
],
15+
"contributes": {
16+
"themes": [
17+
{
18+
"label": "CodeSandbox Black",
19+
"uiTheme": "vs-dark",
20+
"path": "./themes/codesandbox-black.json"
21+
}
22+
]
23+
},
24+
}

0 commit comments

Comments
 (0)