@transfermarkt/global-styles 1.24.0 → 1.25.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/package.json
CHANGED
|
@@ -66,16 +66,17 @@
|
|
|
66
66
|
border-radius: $border-radius;
|
|
67
67
|
font-size: ($font-size-large + rem-calc(2));
|
|
68
68
|
gap: $gap;
|
|
69
|
-
height: rem-calc(
|
|
69
|
+
height: rem-calc(56);
|
|
70
70
|
letter-spacing: rem-calc(1);
|
|
71
71
|
line-height: rem-calc(28);
|
|
72
|
+
min-width: rem-calc(36);
|
|
72
73
|
padding: rem-calc(8) rem-calc(16);
|
|
73
74
|
text-transform: uppercase;
|
|
74
75
|
|
|
75
|
-
@include breakpoint(
|
|
76
|
+
@include breakpoint(laptop) {
|
|
76
77
|
font-size: $font-size-large;
|
|
78
|
+
height: rem-calc(48);
|
|
77
79
|
line-height: rem-calc(24);
|
|
78
|
-
min-height: rem-calc(48);
|
|
79
80
|
min-width: rem-calc(36);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -84,14 +85,15 @@
|
|
|
84
85
|
border-radius: $border-radius;
|
|
85
86
|
font-size: ($font-size-medium + rem-calc(2));
|
|
86
87
|
gap: $gap;
|
|
87
|
-
height: rem-calc(
|
|
88
|
+
height: rem-calc(48);
|
|
88
89
|
line-height: rem-calc(24);
|
|
90
|
+
min-width: rem-calc(36);
|
|
89
91
|
padding: rem-calc(8) rem-calc(16);
|
|
90
92
|
|
|
91
|
-
@include breakpoint(
|
|
93
|
+
@include breakpoint(laptop) {
|
|
92
94
|
font-size: $font-size-medium;
|
|
95
|
+
height: rem-calc(40);
|
|
93
96
|
line-height: rem-calc(22);
|
|
94
|
-
min-height: rem-calc(40);
|
|
95
97
|
min-width: rem-calc(36);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -100,14 +102,15 @@
|
|
|
100
102
|
border-radius: $border-radius;
|
|
101
103
|
font-size: ($font-size-small + rem-calc(2));
|
|
102
104
|
gap: $gap;
|
|
103
|
-
height: rem-calc(
|
|
104
|
-
line-height: rem-calc(
|
|
105
|
-
|
|
105
|
+
height: rem-calc(40);
|
|
106
|
+
line-height: rem-calc(22);
|
|
107
|
+
min-width: rem-calc(36);
|
|
108
|
+
padding: rem-calc(4) rem-calc(12);
|
|
106
109
|
|
|
107
|
-
@include breakpoint(
|
|
110
|
+
@include breakpoint(laptop) {
|
|
108
111
|
font-size: $font-size-small;
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
height: rem-calc(32);
|
|
113
|
+
line-height: rem-calc(18);
|
|
111
114
|
min-width: rem-calc(36);
|
|
112
115
|
}
|
|
113
116
|
}
|
|
@@ -347,19 +350,31 @@
|
|
|
347
350
|
@include tm-icon-color('admiral');
|
|
348
351
|
|
|
349
352
|
&--large {
|
|
350
|
-
@include tm-icon-size(
|
|
353
|
+
@include tm-icon-size(22px);
|
|
354
|
+
|
|
355
|
+
@include breakpoint(laptop) {
|
|
356
|
+
@include tm-icon-size(20px);
|
|
357
|
+
}
|
|
351
358
|
|
|
352
359
|
stroke-width: 1.8;
|
|
353
360
|
}
|
|
354
361
|
|
|
355
362
|
&--medium {
|
|
356
|
-
@include tm-icon-size(
|
|
363
|
+
@include tm-icon-size(20px);
|
|
364
|
+
|
|
365
|
+
@include breakpoint(laptop) {
|
|
366
|
+
@include tm-icon-size(16px);
|
|
367
|
+
}
|
|
357
368
|
|
|
358
369
|
stroke-width: 1.5;
|
|
359
370
|
}
|
|
360
371
|
|
|
361
372
|
&--small {
|
|
362
|
-
@include tm-icon-size(
|
|
373
|
+
@include tm-icon-size(16px);
|
|
374
|
+
|
|
375
|
+
@include breakpoint(laptop) {
|
|
376
|
+
@include tm-icon-size(12px);
|
|
377
|
+
}
|
|
363
378
|
|
|
364
379
|
stroke-width: 1.2;
|
|
365
380
|
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
name: Release to NPM
|
|
2
|
-
on: [push]
|
|
3
|
-
jobs:
|
|
4
|
-
Release-to-NPM:
|
|
5
|
-
runs-on: ubuntu-latest
|
|
6
|
-
container:
|
|
7
|
-
image: bitnami/node:22
|
|
8
|
-
steps:
|
|
9
|
-
# Checkout the repository
|
|
10
|
-
- name: Check out repository
|
|
11
|
-
uses: actions/checkout@v4
|
|
12
|
-
|
|
13
|
-
# Setup Node with pinned node.js version through package.json (volta.node)
|
|
14
|
-
- name: Setup Bun
|
|
15
|
-
uses: oven-sh/setup-bun@v2
|
|
16
|
-
with:
|
|
17
|
-
bun-version: latest
|
|
18
|
-
|
|
19
|
-
- name: Install dependencies
|
|
20
|
-
run: bun i
|
|
21
|
-
|
|
22
|
-
# Lint SCSS files
|
|
23
|
-
- name: Linting scss files
|
|
24
|
-
run: bun run lint
|
|
25
|
-
|
|
26
|
-
# Run semantic-release
|
|
27
|
-
- name: Semantic Release Action
|
|
28
|
-
id: semantic
|
|
29
|
-
uses: codfish/semantic-release-action@v3
|
|
30
|
-
with:
|
|
31
|
-
repository-url: ${{ gitea.event.repository.html_url }}
|
|
32
|
-
|
|
33
|
-
env:
|
|
34
|
-
GITEA_TOKEN: ${{ secrets.RELEASE_USER_TOKEN }}
|
|
35
|
-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|