|
4 | 4 | * @generated by `astryx theme build` — do not edit manually. |
5 | 5 | * Source: src/neutralTheme.ts |
6 | 6 | * Command: astryx theme build src/neutralTheme.ts --out dist/theme.css |
7 | | - * CLI: @astryxdesign/cli@0.7.1 |
8 | | - * Core: @astryxdesign/core@0.7.1 |
| 7 | + * CLI: @astryxdesign/cli@0.7.2 |
| 8 | + * Core: @astryxdesign/core@0.7.2 |
9 | 9 | */ |
10 | 10 |
|
| 11 | +@layer reset, astryx-base, astryx-theme; |
| 12 | + |
11 | 13 | @layer reset { |
12 | 14 | @scope ([data-astryx-theme="neutral"]) to ([data-astryx-theme]) { |
13 | 15 | :where(h1, h2, h3, h4, h5, h6) { |
|
79 | 81 | } |
80 | 82 | } |
81 | 83 |
|
82 | | -@layer astryx-base { |
83 | | -:root { |
84 | | - --color-data-categorical-blue: light-dark(#0171E3, #0171E3); |
85 | | - --color-data-categorical-orange: light-dark(#EB6E00, #EB6E00); |
86 | | - --color-data-categorical-purple: light-dark(#6B1EFD, #6B1EFD); |
87 | | - --color-data-categorical-green: light-dark(#0B991F, #0B991F); |
88 | | - --color-data-categorical-pink: light-dark(#F351C0, #F351C0); |
89 | | - --color-data-categorical-cyan: light-dark(#0171A4, #0171A4); |
90 | | - --color-data-categorical-red: light-dark(#F5394F, #F5394F); |
91 | | - --color-data-categorical-teal: light-dark(#08A3A3, #08A3A3); |
92 | | - --color-data-categorical-brown: light-dark(#965E03, #965E03); |
93 | | - --color-data-categorical-indigo: light-dark(#6F8AFF, #6F8AFF); |
94 | | - --color-data-neutral: light-dark(#8494A3, #8C939B); |
95 | | - --color-data-blue-5: light-dark(#02165E, #02165E); |
96 | | - --color-data-blue-4: light-dark(#004CBC, #004CBC); |
97 | | - --color-data-blue-3: light-dark(#2694FE, #2694FE); |
98 | | - --color-data-blue-2: light-dark(#78BEFF, #78BEFF); |
99 | | - --color-data-blue-1: light-dark(#DBECFF, #DBECFF); |
100 | | - --color-data-shamrock-5: light-dark(#0B603D, #0B603D); |
101 | | - --color-data-shamrock-4: light-dark(#138546, #138546); |
102 | | - --color-data-shamrock-3: light-dark(#24BB5E, #24BB5E); |
103 | | - --color-data-shamrock-2: light-dark(#8EF7AA, #8EF7AA); |
104 | | - --color-data-shamrock-1: light-dark(#D6FEE4, #D6FEE4); |
105 | | - --color-data-orange-5: light-dark(#A13F04, #A13F04); |
106 | | - --color-data-orange-4: light-dark(#D66100, #D66100); |
107 | | - --color-data-orange-3: light-dark(#FD9537, #FD9537); |
108 | | - --color-data-orange-2: light-dark(#FDB876, #FDB876); |
109 | | - --color-data-orange-1: light-dark(#FFE6CF, #FFE6CF); |
110 | | - --color-data-pink-5: light-dark(#8E1073, #8E1073); |
111 | | - --color-data-pink-4: light-dark(#D123A1, #D123A1); |
112 | | - --color-data-pink-3: light-dark(#F989D3, #F989D3); |
113 | | - --color-data-pink-2: light-dark(#FEADE3, #FEADE3); |
114 | | - --color-data-pink-1: light-dark(#FCE3F4, #FCE3F4); |
115 | | - --color-data-purple-5: light-dark(#3E0697, #3E0697); |
116 | | - --color-data-purple-4: light-dark(#6B1EFD, #6B1EFD); |
117 | | - --color-data-purple-3: light-dark(#9081FF, #9081FF); |
118 | | - --color-data-purple-2: light-dark(#B3B0FE, #B3B0FE); |
119 | | - --color-data-purple-1: light-dark(#E8E8FB, #E8E8FB); |
120 | | - --color-data-red-5: light-dark(#9D0519, #9D0519); |
121 | | - --color-data-red-4: light-dark(#D31130, #D31130); |
122 | | - --color-data-red-3: light-dark(#FB7D87, #FB7D87); |
123 | | - --color-data-red-2: light-dark(#FFB2B8, #FFB2B8); |
124 | | - --color-data-red-1: light-dark(#FEE4E6, #FEE4E6); |
125 | | - --color-data-teal-5: light-dark(#08767D, #08767D); |
126 | | - --color-data-teal-4: light-dark(#0C9293, #0C9293); |
127 | | - --color-data-teal-3: light-dark(#0DB7AF, #0DB7AF); |
128 | | - --color-data-teal-2: light-dark(#6CE6D8, #6CE6D8); |
129 | | - --color-data-teal-1: light-dark(#D7FCF8, #D7FCF8); |
130 | | - --color-data-yellow-5: light-dark(#8A5001, #8A5001); |
131 | | - --color-data-yellow-4: light-dark(#D69804, #D69804); |
132 | | - --color-data-yellow-3: light-dark(#FBCE03, #FBCE03); |
133 | | - --color-data-yellow-2: light-dark(#FCEC85, #FCEC85); |
134 | | - --color-data-yellow-1: light-dark(#FDF6BA, #FDF6BA); |
135 | | - --color-data-gray-5: light-dark(#25363F, #333338); |
136 | | - --color-data-gray-4: light-dark(#5D6C7B, #666A72); |
137 | | - --color-data-gray-3: light-dark(#AFB9C4, #B2B8BE); |
138 | | - --color-data-gray-2: light-dark(#CCD3DB, #D0D3D6); |
139 | | - --color-data-gray-1: light-dark(#F1F4F7, #F2F4F6); |
140 | | -} |
141 | | -} |
142 | | - |
143 | 84 | @layer astryx-theme { |
144 | 85 | :root { color-scheme: light dark; } |
145 | 86 | html[data-theme="light"] { color-scheme: light; } |
|
227 | 168 | --color-syntax-property: light-dark(#005348, #90d7c8); |
228 | 169 | --color-syntax-punctuation: light-dark(#6a6a6a, #9e9e9e); |
229 | 170 | --color-syntax-background: light-dark(#ffffff, #111111); |
| 171 | + --color-syntax-added: color-mix(in srgb, var(--color-success-muted) 25%, transparent); |
| 172 | + --color-syntax-removed: color-mix(in srgb, var(--color-error-muted) 25%, transparent); |
| 173 | + --color-syntax-diff-header: transparent; |
| 174 | + --color-syntax-added-marker: var(--color-syntax-punctuation); |
| 175 | + --color-syntax-removed-marker: var(--color-syntax-punctuation); |
230 | 176 | --color-background-surface: light-dark(#ffffff, #262626); |
231 | 177 | --color-background-body: light-dark(#f1f1f1, #1b1b1b); |
232 | 178 | --color-background-card: light-dark(#ffffff, #1b1b1b); |
|
699 | 645 | } |
700 | 646 | } |
701 | 647 |
|
| 648 | +@layer astryx-theme { |
| 649 | +@media (width < 1024px) and (pointer: coarse) { |
| 650 | + @scope ([data-astryx-theme="neutral"]) to ([data-astryx-theme]) { |
| 651 | + :scope { |
| 652 | + --font-size-4xs: 0.4375rem; |
| 653 | + --font-size-3xs: 0.5rem; |
| 654 | + --font-size-2xs: 0.625rem; |
| 655 | + --font-size-xs: 0.75rem; |
| 656 | + --font-size-sm: 0.875rem; |
| 657 | + --font-size-base: 1rem; |
| 658 | + --font-size-lg: 1.1875rem; |
| 659 | + --font-size-xl: 1.375rem; |
| 660 | + --font-size-2xl: 1.625rem; |
| 661 | + --font-size-3xl: 1.875rem; |
| 662 | + --font-size-4xl: 2.25rem; |
| 663 | + --font-size-5xl: 2.625rem; |
| 664 | + --text-heading-1-size: var(--font-size-2xl); |
| 665 | + --text-heading-1-weight: var(--font-weight-semibold); |
| 666 | + --text-heading-1-leading: 1.3846; |
| 667 | + --text-heading-2-size: var(--font-size-xl); |
| 668 | + --text-heading-2-weight: var(--font-weight-semibold); |
| 669 | + --text-heading-2-leading: 1.4545; |
| 670 | + --text-heading-3-size: var(--font-size-lg); |
| 671 | + --text-heading-3-weight: var(--font-weight-bold); |
| 672 | + --text-heading-3-leading: 1.4737; |
| 673 | + --text-heading-4-size: var(--font-size-base); |
| 674 | + --text-heading-4-weight: var(--font-weight-bold); |
| 675 | + --text-heading-4-leading: 1.5; |
| 676 | + --text-heading-5-size: var(--font-size-sm); |
| 677 | + --text-heading-5-weight: var(--font-weight-semibold); |
| 678 | + --text-heading-5-leading: 1.4286; |
| 679 | + --text-heading-6-size: var(--font-size-xs); |
| 680 | + --text-heading-6-weight: var(--font-weight-semibold); |
| 681 | + --text-heading-6-leading: 1.6667; |
| 682 | + --text-body-size: var(--font-size-base); |
| 683 | + --text-body-weight: var(--font-weight-normal); |
| 684 | + --text-body-leading: 1.5; |
| 685 | + --text-large-size: var(--font-size-lg); |
| 686 | + --text-large-weight: var(--font-weight-semibold); |
| 687 | + --text-large-leading: 1.4737; |
| 688 | + --text-label-size: var(--font-size-base); |
| 689 | + --text-label-weight: var(--font-weight-medium); |
| 690 | + --text-label-leading: 1.5; |
| 691 | + --text-code-size: var(--font-size-base); |
| 692 | + --text-code-weight: var(--font-weight-normal); |
| 693 | + --text-code-leading: 1.5; |
| 694 | + --text-supporting-size: var(--font-size-sm); |
| 695 | + --text-supporting-weight: var(--font-weight-normal); |
| 696 | + --text-supporting-leading: 1.4286; |
| 697 | + --text-display-1-size: var(--font-size-5xl); |
| 698 | + --text-display-1-weight: var(--font-weight-normal); |
| 699 | + --text-display-1-leading: 1.2381; |
| 700 | + --text-display-2-size: var(--font-size-4xl); |
| 701 | + --text-display-2-weight: var(--font-weight-normal); |
| 702 | + --text-display-2-leading: 1.2222; |
| 703 | + --text-display-3-size: var(--font-size-3xl); |
| 704 | + --text-display-3-weight: var(--font-weight-normal); |
| 705 | + --text-display-3-leading: 1.4667; |
| 706 | + --font-family-body: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 707 | + --font-family-heading: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 708 | + --font-family-code: ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
| 709 | + } |
| 710 | + } |
| 711 | +} |
| 712 | +} |
| 713 | + |
702 | 714 | @layer astryx-theme { |
703 | 715 | @scope ([data-astryx-theme="neutral"]) to ([data-astryx-theme]) { |
704 | 716 | [data-astryx-media="dark"] { |
|
0 commit comments