rahmanda/ayu

View on GitHub
src/themes/default/components/_post.scss

Summary

Maintainability
Test Coverage
// ===========================================
// Post - Default Theme
// ==========================================

$theme-post-margin: calculate-spacing(3) !default;
$theme-post-padding: calculate-spacing(3) !default;
$theme-post-border-radius: $theme-border-radius !default;
$theme-post-title-margin: calculate-spacing(3) !default;
$theme-post-subtitle-margin: calculate-spacing(2) !default;
$theme-post-paragraph-margin: calculate-spacing(2) !default;
$theme-post-paragraph-text-align: justify !default;
$theme-post-blockquote-border-width: 3px !default;
$theme-post-blockquote-padding-left: 1em !default;


$theme-post-font-size: (
    medium: 21px,
    large: 32px,
    x-large: 40px
) !default;

$theme-post-line-height: (
    medium: 1.5,
    large: 1.2,
    x-large: 1.2
) !default;

// Post
$theme-color-post: (
    background: map-get($theme-colors, white),
    foreground: map-get($theme-colors, black),
    title: map-get($theme-colors, black),
    blockquote: map-get($theme-colors, black),
    border: map-get($theme-colors, green),
    link-default: map-get($theme-colors, green),
    link-hover: map-get($theme-colors, green),
    date: map-get($theme-colors, green)
) !default;