From 4a843aa345bdc44311554e08a01709bb6333171a Mon Sep 17 00:00:00 2001
From: alexisben <alexiben7@gmail.com>
Date: Fri, 22 Jul 2022 10:33:05 +0200
Subject: [PATCH] Some stuff

---
 assets/sass/_theme/_configuration.sass | 19 ++++++++++---------
 assets/sass/_theme/_utils.sass         | 13 +++++++------
 readme.md                              | 18 ++++++++++++++++++
 3 files changed, 35 insertions(+), 15 deletions(-)

diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass
index b75eac10..3c3e3b78 100644
--- a/assets/sass/_theme/_configuration.sass
+++ b/assets/sass/_theme/_configuration.sass
@@ -16,7 +16,7 @@ $link-color: $main-color !default
 $body-font-family: "Georgia", serif !default
 $heading-font-family: "Helvetica", "Arial", sans-serif !default
 
-$font-size-base: 1rem
+// $font-size-base: 1rem
 $line-height-base: 1.4
 
 // Fonts sizes
@@ -41,7 +41,7 @@ $h5-weight: $heading-font-weight !default
 $h6-weight: $heading-font-weight !default
 
 // Breadcrumb
-$breadcrumb-color: white !default
+$breadcrumb-color: invert($main-color) !default
 
 // Spacing
 $spacing1: 24px !default
@@ -56,15 +56,16 @@ $grid-max-width: 1980px
 
 // Z-index
 $zindex-nav-accessibility: 1010 !default
+$zindex-stretched-link: 2 !default
 
 // Header
 $header-color: $main-color !default
-$header-hover-color: rgba($main-color, 0.7) !default // TODO : Réflechir à plus élégant / générique
+$header-hover-color: rgba($header-color, 0.7) !default // TODO : Réflechir à plus élégant / générique
 $header-background-color: $main-background-color !default
-$header-sticky-enabled: true
-$header-sticky-transition: 0.3s
-$header-height: 74px
-$header-height-md: 74px
+$header-sticky-enabled: true !default
+$header-sticky-transition: 0.3s !default
+$header-height: 74px !default
+$header-height-md: 74px !default
 
 // Footer
 $footer-color: $main-color !default
@@ -73,8 +74,8 @@ $footer-background-color: darken($main-background-color, 2.5) !default
 // Hero
 $hero-height: 375px !default
 $hero-height-md: 450px !default
-$hero-color: white !default
-$hero-background-color: black !default
+$hero-color: invert($main-color) !default
+$hero-background-color: invert($main-background-color) !default
 
 // Icons
 $icons: ()
diff --git a/assets/sass/_theme/_utils.sass b/assets/sass/_theme/_utils.sass
index abec13a5..9b1259b6 100644
--- a/assets/sass/_theme/_utils.sass
+++ b/assets/sass/_theme/_utils.sass
@@ -8,11 +8,6 @@
     $remSize: $size / 16 / 2
     @return #{$remSize}rem
 
-@function col($nb, $base: 12)
-    $nb: $nb/$base * 12
-    $nbCol: calc( (100% + #{$grid-gutter}) / 12 * #{$nb} )
-    @return #{$nbCol}
-
 @mixin in-page-with-aside
     aside ~ .blocks &
         @content
@@ -80,6 +75,11 @@
         grid-gap: 0 $grid-gutter
         grid-template-columns: repeat($cols, 1fr)
 
+@function col($nb, $base: 12)
+    $nb: $nb/$base * 12
+    $nbCol: calc( (100% + #{$grid-gutter}) / 12 * #{$nb} )
+    @return #{$nbCol}
+
 @mixin stretched-link($pseudo-element: after)
     &::#{$pseudo-element}
         position: absolute
@@ -87,5 +87,6 @@
         right: 0
         bottom: 0
         left: 0
-        z-index: 2
+        z-index: $zindex-stretched-link
         content: ""
+
diff --git a/readme.md b/readme.md
index db55f9a5..e0a9d1ed 100644
--- a/readme.md
+++ b/readme.md
@@ -439,3 +439,21 @@ Syntaxe de transformation type Shopify (à revoir)
 - `https://demo.osuny.org/media/media-id/mon_image_500x500.webp`
 - `https://demo.osuny.org/media/media-id/mon_image_500x500_crop_center.webp`
 
+
+
+## Intégration
+
+### CSS Grid Overlay
+
+```
+[
+  {
+    "columns": 12,
+    "from": 840,
+    "gutters": 30,
+    "margins": 60,
+    "maxWidth": 1980,
+    "to": 7680
+  }
+]
+```
\ No newline at end of file
-- 
GitLab