Skip to content

Commit

Permalink
hugo: Modified blue tint for base styling
Browse files Browse the repository at this point in the history
The darker blue tint used across the site has been replaced by the
brighter blue version.

To compare, see:
https://cuelang.org/examples/shortcodes/info/
https://cuelang.org/examples/shortcodes/buttons/

Fixes cue-lang/cue#3503

Signed-off-by: Wies de Graaf <[email protected]>
  • Loading branch information
Wies-UsMedia committed Nov 1, 2024
1 parent 567a376 commit 7caaf67
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hugo/assets/scss/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
--scrollbar-color-hover: #{ $c-scrollbar-color-hover };
--table-head-background: #{ $c-blue--lightest };
--table-row-background: #{ $c-blue--lightest };
--table-border-color: #{ transparentize($c-blue--light, 0.85) };
--table-border-color: #{ transparentize($c-blue, 0.85) };
}

html,
Expand Down
2 changes: 1 addition & 1 deletion hugo/assets/scss/components/cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
&:focus,
&:hover {
background-color: transparentize($c-blue--lighter, 0.4);
border: 1px solid transparentize($c-blue--light, 0.8);
border: 1px solid transparentize($c-blue, 0.8);

#{ $self }__readmore {
--cards-icon-color: #{ $c-yellow };
Expand Down
2 changes: 1 addition & 1 deletion hugo/assets/scss/components/tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

&.is-active,
&.is-active-path {
background: $c-grey--light-mid;
background: $c-blue--light;
border-radius: $b-radius 0 0 $b-radius;
box-shadow: 4px 4px 10px 0 transparentize($c-black, 0.98) inset;
padding-bottom: 1.5rem;
Expand Down
7 changes: 3 additions & 4 deletions hugo/assets/scss/config/colors.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
$c-blue--lightest: #f8f9fd;
$c-blue--lighter: #f0f2fb;
$c-grey--light-mid: #e6e8f3;
$c-blue--light: #1b3987;
$c-blue: #232a68;
$c-blue--light: #e6e8f3;
$c-blue: #1b3987;
$c-blue--bright: #063AC0;
$c-blue--dark: #0c2c65;
$c-blue--darker: #0f1333;
Expand Down Expand Up @@ -67,7 +66,7 @@ $c-scrollbar-background: $c-grey--lightest;
// Shadows
$shadow--light: 0 4px 4px transparentize($c-black, .25);
$shadow: 0 4px 34px transparentize($c-black, .35);
$shadow--blue: 0 10px 24px transparentize($c-blue--light, .85);
$shadow--blue: 0 10px 24px transparentize($c-blue, .85);

$shadow--header: 0 3px 12px transparentize($c-blue--dark, .8);
$shadow--drawer: 0 3px 12px transparentize($c-blue--dark, .8);
Expand Down
4 changes: 2 additions & 2 deletions playground/src/scss/components/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
@include button-base;

@include button-style(
var(--button-background, #{ $c-blue--light }),
var(--button-border, #{ $c-blue--light }),
var(--button-background, #{ $c-blue }),
var(--button-border, #{ $c-blue }),
var(--button-color, #{ $c-white }),
var(--button-background-hover, #{ $c-blue }),
var(--button-border-hover, #{ $c-blue }),
Expand Down

0 comments on commit 7caaf67

Please sign in to comment.