@isi-ui7/corporate-themes 0.2.7 → 0.2.9

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/dist/tokens.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { CorporateTheme } from './types';
2
-
3
- export declare const corporateThemes: CorporateTheme[];
package/dist/types.d.ts DELETED
@@ -1,52 +0,0 @@
1
- export type CarbonThemeVariant = "white" | "g10" | "g90" | "g100";
2
- export interface BrandColors {
3
- primary: string;
4
- primaryHover: string;
5
- primaryActive: string;
6
- secondary: string;
7
- secondaryHover: string;
8
- secondaryActive: string;
9
- accent: string;
10
- accentHover: string;
11
- tertiary?: string;
12
- quaternary?: string;
13
- }
14
- export interface ThemeTokens {
15
- brandColors: BrandColors;
16
- logoUrl: {
17
- light: string;
18
- dark: string;
19
- };
20
- interactive: string;
21
- interactiveHover: string;
22
- interactiveActive: string;
23
- buttonPrimary: string;
24
- buttonPrimaryHover: string;
25
- buttonPrimaryActive: string;
26
- buttonSecondary: string;
27
- buttonSecondaryHover: string;
28
- linkPrimary: string;
29
- linkPrimaryHover: string;
30
- linkSecondary: string;
31
- focus: string;
32
- borderInteractive: string;
33
- headerBackground: string;
34
- sidebarBackground?: string;
35
- navigationBackground?: string;
36
- /** Preferred table/form density for this theme. Default: "compact" */
37
- density?: "compact" | "normal" | "comfortable";
38
- }
39
- export interface CorporateTheme {
40
- id: string;
41
- name: string;
42
- displayName: string;
43
- tokens: ThemeTokens;
44
- supportedVariants: CarbonThemeVariant[];
45
- defaultVariant: CarbonThemeVariant;
46
- }
47
- export interface ThemeContextValue {
48
- theme: CorporateTheme;
49
- variant: CarbonThemeVariant;
50
- corporateId: string;
51
- setVariant: (variant: CarbonThemeVariant) => void;
52
- }
@@ -1,4 +0,0 @@
1
- import { CorporateTheme } from '../types';
2
-
3
- export declare function findTheme(themes: CorporateTheme[], id?: string): CorporateTheme;
4
- export declare function classNameFor(theme: CorporateTheme, variant: string): string;