Skip to content

Commit

Permalink
Add K6 overrides to light theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Nov 23, 2017
1 parent 1410092 commit 0f0ec25
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 16 deletions.
1 change: 1 addition & 0 deletions src/global_styling/k6/_colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$euiTextColor: #2D2D2D;
6 changes: 6 additions & 0 deletions src/global_styling/k6/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import 'size';
@import 'colors';
@import 'typography';
// @import 'borders';
// @import 'shadows';
// @import 'z_index';
7 changes: 7 additions & 0 deletions src/global_styling/k6/_size.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$euiSizeXS: 4px;
$euiSizeS: 8px;
$euiSizeM: 11px;
$euiSize: 14px;
$euiSizeL: 18px;
$euiSizeXL: 22px;
$euiSizeXXL: 26px;
7 changes: 7 additions & 0 deletions src/global_styling/k6/_typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$euiFontSizeXS: 10px;
$euiFontSizeS: 12px;
$euiFontSizeM: 14px;
$euiFontSize: 14px;
$euiFontSizeL: 18px;
$euiFontSizeXL: 22px;
$euiFontSizeXXL: 28px;
3 changes: 3 additions & 0 deletions src/global_styling/theme_light_variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// K6 custom values
@import 'k6/index';

// Configuration
@import 'variables/index';
16 changes: 8 additions & 8 deletions src/global_styling/variables/_size.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$euiSize: 16px;
$euiSize: 16px !default;

$euiSizeXS: $euiSize * .25;
$euiSizeS: $euiSize * .5;
$euiSizeM: $euiSize * .75;
$euiSizeL: $euiSize * 1.5;
$euiSizeXL: $euiSize * 2;
$euiSizeXXL: $euiSize * 2.5;
$euiSizeXS: $euiSize * .25 !default;
$euiSizeS: $euiSize * .5 !default;
$euiSizeM: $euiSize * .75 !default;
$euiSizeL: $euiSize * 1.5 !default;
$euiSizeXL: $euiSize * 2 !default;
$euiSizeXXL: $euiSize * 2.5 !default;

$euiButtonMinWidth: $euiSize * 7;
$euiButtonMinWidth: $euiSize * 7 !default;
16 changes: 8 additions & 8 deletions src/global_styling/variables/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ $euiCodeFontFamily: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courie

// Font sizes

$euiFontSize: $euiSize;

$euiFontSizeXS: $euiFontSize * .75;
$euiFontSizeS: $euiFontSize * .875;
$euiFontSizeM: $euiFontSize;
$euiFontSizeL: $euiFontSize * 1.5;
$euiFontSizeXL: $euiFontSize * 2;
$euiFontSizeXXL: $euiFontSize * 3;
$euiFontSize: $euiSize !default;

$euiFontSizeXS: $euiFontSize * .75 !default;
$euiFontSizeS: $euiFontSize * .875 !default;
$euiFontSizeM: $euiFontSize !default;
$euiFontSizeL: $euiFontSize * 1.5 !default;
$euiFontSizeXL: $euiFontSize * 2 !default;
$euiFontSizeXXL: $euiFontSize * 3 !default;

// Line height

Expand Down

0 comments on commit 0f0ec25

Please sign in to comment.