mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-27 18:26:14 -04:00
Developing a dark theme.
This commit is contained in:
parent
a4d93f23d6
commit
e3f41fea9c
8 changed files with 212 additions and 25 deletions
|
@ -27,6 +27,9 @@ $secondaryBorderColour: #eee;
|
|||
$titleColour: #424242;
|
||||
$titleWeight: bold;
|
||||
|
||||
$bannerFontColour: #468847;
|
||||
$bannerBgColour: #dff0d8;
|
||||
|
||||
|
||||
// Operation colours
|
||||
$opListOperationFontColour: #3a87ad;
|
||||
|
@ -69,9 +72,28 @@ $argInputLineHeight: 20px;
|
|||
$argInputFontSize: 15px;
|
||||
$argFontColour: #424242;
|
||||
$argBackground: #fff;
|
||||
$argBorderColour: #ddd;
|
||||
$argDisabledBackground: #eee;
|
||||
|
||||
|
||||
// Buttons
|
||||
$btnDefaultFontColour: #333;
|
||||
$btnDefaultBgColour: #fff;
|
||||
$btnDefaultBorderColour: #ddd;
|
||||
|
||||
$btnDefaultHoverFontColour: #333;
|
||||
$btnDefaultHoverBgColour: #ebebeb;
|
||||
$btnDefaultHoverBorderColour: #adadad;
|
||||
|
||||
$btnSuccessFontColour: #fff;
|
||||
$btnSuccessBgColour: #5cb85c;
|
||||
$btnSuccessBorderColour: #4cae4c;
|
||||
|
||||
$btnSuccessHoverFontColour: #fff;
|
||||
$btnSuccessHoverBgColour: #449d44;
|
||||
$btnSuccessHoverBorderColour: #398439;
|
||||
|
||||
|
||||
// Highlighter colours
|
||||
$hl1: #fff000;
|
||||
$hl2: #95dfff;
|
||||
|
@ -80,12 +102,13 @@ $hl4: #fcf8e3;
|
|||
$hl5: #8de768;
|
||||
|
||||
|
||||
// Misc.
|
||||
$dropFileBorderColour: #3a87ad;
|
||||
|
||||
$bannerFontColour: #468847;
|
||||
$bannerBgColour: #dff0d8;
|
||||
|
||||
// Scrollbar
|
||||
$scrollbarTrack: $secondaryBackgroundColour;
|
||||
$scrollbarThumb: #ccc;
|
||||
$scrollbarHover: #bbb;
|
||||
|
||||
|
||||
// Misc.
|
||||
$dropFileBorderColour: #3a87ad;
|
||||
$popoverBackground: #fff;
|
||||
$popoverBorderColour: #ccc;
|
||||
|
|
121
src/web/stylesheets/themes/_dark.scss
Normal file
121
src/web/stylesheets/themes/_dark.scss
Normal file
|
@ -0,0 +1,121 @@
|
|||
/**
|
||||
* Dark theme definitions
|
||||
*
|
||||
* @author n1474335 [n1474335@gmail.com]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
// tabs
|
||||
// links
|
||||
// disabled buttons
|
||||
// popovers
|
||||
// toggle-string dropdowns
|
||||
// alerts
|
||||
|
||||
$primaryFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$primaryFontColour: #c5c5c5;
|
||||
$primaryFontSize: 14px;
|
||||
$primaryLineHeight: 20px;
|
||||
|
||||
$fixedWidthFontFamily: "Monaco", "Droid Sans Mono", "Consolas", monospace;
|
||||
$fixedWidthFontColour: inherit;
|
||||
$fixedWidthFontSize: inherit;
|
||||
|
||||
$subtextFontColour: #999;
|
||||
$subtextFontSize: 13px;
|
||||
|
||||
$primaryBackgroundColour: #1e1e1e;
|
||||
$secondaryBackgroundColour: #252525;
|
||||
|
||||
$primaryBorderColour: #444;
|
||||
$secondaryBorderColour: #3c3c3c; //todo
|
||||
|
||||
$titleColour: #fff;
|
||||
$titleWeight: bold;
|
||||
|
||||
$bannerFontColour: #c5c5c5;
|
||||
$bannerBgColour: #333;
|
||||
|
||||
|
||||
// Operation colours
|
||||
$opListOperationFontColour: #c5c5c5;
|
||||
$opListOperationBgColour: #333;
|
||||
$opListOperationBorderColour: #444;
|
||||
|
||||
$recListOperationFontColour: #c5c5c5; //todo
|
||||
$recListOperationBgColour: #333;
|
||||
$recListOperationBorderColour: #444;
|
||||
|
||||
$selectedOperationFontColor: #c09853; //todo
|
||||
$selectedOperationBgColour: #fcf8e3;
|
||||
$selectedOperationBorderColour: #fbeed5;
|
||||
|
||||
$breakpointFontColour: #b94a48; //todo
|
||||
$breakpointBgColour: #f2dede;
|
||||
$breakpointBorderColour: #eed3d7;
|
||||
|
||||
$breakpointFontColour: #b94a48; //todo
|
||||
$breakpointBgColour: #f2dede;
|
||||
$breakpointBorderColour: #eed3d7;
|
||||
|
||||
$disabledFontColour: #999; //todo
|
||||
$disabledBgColour: #dfdfdf;
|
||||
$disabledBorderColour: #cdcdcd;
|
||||
|
||||
$fcOperationFontColour: #396f3a; //todo
|
||||
$fcOperationBgColour: #c7e4ba;
|
||||
$fcOperationBorderColour: #b3dba2;
|
||||
|
||||
$fcBreakpointOperationFontColour: #94312f; //todo
|
||||
$fcBreakpointOperationBgColour: #eabfbf;
|
||||
$fcBreakpointOperationBorderColour: #e2aeb5;
|
||||
|
||||
|
||||
// Operation arguments
|
||||
$argTitleFontWeight: bold; //todo
|
||||
$argInputHeight: 34px;
|
||||
$argInputLineHeight: 20px;
|
||||
$argInputFontSize: 15px;
|
||||
$argFontColour: #bbb;
|
||||
$argBackground: #252525;
|
||||
$argBorderColour: #205375;
|
||||
$argDisabledBackground: #eee; //todo
|
||||
|
||||
|
||||
// Buttons
|
||||
$btnDefaultFontColour: #c5c5c5;
|
||||
$btnDefaultBgColour: #3c3c3c;
|
||||
$btnDefaultBorderColour: #205375;
|
||||
|
||||
$btnDefaultHoverFontColour: #c5c5c5;
|
||||
$btnDefaultHoverBgColour: #2d2d2d;
|
||||
$btnDefaultHoverBorderColour: #205375;
|
||||
|
||||
$btnSuccessFontColour: #fff;
|
||||
$btnSuccessBgColour: #073655;
|
||||
$btnSuccessBorderColour: #0e639c;
|
||||
|
||||
$btnSuccessHoverFontColour: #fff;
|
||||
$btnSuccessHoverBgColour: #0e639c;
|
||||
$btnSuccessHoverBorderColour: #0e639c;
|
||||
|
||||
|
||||
// Highlighter colours
|
||||
$hl1: #fff000; //todo
|
||||
$hl2: #95dfff;
|
||||
$hl3: #ffb6b6;
|
||||
$hl4: #fcf8e3;
|
||||
$hl5: #8de768;
|
||||
|
||||
|
||||
// Scrollbar
|
||||
$scrollbarTrack: #1e1e1e;
|
||||
$scrollbarThumb: #424242;
|
||||
$scrollbarHover: #4e4e4e;
|
||||
|
||||
|
||||
// Misc.
|
||||
$dropFileBorderColour: #3a87ad; //todo
|
||||
$popoverBackground: #444;
|
||||
$popoverBorderColour: #666;
|
Loading…
Add table
Add a link
Reference in a new issue