Skip to content

Commit 960cd7a

Browse files
authored
updates storybook theme (#1436)
* updates storybook theme
1 parent fcd25bf commit 960cd7a

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

.storybook/manager-head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
color: #323232;
4949
}
5050

51+
.sidebar-subheading.css-ulso1l {
52+
color: #717171 !important;
53+
}
54+
5155
@media (max-width: 768px) {
5256
#root > div:first-of-type {
5357
height: calc(100% - 50px);

.storybook/theme.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,33 @@ import { create } from '@storybook/theming/create';
33
export default create({
44
base: 'light',
55

6-
// colorPrimary: 'hotpink',
7-
// colorSecondary: 'deepskyblue',
6+
// colorPrimary: 'hotpink',
7+
colorSecondary: '#0360B9',
88

99
// UI
10-
// appBg: 'white',
11-
// appContentBg: 'silver',
12-
// appBorderColor: 'grey',
13-
// appBorderRadius: 4,
10+
// appBg: 'white',
11+
// appContentBg: 'silver',
12+
// appBorderColor: 'grey',
13+
// appBorderRadius: 4,
1414

1515
// Typography
16-
// fontBase: '"Open Sans", sans-serif',
17-
// fontCode: 'monospace',
16+
// fontBase: '"Open Sans", sans-serif',
17+
// fontCode: 'monospace',
1818

1919
// Text colors
20-
// textColor: 'black',
21-
// textInverseColor: 'rgba(255,255,255,0.9)',
20+
textColor: '#1A1A1A',
21+
textInverseColor: 'rgba(255,255,255,0.9)',
2222

2323
// Toolbar default and active colors
24-
// barTextColor: 'silver',
25-
// barSelectedColor: 'black',
26-
// barBg: 'hotpink',
24+
barTextColor: '#717171',
25+
// barSelectedColor: '#0360B9',
26+
// barBg: 'hotpink',
2727

2828
// Form colors
29-
// inputBg: 'white',
30-
// inputBorder: 'silver',
31-
// inputTextColor: 'black',
32-
// inputBorderRadius: 4,
29+
// inputBg: 'white',
30+
// inputBorder: 'silver',
31+
// inputTextColor: 'black',
32+
// inputBorderRadius: 4,
3333

3434
brandTitle: 'Microsoft Graph Toolkit Playground',
3535
brandUrl: 'https://aka.ms/mgt'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"lit-element": "2.5.0",
9494
"monaco-editor": "^0.19.3",
9595
"monaco-editor-webpack-plugin": "^1.8.2",
96+
"node-sass": "npm:sass@^1.44.0",
9697
"npm-run-all": "^4.1.5",
9798
"prettier": "2.2.1",
9899
"react": "^17.0.1",
@@ -116,8 +117,7 @@
116117
"tslint-microsoft-contrib": "^6.2.0",
117118
"typescript": "^3.7.5",
118119
"web-component-analyzer": "^1.1.6",
119-
"whatwg-fetch": "^3.5.0",
120-
"node-sass": "npm:sass@^1.44.0"
120+
"whatwg-fetch": "^3.5.0"
121121
},
122122
"husky": {
123123
"hooks": {

0 commit comments

Comments
 (0)