Conversion of User Guide to the SHH stack (#2781)

This commit is contained in:
Adam Hopkins
2023-09-06 15:44:00 +03:00
committed by GitHub
parent 47215d4635
commit d255d1aae1
332 changed files with 51495 additions and 2013 deletions

View File

@@ -0,0 +1,4 @@
@charset "utf-8"
@import "generic.sass"
@import "helpers.sass"

View File

@@ -0,0 +1,39 @@
$body-background-color-dark: $body-background-dark !default
$body-color-dark: $text-dark !default
$hr-background-color-dark: $background-dark !default
$strong-color-dark: $text-strong-dark !default
html
background-color: $body-background-color-dark
body
color: $body-color-dark
// Inline
a
color: $link-dark
&:hover
color: $link-hover-dark
code
background-color: $code-background-dark
color: $code-dark
hr
background-color: $hr-background-color-dark
strong
color: $strong-color-dark
// Block
pre
background-color: $pre-background-dark
color: $pre-dark
table
th
color: $text-strong-dark

View File

@@ -0,0 +1,16 @@
@each $name, $pair in $colors
$color: nth($pair, 1)
.has-text-#{$name}-dark
color: $color !important
a.has-text-#{$name}-dark
&:hover,
&:focus
color: lighten($color, 10%) !important
.has-background-#{$name}-dark
background-color: $color !important
@each $name, $shade in $shades
.has-text-#{$name}-dark
color: $shade !important
.has-background-#{$name}-dark
background-color: $shade !important