1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-31 08:45:24 +02:00

Add code styles and update dev server

This commit is contained in:
Kognise
2019-04-06 17:13:33 -04:00
parent 3e18d95981
commit 9db897346c
9 changed files with 46 additions and 9 deletions

View File

@@ -1,15 +1,17 @@
$background: #202b38 !default;
$background-alt: #161f27 !default;
$text-main: #dbdbdb !default;
$text-bright: #ffffff !default;
$links: #41adff !default;
$focus: #0096bfab !default;
$border: #dbdbdb !default;
$code: #ffbe85 !default;
$button-hover: #324759 !default;
$animation-duration: 0.1s !default;
$form-background: #161f27 !default;
$form-placeholder: #a9a9a9 !default;
$form-text: #ffffff !default;

View File

@@ -1,15 +1,17 @@
$background: #ffffff !default;
$background-alt: #efefef !default;
$text-main: #363636 !default;
$text-bright: #000000 !default;
$links: #0076d1 !default;
$focus: #0096bfab !default;
$border: #dbdbdb !default;
$code: #000000 !default;
$button-hover: #dddddd !default;
$animation-duration: 0.1s !default;
$form-background: #efefef !default;
$form-placeholder: #949494 !default;
$form-text: #000000 !default;

12
src/parts/_code.scss Normal file
View File

@@ -0,0 +1,12 @@
code, kbd {
background: $background-alt;
color: $code;
padding: 5px;
border-radius: 6px;
}
pre > code {
padding: 10px;
display: block;
overflow-x: auto;
}

View File

@@ -2,4 +2,5 @@
@import 'typography';
@import 'forms';
@import 'links';
@import 'code';
@import 'misc';

View File

@@ -11,7 +11,7 @@ input:not([type='checkbox']), select {
input, select, button, textarea {
color: $form-text;
background-color: $form-background;
background-color: $background-alt;
font-family: inherit;
font-size: inherit;