5ffad0d956
* Made notice Sass color mixing in based on $background-color and $text-color instead of hard-coded black and white values. * Made some style adjustments to notices to improve readability. Notice links are slightly darkened from the notice color, mostly because the gray-on-gray default notice links were very hard to read. Rather than being $notice-color, they are `mix(#000, $notice-color, 10%)`. The notice background mix and code-background mix can now be set with the SCSS variables $notice-background-mix and $code-notice-background-mix. The default mix for background was adjusted to 80%, from 90%. The default mix for code-background was adjusted to 90%, from 95%. Skins that still didn't read well were adjusted individually. * Adjusted sunrise $notice-background-mix to 75% * Adjusted dark theme notice background mix colors back to the default Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
63 lines
No EOL
1.9 KiB
SCSS
63 lines
No EOL
1.9 KiB
SCSS
/* ==========================================================================
|
|
Neon skin
|
|
========================================================================== */
|
|
|
|
/* Colors */
|
|
$background-color: #141010 !default;
|
|
$text-color: #fff6fb !default;
|
|
$primary-color: #f21368 !default;
|
|
$border-color: mix(#fff, $background-color, 20%) !default;
|
|
$code-background-color: mix(#000, $background-color, 15%) !default;
|
|
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
|
|
$form-background-color: mix(#000, $background-color, 15%) !default;
|
|
$footer-background-color: mix($primary-color, #000, 10%) !default;
|
|
$link-color: $primary-color !default;
|
|
$link-color-hover: mix(#fff, $link-color, 25%) !default;
|
|
$link-color-visited: mix(#000, $link-color, 25%) !default;
|
|
$masthead-link-color: $text-color !default;
|
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
|
|
|
/* notices */
|
|
$notice-background-mix: 90% !default;
|
|
$code-notice-background-mix: 95% !default;
|
|
|
|
/* neon syntax highlighting (base16) */
|
|
$base00: #ffffff !default;
|
|
$base01: #e0e0e0 !default;
|
|
$base02: #d0d0d0 !default;
|
|
$base03: #b0b0b0 !default;
|
|
$base04: #000000 !default;
|
|
$base05: #101010 !default;
|
|
$base06: #151515 !default;
|
|
$base07: #202020 !default;
|
|
$base08: #ff0086 !default;
|
|
$base09: #fd8900 !default;
|
|
$base0a: #aba800 !default;
|
|
$base0b: #00c918 !default;
|
|
$base0c: #1faaaa !default;
|
|
$base0d: #3777e6 !default;
|
|
$base0e: #ad00a1 !default;
|
|
$base0f: #cc6633 !default;
|
|
|
|
.author__urls.social-icons i,
|
|
.author__urls.social-icons .svg-inline--fa,
|
|
.page__footer-follow .social-icons i,
|
|
.page__footer-follow .social-icons .svg-inline--fa {
|
|
color: inherit;
|
|
}
|
|
|
|
/* next/previous buttons */
|
|
.pagination--pager {
|
|
color: $text-color;
|
|
background-color: $primary-color;
|
|
border-color: transparent;
|
|
|
|
&:visited {
|
|
color: $text-color;
|
|
}
|
|
}
|
|
|
|
.ais-search-box .ais-search-box--input {
|
|
background-color: $form-background-color;
|
|
} |