1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-11 02:22:55 -05:00

fix unnoticeable background color bug in dark mode

This commit is contained in:
2022-02-05 14:50:29 -05:00
parent ca7d21b3d2
commit 42a7ff1bdc
26 changed files with 118 additions and 81 deletions

View File

@@ -1,6 +1,7 @@
.content {
font-size: 0.9em;
line-height: 1.7;
color: var(--text);
}
@media screen and (max-width: 768px) {

View File

@@ -1,11 +1,9 @@
import classNames from "classnames";
import type { PropsWithChildren } from "react";
import type { HTMLAttributes } from "react";
import styles from "./Content.module.css";
type Props = PropsWithChildren<{
className?: string;
}>;
type Props = HTMLAttributes<HTMLDivElement>;
const Content = ({ className, ...rest }: Props) => <div className={classNames(styles.content, className)} {...rest} />;