add all the styles

This commit is contained in:
Brandon Thomas
2024-03-30 16:17:09 -04:00
parent 65d8f8b531
commit 73ac033aa0
2 changed files with 75 additions and 0 deletions
@@ -10,6 +10,18 @@ import styles from "./style-tab.scss?inline";
export type VstStyle
= "anime_2d_flat"
| "cartoon_3d"
| "anime_2d"
| "anime_ghibli"
| "anime_retro_neon"
| "anime_standard"
| "comic_book"
| "ink_punk"
| "pixel_art"
| "ink_splash"
| "jojo_style"
| "pop_art"
| "realistic_1"
| "realistic_2"
| "ink_bw_style"
| "paper_origami"
;
@@ -23,24 +35,84 @@ export interface StyleOption {
export const STYLE_OPTIONS: readonly StyleOption[] = [
{
label: "2D Anime",
imageUrl: "",
value: "anime_2d",
},
{
label: "2D Anime (Flat)",
imageUrl: "https://fakeyou.com/images/landing/onboarding/styles/style-2d-anime.webp",
value: "anime_2d_flat",
},
{
label: "Anime Ghibli",
imageUrl: "",
value: "anime_ghibli",
},
{
label: "Anime Retro Neon",
imageUrl: "",
value: "anime_retro_neon",
},
{
label: "Anime Standard",
imageUrl: "",
value: "anime_standard",
},
{
label: "3D Cartoon",
imageUrl: "https://fakeyou.com/images/landing/onboarding/styles/style-3d-cartoon.webp",
value: "cartoon_3d",
},
{
label: "Comic Book",
imageUrl: "",
value: "comic_book",
},
{
label: "Ink Punk",
imageUrl: "",
value: "ink_punk",
},
{
label: "Ink Splash",
imageUrl: "",
value: "ink_splash",
},
{
label: "Ink B&W",
imageUrl: "https://fakeyou.com/images/landing/onboarding/styles/style-ink-bw.webp",
value: "ink_bw_style",
},
{
label: "Jojo Style",
imageUrl: "",
value: "jojo_style",
},
{
label: "Origami",
imageUrl: "https://fakeyou.com/images/landing/onboarding/styles/style-origami.webp",
value: "paper_origami",
},
{
label: "Pixel Art",
imageUrl: "",
value: "pixel_art",
},
{
label: "Pop Art",
imageUrl: "",
value: "pop_art",
},
{
label: "Realistic 1",
imageUrl: "",
value: "realistic_1",
},
{
label: "Realistic 2",
imageUrl: "",
value: "realistic_2",
},
];
@customElement("sts-style-tab")
@@ -29,6 +29,8 @@ export class StyleSelect extends FormFieldBaseElement {
protected override render = () => html`
<div>
<!--
TODO(bt): preview image
<div
class=${classMap({
"bubble": true,
@@ -42,6 +44,7 @@ export class StyleSelect extends FormFieldBaseElement {
${ "Foo" }
</span>
</div>
-->
<select
@change=${(event: InputEvent) => {
const value = (event.target as HTMLSelectElement).value;