Skip to content

Colour changes between versions #54

Answered by Yohn
rokf asked this question in Q&A
Jan 27, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This was intended when I started doing the builds just so I could see a random color theme with each build.

// Theme colors
$yo-themes: (
"amber",
"azure",
"blue",
"cyan",
"fuchsia",
"green",
"indigo",
"jade",
"lime",
"orange",
"pink",
"pumpkin",
"purple",
"red",
"violet",
"yellow"
);
$random: list.nth($yo-themes, math.random(list.length($yo-themes)));
// picks a random theme to use as default
$theme-color: $random !default; // amber, azure, blue, cyan, fuchsia, green, grey, indigo, jade, lime, orange, pink, pumpkin, purp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rokf
Comment options

Answer selected by Yohn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants