Skip to content

Commit

Permalink
OID skin (syslog-ng#46)
Browse files Browse the repository at this point in the history
Created OID color scheme based on OID branding guidelines
  • Loading branch information
HofiOne committed May 21, 2024
2 parents 456d2e6 + 3dd959f commit e29e7c4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 30 deletions.
1 change: 1 addition & 0 deletions _sass/minimal-mistakes/minimal-mistakes/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ h3,
h4,
h5,
h6 {
color: $heading-color;
margin: 2em 0 0.5em;
line-height: 1.2;
font-family: $header-font-family;
Expand Down
1 change: 1 addition & 0 deletions _sass/minimal-mistakes/minimal-mistakes/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@
}

h4 {
color: $toc-header-color;
margin-top: 0;
margin-bottom: 0; }
}
Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/minimal-mistakes/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ body {
line-height: 1;

a {
color: $text-color;
color: $page-title-color;
text-decoration: none;
}

Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/minimal-mistakes/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ figure.highlight {
margin: 0;
padding: 0;
outline: none;
color: $link-color;
color: $code-header-text-color;
background-color: transparent;
font-size: 1em;

Expand Down
5 changes: 5 additions & 0 deletions _sass/minimal-mistakes/minimal-mistakes/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ $tooltip-color: mix($gray, $text-color, 50%) !default;
$tooltip-box-shadow-color: $box-shadow-color !default; // rgba(mix($black, $background-color, 70%), 0.5) !default;
//$tooltip-border-color: $border-color !default; // rgba(mix($black, $background-color, 80%), 0.9) !default;

$page-title-color: $text-color !default;
$heading-color: $text-color !default;
$toc-header-color: $menuitem-color !default;

/* YIQ color contrast */
$yiq-contrasted-dark-default: $dark-gray !default;
$yiq-contrasted-light-default: $white !default;
Expand Down Expand Up @@ -146,6 +150,7 @@ $link-color-selected: $selection-color !default;
$masthead-link-color: $primary-color !default;
$masthead-link-color-hover: mix($black, $primary-color, 25%) !default;
$navicon-link-color-hover: mix($white, $primary-color, 75%) !default;
$code-header-text-color: $link-color !default;

/* notices */
$notice-background-mix: 80% !default;
Expand Down
33 changes: 5 additions & 28 deletions _sass/minimal-mistakes/minimal-mistakes/skins/_oi-light.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ==========================================================================
OID skin
OI Light skin
========================================================================== */

/* Colors */
Expand Down Expand Up @@ -45,36 +45,13 @@ $masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix($black, $primary-color, 25%) !default;
$menuitem-hovered-background-color :$oid-blue !default;
$menuitem-selected-background-color: $oid-gray !default;
$heading-color: $link-color !default;
$page-title-color: $link-color !default;
$code-header-text-color: $text-color !default;
$toc-header-color: $text-color !default;

/* notices */
$notice-background-mix: 60% !default;
$code-notice-background-mix: 65% !default;

$base01 : $oid-blue !default;

.page__title {
a {
color: $link-color !important;
}
}

h1,
h2,
h3,
h4,
h5,
h6 {
color: $link-color !important;
}

.toc {
h4 {
color: $text-color !important;
}
}

.highlight-header {
.btn {
color: $text-color !important;
}
}

0 comments on commit e29e7c4

Please sign in to comment.