Skip to content

Commit e1bbf65

Browse files
PascalRepondGarfield-fr
authored andcommitted
fix(tags): reduce the size of tags
Co-Authored-by: Pascal Repond <[email protected]>
1 parent e2db454 commit e1bbf65

File tree

5 files changed

+26
-7
lines changed

5 files changed

+26
-7
lines changed

package-lock.json

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"@angular/cli": "^19.2.0",
5656
"@angular/compiler-cli": "^19.2.0",
5757
"@angular/language-service": "^19.2.0",
58+
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
5859
"@ngx-formly/schematics": "^7.0.0-alpha.1",
5960
"@tailwindcss/postcss": "^4.0.8",
6061
"@types/jasmine": "~5.1.0",

projects/rero/ng-core/src/lib/manual_translations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17-
import { _ } from "@ngx-translate/core";
17+
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
1818

1919
// Languages
2020
_('de');

projects/rero/ng-core/src/lib/primeng-config.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -717,15 +717,15 @@ export const primeNGConfig = {
717717
},
718718
tag: {
719719
root: {
720-
fontSize: "0.875rem",
721-
fontWeight: "700",
722-
padding: "0.25rem 0.5rem",
720+
fontSize: "0.8rem",
721+
fontWeight: "600",
722+
padding: "0.15rem 0.5rem",
723723
gap: "0.25rem",
724724
borderRadius: "{content.border.radius}",
725725
roundedBorderRadius: "{border.radius.xl}"
726726
},
727727
icon: {
728-
size: "0.75rem"
728+
size: "0.5rem"
729729
},
730730
colorScheme: {
731731
light: {
@@ -734,7 +734,7 @@ export const primeNGConfig = {
734734
color: "{primary.700}"
735735
},
736736
secondary: {
737-
background: "{surface.400}",
737+
background: "{surface.500}",
738738
color: "{surface.0}"
739739
},
740740
success: {

projects/rero/ng-core/src/lib/record/editor/extensions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
import { inject } from '@angular/core';
1818
import { UntypedFormControl } from '@angular/forms';
19-
import { _ } from "@ngx-translate/core";
19+
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
2020
import { FormlyExtension, FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core';
2121
import { TranslateService } from '@ngx-translate/core';
2222
import { isObservable, of } from 'rxjs';

0 commit comments

Comments
 (0)