@main-class/template 3.6.2 → 3.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/theming.scss +9 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@main-class/template",
3
- "version": "3.6.2",
3
+ "version": "3.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",
package/theming.scss CHANGED
@@ -60,8 +60,8 @@
60
60
 
61
61
  body {
62
62
  margin: 0;
63
- background: var(--app-bg);
64
- color: var(--app-fg);
63
+ background: var(--mat-sys-surface);
64
+ color: var(--mat-sys-on-surface);
65
65
  font: 400 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
66
66
  -webkit-font-smoothing: antialiased;
67
67
  -moz-osx-font-smoothing: grayscale;
@@ -70,13 +70,13 @@
70
70
 
71
71
  /* Seleção de texto */
72
72
  ::selection {
73
- background: color-mix(in oklab, var(--app-primary) 30%, transparent);
74
- color: var(--app-on-primary);
73
+ background: color-mix(in oklab, var(--mat-sys-primary) 30%, transparent);
74
+ color: var(--mat-sys-on-primary);
75
75
  }
76
76
 
77
77
  /* Links */
78
78
  a {
79
- color: color-mix(in oklab, var(--app-primary) 96%, #000);
79
+ color: color-mix(in oklab, var(--mat-sys-primary) 96%, #000);
80
80
  text-decoration: none;
81
81
  }
82
82
  a:hover {
@@ -96,13 +96,13 @@
96
96
  width: 100%;
97
97
  }
98
98
  th, td {
99
- border-bottom: 1px solid var(--app-border);
99
+ border-bottom: 1px solid var(--mat-sys-outline-variant);
100
100
  padding: 0.5rem 0.75rem;
101
101
  }
102
102
  thead th {
103
- color: var(--app-muted);
103
+ color: var(--mat-sys-on-surface-variant);
104
104
  font-weight: 600;
105
- background: color-mix(in oklab, var(--app-border) 18%, transparent);
105
+ background: color-mix(in oklab, var(--mat-sys-outline-variant) 18%, transparent);
106
106
  }
107
107
 
108
108
  /* Form fields base (quando não for Angular Material) */
@@ -116,7 +116,7 @@
116
116
 
117
117
  /* Focus visible consistente (componentes nativos e estrutura) */
118
118
  :where(a, button, [role="button"], input, select, textarea):focus-visible {
119
- outline: var(--app-focus);
119
+ outline: 2px solid var(--mat-sys-primary);
120
120
  outline-offset: 2px;
121
121
  border-radius: 8px;
122
122
  }
@@ -363,4 +363,3 @@
363
363
  position: relative;
364
364
  }
365
365
  }
366
-