Skip to content

Commit

Permalink
chore: remove high contrast theme (#852)
Browse files Browse the repository at this point in the history
Remove high contrast theme and screenshots.

---------

Co-authored-by: GitHub <noreply@github.com>
  • Loading branch information
williamernest and web-flow committed Aug 3, 2023
1 parent d54ce51 commit 44e11fe
Show file tree
Hide file tree
Showing 63 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion .storybook/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export const THEMES = {
NG_DARK: 'clr-ui-dark',
CORE_LIGHT: 'light',
CORE_DARK: 'dark',
HIGH_CONTRAST: 'high-contrast',
};
3 changes: 0 additions & 3 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import tokensStyles from 'raw-loader!../node_modules/@cds/core/styles/module.tok
import layoutStyles from 'raw-loader!../node_modules/@cds/core/styles/module.layout.min.css';
import typographyStyles from 'raw-loader!../node_modules/@cds/core/styles/module.typography.min.css';
import darkThemeStyles from 'raw-loader!../node_modules/@cds/core/styles/theme.dark.min.css';
import highContrastThemeStyles from 'raw-loader!../node_modules/@cds/core/styles/theme.high-contrast.min.css';

// Styles that should be watched/reloaded
import clrUiStyles from 'raw-loader!sass-loader!../projects/ui/src/clr-ui.scss';
Expand All @@ -37,7 +36,6 @@ const cdsCoreAndShimStyles = [
layoutStyles,
typographyStyles,
darkThemeStyles,
highContrastThemeStyles,
shimStyles,
];

Expand Down Expand Up @@ -67,7 +65,6 @@ export const globalTypes = {
{ value: THEMES.NG_DARK, title: '@clr/ui Dark Theme' },
{ value: THEMES.CORE_LIGHT, title: '@cds/core Light Theme' },
{ value: THEMES.CORE_DARK, title: '@cds/core Dark Theme' },
{ value: THEMES.HIGH_CONTRAST, title: '@cds/core High Contrast Theme' },
],
},
},
Expand Down
1 change: 0 additions & 1 deletion projects/demo/src/app/cds-theme-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const cdsThemeAttribute = 'cds-theme';
<option value="">None</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
<option value="high-contrast">High Contrast</option>
</select>
</clr-select-container>
`,
Expand Down
1 change: 0 additions & 1 deletion projects/demo/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@import '../../../node_modules/@cds/core/styles/module.layout.min.css';
@import '../../../node_modules/@cds/core/styles/module.typography.min.css';
@import '../../../node_modules/@cds/core/styles/theme.dark.min.css';
@import '../../../node_modules/@cds/core/styles/theme.high-contrast.min.css';
@import './../../ui/src/shim.cds-core';
@import './app/_utils/clarity-variables';
@import '../../angular/src/utils/variables/variables';
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

0 comments on commit 44e11fe

Please sign in to comment.