From b7fb0c789f1334df82937fbffb2bb7ddbf5c089e Mon Sep 17 00:00:00 2001 From: sakkke Date: Mon, 5 Dec 2022 20:42:38 +0900 Subject: [PATCH 1/4] added Catppuccin themes --- src/cards/themes.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/cards/themes.ts b/src/cards/themes.ts index 60ebd2d1..6e0f0afb 100644 --- a/src/cards/themes.ts +++ b/src/cards/themes.ts @@ -174,6 +174,30 @@ themes.set("cyberpunk", { titleColor: "#de6a8d", badgeColor: "#9a437b", }); +themes.set("catppuccin_latte", { + backgroundColor: "#eff1f5", + borderColor: "#9ca0b0", + badgeColor: "#8839ef", + titleColor: "#179299", +}); +themes.set("catppuccin_frappe", { + backgroundColor: "#303446", + borderColor: "#737994", + badgeColor: "#ca9ee6", + titleColor: "#81c8be", +}); +themes.set("catppuccin_macchiato", { + backgroundColor: "#24273a", + borderColor: "#6e738d", + badgeColor: "#c6a0f6", + titleColor: "#8bd5ca", +}); +themes.set("catppuccin_mocha", { + backgroundColor: "#1e1e2e", + borderColor: "#6c7086", + badgeColor: "#cba6f7", + titleColor: "#94e2d5", +}); /** * Searches for the specified theme in the themes map. From 93c68e9f87400074e1eac48d3231bb973f7557ca Mon Sep 17 00:00:00 2001 From: sakkke Date: Mon, 5 Dec 2022 20:55:57 +0900 Subject: [PATCH 2/4] fixed colors --- src/cards/themes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cards/themes.ts b/src/cards/themes.ts index 6e0f0afb..ea887aee 100644 --- a/src/cards/themes.ts +++ b/src/cards/themes.ts @@ -177,25 +177,25 @@ themes.set("cyberpunk", { themes.set("catppuccin_latte", { backgroundColor: "#eff1f5", borderColor: "#9ca0b0", - badgeColor: "#8839ef", + badgeColor: "#e6e9ef", titleColor: "#179299", }); themes.set("catppuccin_frappe", { backgroundColor: "#303446", borderColor: "#737994", - badgeColor: "#ca9ee6", + badgeColor: "#292c3c", titleColor: "#81c8be", }); themes.set("catppuccin_macchiato", { backgroundColor: "#24273a", borderColor: "#6e738d", - badgeColor: "#c6a0f6", + badgeColor: "#1e2030", titleColor: "#8bd5ca", }); themes.set("catppuccin_mocha", { backgroundColor: "#1e1e2e", borderColor: "#6c7086", - badgeColor: "#cba6f7", + badgeColor: "#181825", titleColor: "#94e2d5", }); From dd28b61a1e12769b21886673ed5bc150e17670a1 Mon Sep 17 00:00:00 2001 From: sakkke Date: Mon, 5 Dec 2022 21:10:46 +0900 Subject: [PATCH 3/4] npm run format --- SECURITY.md | 2 +- client/src/index.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 52bdec34..5baab9c7 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ | ------- | ------------------ | | 1.2.x | :white_check_mark: | | 1.1.x | :white_check_mark: | -| < 1.1.0 | :x: | +| < 1.1.0 | :x: | ## Reporting a Vulnerability diff --git a/client/src/index.css b/client/src/index.css index bd7e15ab..00c7f962 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -7,8 +7,8 @@ } *::-webkit-scrollbar { - height: .5rem; - width: .5rem; + height: 0.5rem; + width: 0.5rem; } *::-webkit-scrollbar-track { @@ -17,7 +17,7 @@ *::-webkit-scrollbar-thumb { background-color: #7b7b7b; - transition: .3s ease-in-out; + transition: 0.3s ease-in-out; } *::-webkit-scrollbar-thumb:hover { From 660052c296e3893339113eede0683c761a2a37e6 Mon Sep 17 00:00:00 2001 From: sakkke Date: Mon, 5 Dec 2022 21:25:00 +0900 Subject: [PATCH 4/4] added Catppuccin themes to README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 8db0c7e7..8d728824 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,24 @@ Here are the themes spread in a table. The card title is the name of the theme. + + + + + + + + + + + + + + + + + + ### 📚 Adding a new theme