@astryx-vue/themes 0.2.0 → 0.2.1

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.
package/README.md CHANGED
@@ -14,4 +14,4 @@ import '@astryx-vue/themes/neutral.css'
14
14
 
15
15
  Neutral, Butter, Chocolate, Gothic, Matcha, Stone, and Y2K each have an entry: `@astryx-vue/themes/<name>.css`. Set `data-astryx-theme="<name>"` on the element that should use it. Neutral also applies on `:root`.
16
16
 
17
- Every entry loads JetBrains Mono at 400, 500, 600, 700, and 400 italic. The other themes also load their text faces. Component styles come from `@astryx-vue/core`; import `@astryx-vue/core/styles.css` once if you want the full structural sheet.
17
+ Every entry loads Figtree and JetBrains Mono at 400, 500, 600, 700, and 400 italic. Figtree also includes 600 italic. The other themes also load their text faces. Component styles come from `@astryx-vue/core`; import `@astryx-vue/core/styles.css` once if you want the full structural sheet.
@@ -14,7 +14,9 @@ The TextInput, CheckboxInput, CheckboxIndicator, Slider, Banner and Field family
14
14
 
15
15
  When files or substantial portions are copied or adapted, their original copyright and license notices must be kept here or alongside the adapted files.
16
16
 
17
- Butter, Chocolate, Gothic, Matcha, Stone, and Y2K token values are adapted from the public `@astryxdesign/theme-*` packages at version 0.7.0 (`theme.css` and `fonts.css`), under the same MIT license. The Vue package renames those custom properties with an `--astryx-` prefix and keeps JetBrains Mono on `@fontsource/jetbrains-mono`.
17
+ Butter, Chocolate, Gothic, Matcha, Stone, and Y2K token values are adapted from the public `@astryxdesign/theme-*` packages at version 0.7.0 (`theme.css` and `fonts.css`), under the same MIT license. The Vue package renames those custom properties with an `--astryx-` prefix. Figtree and JetBrains Mono stay on `@fontsource/figtree` and `@fontsource/jetbrains-mono`, which ship self-hosted woff2.
18
+
19
+ Figtree: Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree), SIL Open Font License 1.1. The license text ships inside `@fontsource/figtree`. The font is not sold by itself.
18
20
 
19
21
  No Meta trademarks, logos, or endorsement are granted by the Astryx software license.
20
22
 
package/butter/base.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
10
  @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Sarina&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
@@ -5,7 +5,7 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
10
  @import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
package/fonts.css CHANGED
@@ -1,4 +1,10 @@
1
- /* 各主题共用的等宽字形。主题入口在内部引入,使用方不要单独 import 这个文件。 */
1
+ /* 各主题共用的正文字体 Figtree 和等宽字体 JetBrains Mono。主题入口在内部引入,使用方不要单独 import 这个文件。 */
2
+ @import '@fontsource/figtree/400.css';
3
+ @import '@fontsource/figtree/400-italic.css';
4
+ @import '@fontsource/figtree/500.css';
5
+ @import '@fontsource/figtree/600.css';
6
+ @import '@fontsource/figtree/600-italic.css';
7
+ @import '@fontsource/figtree/700.css';
2
8
  @import '@fontsource/jetbrains-mono/400.css';
3
9
  @import '@fontsource/jetbrains-mono/400-italic.css';
4
10
  @import '@fontsource/jetbrains-mono/500.css';
package/gothic/base.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
10
  @import url('https://fonts.googleapis.com/css2?family=Fustat:wght@400;500;600;700&family=Manufacturing+Consent&family=UnifrakturMaguntia&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
package/matcha/base.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
10
  @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playwrite+US+Trad&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
package/neutral/card.css CHANGED
@@ -4,6 +4,7 @@
4
4
  :root,
5
5
  [data-astryx-theme='neutral'] {
6
6
  --astryx-card-background: light-dark(#fff, #1f1f22);
7
+ --astryx-card-padding: var(--astryx-spacing-3);
7
8
  --astryx-card-muted-background: var(--astryx-color-background-muted);
8
9
  --astryx-card-border: light-dark(#00000014, #ffffff1a);
9
10
  --astryx-card-shadow-low:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/themes",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Themes for the unofficial astryx-vue community project.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
@@ -55,6 +55,7 @@
55
55
  "y2k.css"
56
56
  ],
57
57
  "dependencies": {
58
+ "@fontsource/figtree": "5.3.0",
58
59
  "@fontsource/jetbrains-mono": "5.3.0"
59
60
  },
60
61
  "publishConfig": {
package/stone/base.css CHANGED
@@ -5,9 +5,9 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
- @import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');
10
+ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
12
12
 
13
13
  @layer astryx.tokens {
package/y2k/base.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * Names match Neutral, with an --astryx- prefix.
6
6
  * A token present in the upstream theme.css replaces the Neutral value.
7
7
  * Tokens the theme does not set keep the shared default from Neutral's base.
8
- * JetBrains Mono stays on the shared fonts.css stack.
8
+ * Figtree and JetBrains Mono stay on the shared fonts.css stack.
9
9
  */
10
10
  @import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Poppins:wght@400;500;600;700&display=swap');
11
11
  @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;