PR: Custom Color Choice (#38)

This commit is contained in:
Jordan Vidrine
2025-03-11 14:45:04 -05:00
committed by GitHub
parent 664e3a5910
commit d1800ffd98
10 changed files with 183 additions and 3 deletions
@@ -0,0 +1,12 @@
import Component from "@glimmer/component";
import { concat } from "@ember/helper";
import { service } from "@ember/service";
import htmlClass from "discourse/helpers/html-class";
export default class ClassAdder extends Component {
@service customColor;
<template>
{{htmlClass (concat "custom-color-" this.customColor.color)}}
</template>
}