-
Notifications
You must be signed in to change notification settings - Fork 1
/
HankoProfile.css.ts
58 lines (52 loc) · 1.39 KB
/
HankoProfile.css.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { style } from "@vanilla-extract/css";
import { themeTokens, themeVars } from "@codeui/kit";
import { hankoComponent } from "./hanko-base.css";
export const hankoProfile = style([
hankoComponent,
{
vars: {
"--color": themeVars.foreground,
"--color-shade-1": themeVars.accent9,
"--color-shade-2": themeVars.accent6,
"--brand-color": themeVars.brand,
"--brand-color-shade-1": themeVars.brandAccentActive,
"--brand-contrast-color": "white",
"--background-color": themeVars.accent4,
"--container-padding": "0",
"--paragraph-inner-color": themeVars.accent10,
"--paragraph-heading-color": themeVars.foreground,
"--accordion-container-bg": themeVars.accent4,
},
width: "100%",
":focus-visible": {
outline: "none",
},
},
{
selectors: {
"&::part(container)": {
borderRadius: themeTokens.radii.lg,
backgroundColor: "transparent",
border: "none",
maxWidth: "100%",
width: "100%",
},
"&::part(headline1)": {
fontSize: themeTokens.fontSize.xl,
},
"&::part(paragraph)": {
marginBottom: themeTokens.spacing["6"],
},
"&::part(input)": {
vars: {
"--item-height": "42px",
},
},
"&::part(button)": {
vars: {
"--item-height": "42px",
},
},
},
},
]);