feat: add resume.pdf button
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
// function to turn css rgb() strings to hex
|
||||
export function rgbToHex(rgb: string) {
|
||||
let hex = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
|
||||
@@ -12,3 +14,7 @@ export function rgbToHex(rgb: string) {
|
||||
.join("")
|
||||
);
|
||||
}
|
||||
|
||||
export const colors = writable({
|
||||
background: "#f0f0f0",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user