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 { TITLE_TEXT } from "./consts";
|
||||
|
||||
const betterTTheme = {
|
||||
primary: "#4F46E5",
|
||||
secondary: "#06B6D4",
|
||||
accent: "#3B82F6",
|
||||
highlight: "#8B5CF6",
|
||||
success: "#10B981",
|
||||
warning: "#F59E0B",
|
||||
const catppuccinTheme = {
|
||||
rosewater: "#F5E0DC",
|
||||
flamingo: "#F2CDCD",
|
||||
pink: "#F5C2E7",
|
||||
mauve: "#CBA6F7",
|
||||
red: "#F38BA8",
|
||||
maroon: "#E78284",
|
||||
peach: "#FAB387",
|
||||
yellow: "#F9E2AF",
|
||||
green: "#A6E3A1",
|
||||
teal: "#94E2D5",
|
||||
sky: "#89DCEB",
|
||||
sapphire: "#74C7EC",
|
||||
lavender: "#B4BEFE",
|
||||
};
|
||||
|
||||
export const renderTitle = () => {
|
||||
const betterTGradient = gradient(Object.values(betterTTheme));
|
||||
|
||||
console.log(betterTGradient.multiline(TITLE_TEXT));
|
||||
const catppuccinGradient = gradient(Object.values(catppuccinTheme));
|
||||
console.log(catppuccinGradient.multiline(TITLE_TEXT));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user