Skip to content

Commit

Permalink
fix: restore hsb primary and new custom variables
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Improta <francesco@designabile.com>
  • Loading branch information
astagi and zetareticoli authored Feb 9, 2023
1 parent 3251e43 commit 6c9d942
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 4 additions & 3 deletions src/scss/_override-comuni.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-modifica stili per template comuni non modificabili con la redifinizione delle variabili colore
//body
body {
color: $neutral-1-a7;
color: $color-text-secondary;
}
//BUTTONS
.btn-primary,
Expand Down Expand Up @@ -42,8 +42,9 @@ body {
//card texts color
.card .card-body h5.card-title,
.card .card-body .card-title.h5 {
color: $neutral-1-a7;
color: $color-text-secondary;
}

.text-primary {
color: $neutral-1-a7 !important;
color: $neutral-1-a7 !important; // TODO: check if still valid
}
13 changes: 5 additions & 8 deletions src/scss/bootstrap-italia-comuni.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,20 @@ $primary-b: 48;
@import 'utilities/colors_vars';

// color custom variables
$color-text-primary-hover: hsl(160, 100%, 19%); // color-seagreen-19
$color-text-primary-active: hsl(160, 100%, 14%); // color-seagreen-14
$color-background-primary-lighter: hsl(160, 40, 92%); // color-seagreen-92
$btn-comuni-primary-hover: #fff;
$header-center-bg-color: $primary;
$header-slim-bg-color: #00402b;

$section-header-background-color: $primary-a10;
$section-user-header-background-color: #f0f8f5;

$card-link-color: $primary;

$btn-comuni-primary-hover: #fff;

$card-comuni-bg-dark: #2c2c2c;
$footer-comuni-bg-color: #202a2e;

$link-list-comuni-color: #455a64;
$link-list-hover-color: $primary;

$card-comuni-bg-dark: #2c2c2c;

//variables
@import 'variables';

Expand Down
2 changes: 1 addition & 1 deletion src/scss/utilities/colors_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $primary-s: 100 !default;
$primary-b: 80 !default;
$primary-l: 40 !default; // Kit UI

$primary: hsl(210, 100%, 40%) !default; // color-blue-40
$primary: hsb($primary-h, $primary-s, $primary-b) !default; // color-blue-40

$indigo: hsb(243, 70, 100) !default;
$purple: hsb(243, 40, 100) !default;
Expand Down

0 comments on commit 6c9d942

Please sign in to comment.