diff --git a/_includes/truth_table.html b/_includes/truth_table.html index 328da58e..16cba5ab 100644 --- a/_includes/truth_table.html +++ b/_includes/truth_table.html @@ -46,7 +46,7 @@

Truth Table Generator

padding: 8px; font-family: 'Source Code Pro', monospace; max-width: 100%; - color: black; + /* Colours live in _sass/custom/custom.scss so they follow the active theme. */ } .truth-table p { diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index 77646312..ae093ee6 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -330,3 +330,15 @@ button, text-decoration: underline; } } + +// Fix: truth table generator input follows the active colour scheme (Issue #631) +.truth_table_input { + background-color: $body-background-color; + border: 1px solid $border-color; + color: $inputcolor; + + &::placeholder { + color: $inputcolor; + opacity: 0.6; + } +}