Add experimental high contrast mode (#1845)

Add an experimental high contrast color theme to SCM-Manager. The high contrast mode uses a dark background and color with a high contrast for a better accessibility.
The change adds the theme to ui-styles and theme switcher to the storybook of ui-components.
This commit is contained in:
Sebastian Sdorra
2021-11-04 08:33:11 +01:00
committed by GitHub
parent 07f0b22031
commit 0efdd2a483
53 changed files with 60796 additions and 60183 deletions

View File

@@ -44,7 +44,7 @@ const buttons = [
}
];
storiesOf("Modal|ConfirmAlert", module)
storiesOf("Modal/ConfirmAlert", module)
.addDecorator(story => <MemoryRouter initialEntries={["/"]}>{story()}</MemoryRouter>)
.add("Default", () => <ConfirmAlert message={body} title={"Are you sure about that?"} buttons={buttons} />)
.add("WithButton", () => {

View File

@@ -71,7 +71,7 @@ const withFormElementsFooter = (
</ButtonGroup>
);
storiesOf("Modal|Modal", module)
storiesOf("Modal/Modal", module)
.addDecorator((story) => <MemoryRouter initialEntries={["/"]}>{story()}</MemoryRouter>)
.add("Default", () => (
<NonCloseableModal>