@gjsify/adwaita-web 0.52.0 → 0.54.0
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 +34 -0
- package/dist/adwaita-web.css +4 -4
- package/dist/adwaita-web.css.map +1 -1
- package/lib/types/accent.d.ts +12 -2
- package/lib/types/adw-appearance.spec.d.ts +2 -0
- package/lib/types/appearance.d.ts +41 -0
- package/lib/types/font-stack.spec.d.ts +2 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/styles.generated.d.ts +1 -1
- package/package.json +8 -8
- package/scss/_variables.scss +44 -3
- package/src/accent.ts +28 -5
- package/src/adw-appearance.spec.ts +178 -0
- package/src/appearance.ts +207 -0
- package/src/blueprint-tree.spec.ts +1 -1
- package/src/elements/swipe-drag.ts +1 -1
- package/src/font-stack.spec.ts +110 -0
- package/src/index.ts +18 -0
- package/src/keyboard-operable.spec.ts +3 -3
- package/src/source-view/theme.ts +13 -1
- package/src/styles.generated.ts +1 -1
- package/src/test.browser.mts +7 -0
package/src/test.browser.mts
CHANGED
|
@@ -51,6 +51,7 @@ import { GtkLabelTest } from './gtk-label.spec.js';
|
|
|
51
51
|
import { AdwAboutDialogTest } from './adw-about-dialog.spec.js';
|
|
52
52
|
import { AdwStyleClassesTest } from './style-classes.spec.js';
|
|
53
53
|
import { AdwAccentTest } from './adw-accent.spec.js';
|
|
54
|
+
import { AdwAppearanceTest } from './adw-appearance.spec.js';
|
|
54
55
|
import { AdwShortcutLabelTest } from './adw-shortcut-label.spec.js';
|
|
55
56
|
import { AdwConnectLifecycleTest } from './connect-lifecycle.spec.js';
|
|
56
57
|
import { AdwEmptySectionsTest } from './empty-sections.spec.js';
|
|
@@ -63,6 +64,7 @@ import { AdwValueListsTest } from './value-lists.spec.js';
|
|
|
63
64
|
import { AdwBlueprintLayoutTest } from './blueprint-layout.spec.js';
|
|
64
65
|
import { AdwBlueprintMarkupTest } from './blueprint-markup.spec.js';
|
|
65
66
|
import { AdwTagsTest } from './tags.spec.js';
|
|
67
|
+
import { AdwFontStackTest } from './font-stack.spec.js';
|
|
66
68
|
|
|
67
69
|
run({
|
|
68
70
|
AdwSharedTreesTest,
|
|
@@ -77,6 +79,7 @@ run({
|
|
|
77
79
|
AdwSlottedChildrenTest,
|
|
78
80
|
AdwStyleClassesTest,
|
|
79
81
|
AdwAccentTest,
|
|
82
|
+
AdwAppearanceTest,
|
|
80
83
|
AdwShortcutLabelTest,
|
|
81
84
|
AdwAboutDialogTest,
|
|
82
85
|
AdwAlertDialogTest,
|
|
@@ -126,4 +129,8 @@ run({
|
|
|
126
129
|
// suite removes them in a `finally`, so appending a suite after this line
|
|
127
130
|
// cannot break it — see `adw-fonts.spec.ts`.
|
|
128
131
|
AdwFontsTest,
|
|
132
|
+
// Reads the injected stylesheet's `:root` custom properties. After the font
|
|
133
|
+
// suite for the same reason: a host with the Adwaita faces installed must not
|
|
134
|
+
// change what it sees, and a suite that re-registered a webface would.
|
|
135
|
+
AdwFontStackTest,
|
|
129
136
|
});
|