-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #954 from weaveworks/contrast-mode
High contrast mode switch
- Loading branch information
Showing
12 changed files
with
152 additions
and
69 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,9 @@ | ||
require('font-awesome-webpack'); | ||
require('../styles/contrast.less'); | ||
|
||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
|
||
import App from './components/app.js'; | ||
|
||
ReactDOM.render(<App base="/contrast.html" />, document.getElementById('app')); |
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
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
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,31 @@ | ||
@import "main"; | ||
|
||
@background-color: lighten(@primary-color, 75%); | ||
@background-lighter-color: lighten(@background-color, 10%); | ||
@background-darker-color: darken(@background-color, 20%); | ||
@background-darker-secondary-color: darken(@background-color, 15%); | ||
@background-dark-color: @primary-color; | ||
@text-color: darken(@primary-color, 20%); | ||
@text-secondary-color: lighten(@text-color, 10%); | ||
@text-tertiary-color: lighten(@text-color, 20%); | ||
@border-light-color: lighten(@text-color, 50%); | ||
@text-darker-color: darken(@text-color, 20%); | ||
@white: @background-lighter-color; | ||
|
||
@node-opacity-blurred: 0.6; | ||
@node-highlight-fill-opacity: 0.3; | ||
@node-highlight-stroke-opacity: 0.5; | ||
@node-highlight-stroke-width: 3px; | ||
@node-border-stroke-width: 6px; | ||
@node-pseudo-border-stroke-width: 2px; | ||
@node-pseudo-opacity: 1; | ||
@edge-highlight-opacity: 0.3; | ||
@edge-opacity-blurred: 0; | ||
@edge-opacity: 0.5; | ||
@edge-link-stroke-width: 3px; | ||
|
||
@btn-opacity-default: 1; | ||
@btn-opacity-hover: 1; | ||
@btn-opacity-selected: 1; | ||
|
||
@link-opacity-default: 1; |
Oops, something went wrong.