|
| 1 | +import { createGlobalTheme } from "@vanilla-extract/css"; |
| 2 | +import { colorTheme } from "./color.css"; |
| 3 | + |
| 4 | +export const textTheme = createGlobalTheme(":root", { |
| 5 | + titleH1: { |
| 6 | + fontWeight: "600", |
| 7 | + fontSize: "2.5rem", |
| 8 | + lineHeight: "1.6em", |
| 9 | + letterSpacing: "-0.03em", |
| 10 | + color: colorTheme.white[100], |
| 11 | + }, |
| 12 | + titleH1Lg: { |
| 13 | + fontWeight: "600", |
| 14 | + fontSize: "3rem", |
| 15 | + lineHeight: "1.6em", |
| 16 | + letterSpacing: "-0.03em", |
| 17 | + color: colorTheme.white[100], |
| 18 | + }, |
| 19 | + titleH2: { |
| 20 | + fontWeight: "600", |
| 21 | + fontSize: "2.4rem", |
| 22 | + lineHeight: "1.6em", |
| 23 | + letterSpacing: "-0.02em", |
| 24 | + color: colorTheme.white[100], |
| 25 | + }, |
| 26 | + titleH2Lg: { |
| 27 | + fontWeight: "600", |
| 28 | + fontSize: "2.6rem", |
| 29 | + lineHeight: "1.6em", |
| 30 | + letterSpacing: "-0.02em", |
| 31 | + color: colorTheme.white[100], |
| 32 | + }, |
| 33 | + titleH3: { |
| 34 | + fontWeight: "700", |
| 35 | + fontSize: "2rem", |
| 36 | + lineHeight: "1.4em", |
| 37 | + letterSpacing: "-0.02em", |
| 38 | + color: colorTheme.white[100], |
| 39 | + }, |
| 40 | + titleH3Lg: { |
| 41 | + fontWeight: "700", |
| 42 | + fontSize: "2.2rem", |
| 43 | + lineHeight: "1.6em", |
| 44 | + letterSpacing: "-0.02em", |
| 45 | + color: colorTheme.white[100], |
| 46 | + }, |
| 47 | + bodyB1: { |
| 48 | + fontWeight: "500", |
| 49 | + fontSize: "1.7rem", |
| 50 | + lineHeight: "1.8em", |
| 51 | + letterSpacing: "-0.02em", |
| 52 | + color: colorTheme.white[100], |
| 53 | + }, |
| 54 | + bodyB1Lg: { |
| 55 | + fontWeight: "500", |
| 56 | + fontSize: "1.8rem", |
| 57 | + lineHeight: "1.8em", |
| 58 | + letterSpacing: "-0.02em", |
| 59 | + color: colorTheme.white[100], |
| 60 | + }, |
| 61 | + bodyB2: { |
| 62 | + fontWeight: "500", |
| 63 | + fontSize: "1.5rem", |
| 64 | + lineHeight: "1.5em", |
| 65 | + letterSpacing: "-0.02em", |
| 66 | + fontStyle: "italic", |
| 67 | + color: colorTheme.white[100], |
| 68 | + }, |
| 69 | + bodyB2Lg: { |
| 70 | + fontWeight: "500", |
| 71 | + fontSize: "1.5rem", |
| 72 | + lineHeight: "1.6em", |
| 73 | + letterSpacing: "-0.02em", |
| 74 | + fontStyle: "italic", |
| 75 | + color: colorTheme.white[100], |
| 76 | + }, |
| 77 | + caption16: { |
| 78 | + fontWeight: "500", |
| 79 | + fontSize: "1.6rem", |
| 80 | + lineHeight: "1.6em", |
| 81 | + letterSpacing: "-0.02em", |
| 82 | + color: "#666", |
| 83 | + }, |
| 84 | + caption15: { |
| 85 | + fontWeight: "500", |
| 86 | + fontSize: "1.5rem", |
| 87 | + lineHeight: "1.6em", |
| 88 | + letterSpacing: "-0.02em", |
| 89 | + color: colorTheme.white[100], |
| 90 | + }, |
| 91 | + caption14: { |
| 92 | + fontWeight: "500", |
| 93 | + fontSize: "1.4rem", |
| 94 | + lineHeight: "1.6em", |
| 95 | + letterSpacing: "-0.02em", |
| 96 | + color: colorTheme.white[100], |
| 97 | + }, |
| 98 | +}); |
0 commit comments