@skyux/theme 12.0.0-alpha.9 → 12.0.0-beta.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/css/sky.css +14 -3
- package/css/themes/modern/styles.css +53 -59
- package/fesm2022/skyux-theme.mjs +203 -87
- package/fesm2022/skyux-theme.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/theming/theme-brand.d.ts +18 -0
- package/lib/theming/theme-settings.d.ts +3 -1
- package/package.json +13 -16
- package/scss/_compat/_variables.scss +2 -2
- package/documentation.json +0 -4610
package/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { SkyThemeIconManifestService } from './lib/icons/icon-manifest.service';
|
|
|
4
4
|
export { SkyAppStyleLoader } from './lib/style-loader';
|
|
5
5
|
export { SkyThemeModule } from './lib/theme.module';
|
|
6
6
|
export { SkyTheme } from './lib/theming/theme';
|
|
7
|
+
export { SkyThemeBrand } from './lib/theming/theme-brand';
|
|
7
8
|
export { SkyThemeComponentClassDirective } from './lib/theming/theme-component-class.directive';
|
|
8
9
|
export { SkyThemeMode } from './lib/theming/theme-mode';
|
|
9
10
|
export { SkyThemeSettings } from './lib/theming/theme-settings';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* Defines properties of SKY UX theme branding.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SkyThemeBrand {
|
|
6
|
+
#private;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly version: string;
|
|
9
|
+
get hostClass(): string;
|
|
10
|
+
private set hostClass(value);
|
|
11
|
+
/**
|
|
12
|
+
* Creates a new theme brand.
|
|
13
|
+
* @param name The name of the theme brand.
|
|
14
|
+
* @param hostClass The class on the host element which child components should reference when
|
|
15
|
+
* adjusting for a specified theme brand. This defaults to `sky-theme-brand-<name>
|
|
16
|
+
*/
|
|
17
|
+
constructor(name: string, version: string, hostClass?: string);
|
|
18
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SkyTheme } from './theme';
|
|
2
|
+
import { SkyThemeBrand } from './theme-brand';
|
|
2
3
|
import { SkyThemeMode } from './theme-mode';
|
|
3
4
|
import { SkyThemeSpacing } from './theme-spacing';
|
|
4
5
|
/**
|
|
@@ -8,10 +9,11 @@ export declare class SkyThemeSettings {
|
|
|
8
9
|
readonly theme: SkyTheme;
|
|
9
10
|
readonly mode: SkyThemeMode;
|
|
10
11
|
readonly spacing: SkyThemeSpacing;
|
|
12
|
+
readonly brand?: SkyThemeBrand | undefined;
|
|
11
13
|
/**
|
|
12
14
|
* Creates a new SkyThemeSettings instance.
|
|
13
15
|
* @param theme The theme configuration.
|
|
14
16
|
* @param mode The theme mode.
|
|
15
17
|
*/
|
|
16
|
-
constructor(theme: SkyTheme, mode: SkyThemeMode, spacing?: SkyThemeSpacing);
|
|
18
|
+
constructor(theme: SkyTheme, mode: SkyThemeMode, spacing?: SkyThemeSpacing, brand?: SkyThemeBrand | undefined);
|
|
17
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/theme",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-beta.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
"url": "https://github.com/blackbaud/skyux/issues"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"@angular/common": "^19.2.1",
|
|
20
|
+
"@angular/core": "^19.2.1"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@blackbaud/skyux-design-tokens": "0.0.47",
|
|
24
|
+
"@skyux/icons": "7.21.0",
|
|
25
|
+
"fontfaceobserver": "2.3.0",
|
|
26
|
+
"tslib": "^2.8.1"
|
|
27
|
+
},
|
|
28
|
+
"module": "fesm2022/skyux-theme.mjs",
|
|
29
|
+
"typings": "index.d.ts",
|
|
18
30
|
"exports": {
|
|
19
31
|
"./package.json": {
|
|
20
32
|
"default": "./package.json"
|
|
@@ -70,22 +82,7 @@
|
|
|
70
82
|
},
|
|
71
83
|
"./scss/themes/modern/_compat/_mixins.scss": {
|
|
72
84
|
"default": "./scss/themes/modern/_compat/_mixins.scss"
|
|
73
|
-
},
|
|
74
|
-
"./documentation.json": {
|
|
75
|
-
"default": "./documentation.json"
|
|
76
85
|
}
|
|
77
86
|
},
|
|
78
|
-
"peerDependencies": {
|
|
79
|
-
"@angular/common": "^19.2.1",
|
|
80
|
-
"@angular/core": "^19.2.1"
|
|
81
|
-
},
|
|
82
|
-
"dependencies": {
|
|
83
|
-
"@blackbaud/skyux-design-tokens": "0.0.45",
|
|
84
|
-
"@skyux/icons": "7.14.1",
|
|
85
|
-
"fontfaceobserver": "2.3.0",
|
|
86
|
-
"tslib": "^2.8.1"
|
|
87
|
-
},
|
|
88
|
-
"module": "fesm2022/skyux-theme.mjs",
|
|
89
|
-
"typings": "index.d.ts",
|
|
90
87
|
"sideEffects": false
|
|
91
88
|
}
|
|
@@ -19,8 +19,8 @@ $sky-margin-triple: $sky-margin * 3 !default;
|
|
|
19
19
|
|
|
20
20
|
// THEME
|
|
21
21
|
$sky-font-family: 'BLKB Sans', 'Helvetica Neue', Arial, sans-serif !default;
|
|
22
|
-
$sky-font-family-condensed:
|
|
23
|
-
'Arial Narrow' !default;
|
|
22
|
+
$sky-font-family-condensed:
|
|
23
|
+
'BLKB Sans Condensed', 'Helvetica Neue Condensed', 'Arial Narrow' !default;
|
|
24
24
|
$sky-font-size-base: 15px !default;
|
|
25
25
|
$sky-line-height-base: 1.428571429 !default;
|
|
26
26
|
|