-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70ac5b0
commit 183fbb3
Showing
8 changed files
with
100 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { addons } from '@storybook/manager-api'; | ||
import '@covalent/tokens/index.css'; | ||
import tdTheme from './theme.js'; | ||
import './theme.css'; | ||
|
||
addons.setConfig({ | ||
theme: tdTheme, | ||
}); |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* Storybook theme overrides */ | ||
.sidebar-header { | ||
max-width: 213px; | ||
} | ||
#root > div > div[role='main'] > div { | ||
box-shadow: none; | ||
} | ||
|
||
#root > div > div[role='main'] > div { | ||
border: 1px solid rgba(0, 0, 0, 0.12); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='false'] svg { | ||
color: var(--cv-light-secondary); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { create } from '@storybook/theming'; | ||
import brandImage from './teradata.svg'; | ||
import { | ||
CvLightPrimary, | ||
CvLightAccent, | ||
CvLightSurface, | ||
CvLightBackground, | ||
CvDarkOnBackground, | ||
CvLightOnBackground, | ||
CvLightTextIconOnBackground, | ||
} from '@covalent/tokens'; | ||
|
||
export default create({ | ||
base: 'light', | ||
|
||
colorPrimary: CvLightPrimary, | ||
colorSecondary: CvLightAccent, | ||
|
||
// UI | ||
appBg: CvLightBackground, | ||
appContentBg: CvLightSurface, | ||
appBorderRadius: '8px', | ||
|
||
// Text colors | ||
textColor: CvLightOnBackground, | ||
textInverseColor: CvDarkOnBackground, | ||
|
||
// Toolbar default and active colors | ||
barTextColor: CvLightTextIconOnBackground, | ||
barSelectedColor: CvLightPrimary, | ||
barHoverColor: CvLightAccent, | ||
barBg: CvLightSurface, | ||
|
||
// Form colors | ||
inputBg: 'transparent', | ||
|
||
// Branding | ||
brandTitle: 'Teradata Design System', | ||
// brandUrl: 'https://teradata.lol', | ||
brandImage, | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters