1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-05 06:25:39 -05:00

fix some leftover stitches to-do items

This commit is contained in:
2022-03-03 13:18:12 -05:00
parent dc7622a7af
commit ea4e7025ff
12 changed files with 173 additions and 155 deletions

View File

@@ -5,7 +5,7 @@ const hex2rgba = (hex: string, alpha: number) => {
const green = (number >> 8) & 255;
const blue = number & 255;
return `rgba(${red},${green},${blue},${alpha})`;
return `rgba(${red}, ${green}, ${blue}, ${alpha})`;
};
export default hex2rgba;

View File

@@ -1,7 +1,8 @@
// @sindresorhus's modern-normalize.css converted to a JS object, with a bit of cruft removed:
// https://github.com/sindresorhus/modern-normalize/blob/b59ec0d3d8654cbb6843bc9ea45aef5f1d680108/modern-normalize.css
// note: re-defining any of these selector(s) anywhere else will override *every* property for them defined here.
export const normalizeCss = {
const normalizeCss = {
"*, ::before, ::after": {
boxSizing: "border-box",
},
@@ -85,3 +86,5 @@ export const normalizeCss = {
display: "list-item",
},
};
export default normalizeCss;