Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _sass/dogwood/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use 'sass:color';
@use 'dogwood/variables' as *;

/* Inline Elements & Typography
------------------------------------------------------- */
Expand Down
44 changes: 6 additions & 38 deletions _sass/dogwood/initialize.scss
Original file line number Diff line number Diff line change
@@ -1,42 +1,10 @@
@charset "UTF-8";

$sans-serif-font: Helvetica, Arial, sans-serif;
$serif-font: Georgia, serif;
// Defines element resets.
@use "dogwood/base";

$background-color: white;
$primary-color: #D99AB6;
$primary-color-alt: #FFB9D8;
$status-color: #930041;
// Defines structure and style based on CSS selectors.
@use "dogwood/layout";

$grid-color: #dedede;
/* the below should look the same as the above when on a white bg */
/* $alpha-grid-color: rgba(0, 0, 0, 0.13); */
$alpha-grid-color: rgba(128, 128, 128, 0.26);
$text-color: #333;
$dark-background-color: #333;
$dark-grid-color: rgba(255, 255, 255, 0.13);

$body-text-size: 18px;
$sp: 24px;
$container-width: 1164px;
$container-padding: $sp*0.75;
$content-width: calc($container-width - $container-padding * 2);
$cover-image-height: $container-width * 0.5;
$text-width: 700px;
$img-width: 880px;

$footer-min-height: 490px;

$topbar-height: 54px;

$avatar-width: calc($content-width * 0.2);

$sections-width: 720px;

// Import pre-styling-overrides hook and style-partials.
@import
"dogwood/custom-variables", // Hook to override predefined variables.
"dogwood/base", // Defines element resets.
"dogwood/layout", // Defines structure and style based on CSS selectors.
"dogwood/custom-styles" // Hook to override existing styles.
;
// Hook to override existing styles.
@use "dogwood/custom-styles";
41 changes: 41 additions & 0 deletions _sass/dogwood/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@charset "UTF-8";

// Override predefined variables.
// !default is necessary below to allow these overrides.
@use "dogwood/custom-variables" as *;
@forward "dogwood/custom-variables";

$baseurl: "{{site.url}}{{site.baseurl}}";

$sans-serif-font: Helvetica, Arial, sans-serif !default;
$serif-font: Georgia, serif !default;

$background-color: white !default;
$primary-color: #d99ab6 !default;
$primary-color-alt: #ffb9d8 !default;
$status-color: #930041 !default;

$grid-color: #dedede !default;
/* the below should look the same as the above when on a white bg */
/* $alpha-grid-color: rgba(0, 0, 0, 0.13); */
$alpha-grid-color: rgba(128, 128, 128, 0.26) !default;
$text-color: #333 !default;
$dark-background-color: #333 !default;
$dark-grid-color: rgba(255, 255, 255, 0.13) !default;

$body-text-size: 18px !default;
$sp: 24px !default;
$container-width: 1164px !default;
$container-padding: $sp * 0.75 !default;
$content-width: calc($container-width - $container-padding * 2) !default;
$cover-image-height: $container-width * 0.5 !default;
$text-width: 700px !default;
$img-width: 880px !default;

$footer-min-height: 490px !default;

$topbar-height: 54px !default;

$avatar-width: calc($content-width * 0.2) !default;

$sections-width: 720px !default;
3 changes: 1 addition & 2 deletions assets/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
---
$baseurl: "{{site.url}}{{site.baseurl}}";

@import "dogwood/initialize";
@use "dogwood/initialize";