@opencode-ai/ui 0.0.0-dev-19163 → 0.0.0-dev-19169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps } from "solid-js";
|
|
2
|
-
export declare function Wordmark(props: Pick<ComponentProps<"svg">, "class">
|
|
2
|
+
export declare function Wordmark(props: Pick<ComponentProps<"svg">, "class"> & {
|
|
3
|
+
fade?: boolean;
|
|
4
|
+
muted?: boolean;
|
|
5
|
+
}): import("solid-js").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createUniqueId, type ComponentProps } from "solid-js"
|
|
2
2
|
|
|
3
|
-
export function Wordmark(props: Pick<ComponentProps<"svg">, "class">) {
|
|
3
|
+
export function Wordmark(props: Pick<ComponentProps<"svg">, "class"> & { fade?: boolean; muted?: boolean }) {
|
|
4
4
|
const mask = createUniqueId()
|
|
5
5
|
const maskGradient = createUniqueId()
|
|
6
6
|
|
|
@@ -11,49 +11,17 @@ export function Wordmark(props: Pick<ComponentProps<"svg">, "class">) {
|
|
|
11
11
|
fill="none"
|
|
12
12
|
classList={{ [props.class ?? ""]: !!props.class }}
|
|
13
13
|
>
|
|
14
|
-
<g opacity=
|
|
15
|
-
<g mask={`url(#${mask})`}>
|
|
16
|
-
<g opacity=
|
|
17
|
-
<path
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/>
|
|
22
|
-
<path
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
fill="currentColor"
|
|
26
|
-
/>
|
|
27
|
-
<path
|
|
28
|
-
opacity="0.7"
|
|
29
|
-
d="M258.846 73.2857H203.462V91.7143H258.846V110.143H185V18H258.846V73.2857ZM203.462 54.8571H240.385V36.4286H203.462V54.8571Z"
|
|
30
|
-
fill="currentColor"
|
|
31
|
-
/>
|
|
32
|
-
<path
|
|
33
|
-
opacity="0.7"
|
|
34
|
-
d="M332.385 36.4286H295.462V110.143H277V18H332.385V36.4286ZM350.846 110.143H332.385V36.4286H350.846V110.143Z"
|
|
35
|
-
fill="currentColor"
|
|
36
|
-
/>
|
|
37
|
-
<path
|
|
38
|
-
opacity="0.7"
|
|
39
|
-
d="M442.846 36.4286H387.462V91.7143H442.846V110.143H369V18H442.846V36.4286Z"
|
|
40
|
-
fill="currentColor"
|
|
41
|
-
/>
|
|
42
|
-
<path
|
|
43
|
-
opacity="0.7"
|
|
44
|
-
d="M517.385 36.4286H480.462V91.7143H517.385V36.4286ZM535.846 110.143H462V18H535.846V110.143Z"
|
|
45
|
-
fill="currentColor"
|
|
46
|
-
/>
|
|
47
|
-
<path
|
|
48
|
-
opacity="0.7"
|
|
49
|
-
d="M609.385 36.8571H572.462V92.1429H609.385V36.8571ZM627.846 110.571H554V18.4286H609.385V0H627.846V110.571Z"
|
|
50
|
-
fill="currentColor"
|
|
51
|
-
/>
|
|
52
|
-
<path
|
|
53
|
-
opacity="0.7"
|
|
54
|
-
d="M664.462 36.4286V54.8571H701.385V36.4286H664.462ZM719.846 73.2857H664.462V91.7143H719.846V110.143H646V18H719.846V73.2857Z"
|
|
55
|
-
fill="currentColor"
|
|
56
|
-
/>
|
|
14
|
+
<g opacity={props.muted === false ? 1 : 0.6} class="[[data-color-scheme=dark]_&]:opacity-100">
|
|
15
|
+
<g mask={props.fade === false ? undefined : `url(#${mask})`}>
|
|
16
|
+
<g opacity={props.muted === false ? 1 : 0.16 * 0.7} fill="currentColor">
|
|
17
|
+
<path d="M55.3846 36.4286H18.4615V91.7143H55.3846V36.4286ZM73.8462 110.143H0V18H73.8462V110.143Z" />
|
|
18
|
+
<path d="M110.462 91.7143H147.385V36.4286H110.462V91.7143ZM165.846 110.143H110.462V128.571H92V18H165.846V110.143Z" />
|
|
19
|
+
<path d="M258.846 73.2857H203.462V91.7143H258.846V110.143H185V18H258.846V73.2857ZM203.462 54.8571H240.385V36.4286H203.462V54.8571Z" />
|
|
20
|
+
<path d="M332.385 36.4286H295.462V110.143H277V18H332.385V36.4286ZM350.846 110.143H332.385V36.4286H350.846V110.143Z" />
|
|
21
|
+
<path d="M442.846 36.4286H387.462V91.7143H442.846V110.143H369V18H442.846V36.4286Z" />
|
|
22
|
+
<path d="M517.385 36.4286H480.462V91.7143H517.385V36.4286ZM535.846 110.143H462V18H535.846V110.143Z" />
|
|
23
|
+
<path d="M609.385 36.8571H572.462V92.1429H609.385V36.8571ZM627.846 110.571H554V18.4286H609.385V0H627.846V110.571Z" />
|
|
24
|
+
<path d="M664.462 36.4286V54.8571H701.385V36.4286H664.462ZM719.846 73.2857H664.462V91.7143H719.846V110.143H646V18H719.846V73.2857Z" />
|
|
57
25
|
</g>
|
|
58
26
|
</g>
|
|
59
27
|
</g>
|