trim + text color

parent 65ad6ea0
/* colors from https://color.adobe.com/Quiet-Cry-color-theme-124171 */
:root {
--c-darker: #1C1D21;
--c-dark: #31353D;
--c-dark: #556582;
--c-primary: #445878;
--c-secondary: #92CDCF;
--c-faint: #EEEFF7;
......@@ -22,7 +23,7 @@ body {
margin: 0;
background: var(--c-alt-white);
font-size: 1.5rem;
color: var(--c-dark);
color: var(--c-darker);
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
line-height: 1.5;
padding-bottom: 7rem;
......@@ -284,3 +285,7 @@ pre {
font-size: 1rem;
margin-top: 0;
}
.comment {
color: var(--c-primary);
}
......@@ -71,7 +71,7 @@ module.exports = (app, db) => {
errors.push(sprintf("Field %s is required", field))
}
post[field] = val
post[field] = val.trim()
}))
if (errors.length) {
......@@ -97,7 +97,7 @@ module.exports = (app, db) => {
errors.push(sprintf("Field %s is required", field))
}
comment[field] = val
comment[field] = val.trim()
}))
if (errors.length) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment