ecabs-components 0.0.31 → 0.0.33
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/package.json +1 -1
- package/styles/material/_theme.scss +99 -0
- package/styles/material/overrides/_autocomplete.scss +11 -0
- package/styles/material/overrides/_button.scss +838 -0
- package/styles/material/overrides/_card.scss +17 -0
- package/styles/material/overrides/_chip.scss +108 -0
- package/styles/material/overrides/_datepicker.scss +169 -0
- package/styles/material/overrides/_dialog.scss +8 -0
- package/styles/material/overrides/_divider.scss +3 -0
- package/styles/material/overrides/_expansion.scss +31 -0
- package/styles/material/overrides/_form.scss +47 -0
- package/styles/material/overrides/_icon.scss +3 -0
- package/styles/material/overrides/_menu.scss +3 -0
- package/styles/material/overrides/_paginator.scss +0 -0
- package/styles/material/overrides/_phone.scss +24 -0
- package/styles/material/overrides/_select.scss +48 -0
- package/styles/material/overrides/_tab.scss +23 -0
- package/styles/material/overrides/_table.scss +12 -0
- package/styles/material/overrides/_toaster.scss +38 -0
- package/styles/material/overrides/_toggle.scss +10 -0
- package/styles/material/overrides/_tooltip.scss +3 -0
- package/styles/material/overrides/index.scss +19 -0
- package/styles/scss/base/_heading.scss +17 -0
- package/styles/scss/base/_normalize.scss +78 -0
- package/styles/scss/base/index.scss +5 -0
- package/styles/scss/modules/_autocomplete.scss +29 -0
- package/styles/scss/modules/_button.scss +281 -0
- package/styles/scss/modules/_card.scss +23 -0
- package/styles/scss/modules/_chip.scss +56 -0
- package/styles/scss/modules/_datepicker.scss +422 -0
- package/styles/scss/modules/_dialog.scss +14 -0
- package/styles/scss/modules/_divider.scss +3 -0
- package/styles/scss/modules/_form.scss +221 -0
- package/styles/scss/modules/_icon.scss +30 -0
- package/styles/scss/modules/_img.scss +32 -0
- package/styles/scss/modules/_legend.scss +64 -0
- package/styles/scss/modules/_list.scss +17 -0
- package/styles/scss/modules/_map.scss +112 -0
- package/styles/scss/modules/_percentage.scss +33 -0
- package/styles/scss/modules/_phone.scss +23 -0
- package/styles/scss/modules/_select.scss +37 -0
- package/styles/scss/modules/_statuses.scss +31 -0
- package/styles/scss/modules/_tab.scss +16 -0
- package/styles/scss/modules/_table.scss +107 -0
- package/styles/scss/modules/_timepicker.scss +96 -0
- package/styles/scss/modules/_toaster.scss +53 -0
- package/styles/scss/modules/_tooltip.scss +7 -0
- package/styles/scss/modules/drag-drop.scss +31 -0
- package/styles/scss/modules/index.scss +23 -0
- package/styles/scss/utilities/_colors.scss +52 -0
- package/styles/scss/utilities/_fonts.scss +26 -0
- package/styles/scss/utilities/_functions.scss +27 -0
- package/styles/scss/utilities/_helpers.scss +5 -0
- package/styles/scss/utilities/_mixins.scss +65 -0
- package/styles/scss/utilities/_variables.scss +19 -0
- package/styles/scss/utilities/index.scss +6 -0
- package/styles/styles.scss +6 -0
- package/styles/tailwind/index.scss +756 -0
package/package.json
CHANGED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Custom Theming for Angular Material
|
|
2
|
+
// For more information: https://material.angular.io/guide/theming
|
|
3
|
+
@import '@angular/material/theming';
|
|
4
|
+
|
|
5
|
+
// Plus imports for other components in your app.
|
|
6
|
+
@import '../scss/utilities/index';
|
|
7
|
+
@import './overrides/index';
|
|
8
|
+
|
|
9
|
+
// Include the common styles for Angular Material. We include this here so that you only
|
|
10
|
+
// have to load a single css file for Angular Material in your app.
|
|
11
|
+
// Be sure that you only ever include this mixin once!
|
|
12
|
+
@include mat-core();
|
|
13
|
+
|
|
14
|
+
$mat-primary: (
|
|
15
|
+
100: var(--color-brand-dark),
|
|
16
|
+
700: var(--color-brand-dark),
|
|
17
|
+
A700: var(--color-brand-dark),
|
|
18
|
+
contrast: (
|
|
19
|
+
A700: $light-primary-text,
|
|
20
|
+
),
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
$mat-accent: (
|
|
24
|
+
A700: var(--color-brand-light),
|
|
25
|
+
contrast: (
|
|
26
|
+
A700: $light-primary-text,
|
|
27
|
+
),
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
$mat-secondary: (
|
|
31
|
+
100: var(--color-brand-dark),
|
|
32
|
+
700: var(--color-brand-dark),
|
|
33
|
+
A700: var(--color-brand-dark),
|
|
34
|
+
contrast: (
|
|
35
|
+
A700: $light-primary-text,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
$mat-warning: (
|
|
40
|
+
100: var(--color-error),
|
|
41
|
+
500: var(--color-error),
|
|
42
|
+
700: var(--color-error),
|
|
43
|
+
A700: var(--color-error),
|
|
44
|
+
contrast: (
|
|
45
|
+
A700: $light-primary-text,
|
|
46
|
+
),
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
|
50
|
+
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
51
|
+
// hue. Available color palettes: https://material.io/design/color/
|
|
52
|
+
$cuorium-primary: mat-palette($mat-primary, A700);
|
|
53
|
+
$cuorium-accent: mat-palette($mat-secondary, A700);
|
|
54
|
+
|
|
55
|
+
// The warn palette is optional (defaults to red).
|
|
56
|
+
$cuorium-warn: mat-palette($mat-warning);
|
|
57
|
+
|
|
58
|
+
// Create the theme object. A theme consists of configurations for individual
|
|
59
|
+
// theming systems such as "color" or "typography".
|
|
60
|
+
$cuorium-theme: mat-light-theme(
|
|
61
|
+
(
|
|
62
|
+
color: (
|
|
63
|
+
primary: $cuorium-primary,
|
|
64
|
+
accent: $cuorium-accent,
|
|
65
|
+
warn: $cuorium-warn,
|
|
66
|
+
),
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
// Include theme styles for core and each component used in your app.
|
|
71
|
+
// Alternatively, you can import and @include the theme mixins for each component
|
|
72
|
+
// that you are using.
|
|
73
|
+
@include angular-material-theme($cuorium-theme);
|
|
74
|
+
|
|
75
|
+
// Define a custom typography config that overrides the font-family as well as the
|
|
76
|
+
// `headlines` and `body-1` levels.
|
|
77
|
+
$custom-typography: mat-typography-config(
|
|
78
|
+
$font-family: $font-family-primary,
|
|
79
|
+
$body-1: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
|
|
80
|
+
$input: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
|
|
81
|
+
$headline: mat-typography-level($font-heading-lg, $base-line-height, $font-weight-medium),
|
|
82
|
+
$title: mat-typography-level($font-heading-base, $base-line-height, $font-weight-medium),
|
|
83
|
+
$subheading-2: mat-typography-level($font-heading-md, $base-line-height, $font-weight-medium),
|
|
84
|
+
$subheading-1: mat-typography-level($font-heading-sm, $base-line-height, $font-weight-medium),
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
@include angular-material-typography($custom-typography);
|
|
88
|
+
|
|
89
|
+
.mat-body p,
|
|
90
|
+
.mat-body-1 p,
|
|
91
|
+
.mat-typography p {
|
|
92
|
+
margin: inherit;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
mat-progress-bar {
|
|
96
|
+
.mat-progress-bar-buffer {
|
|
97
|
+
background-color: var(--color-brand-300) !important;
|
|
98
|
+
}
|
|
99
|
+
}
|