mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
change text colors
This commit is contained in:
@@ -1,17 +1,23 @@
|
|||||||
import gradient from "gradient-string";
|
import gradient from "gradient-string";
|
||||||
import { TITLE_TEXT } from "./consts";
|
import { TITLE_TEXT } from "./consts";
|
||||||
|
|
||||||
const betterTTheme = {
|
const catppuccinTheme = {
|
||||||
primary: "#4F46E5",
|
rosewater: "#F5E0DC",
|
||||||
secondary: "#06B6D4",
|
flamingo: "#F2CDCD",
|
||||||
accent: "#3B82F6",
|
pink: "#F5C2E7",
|
||||||
highlight: "#8B5CF6",
|
mauve: "#CBA6F7",
|
||||||
success: "#10B981",
|
red: "#F38BA8",
|
||||||
warning: "#F59E0B",
|
maroon: "#E78284",
|
||||||
|
peach: "#FAB387",
|
||||||
|
yellow: "#F9E2AF",
|
||||||
|
green: "#A6E3A1",
|
||||||
|
teal: "#94E2D5",
|
||||||
|
sky: "#89DCEB",
|
||||||
|
sapphire: "#74C7EC",
|
||||||
|
lavender: "#B4BEFE",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const renderTitle = () => {
|
export const renderTitle = () => {
|
||||||
const betterTGradient = gradient(Object.values(betterTTheme));
|
const catppuccinGradient = gradient(Object.values(catppuccinTheme));
|
||||||
|
console.log(catppuccinGradient.multiline(TITLE_TEXT));
|
||||||
console.log(betterTGradient.multiline(TITLE_TEXT));
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user