@snack-uikit/link 0.13.4 → 0.13.5-preview-1f246c4a.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/dist/cjs/components/Link.js +60 -0
- package/dist/cjs/components/constants.js +34 -0
- package/dist/cjs/components/index.js +25 -0
- package/dist/cjs/components/types.js +5 -0
- package/dist/cjs/index.js +25 -0
- package/dist/esm/components/Link.d.ts +40 -0
- package/dist/esm/components/constants.d.ts +28 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/types.d.ts +5 -0
- package/dist/esm/index.js +1 -0
- package/package.json +9 -7
- package/dist/components/styles.module.css +0 -536
- /package/dist/{components → cjs/components}/Link.d.ts +0 -0
- /package/dist/{components → cjs/components}/constants.d.ts +0 -0
- /package/dist/{components → cjs/components}/index.d.ts +0 -0
- /package/dist/{components → cjs/components}/types.d.ts +0 -0
- /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
- /package/dist/{components → esm/components}/Link.js +0 -0
- /package/dist/{components → esm/components}/constants.js +0 -0
- /package/dist/{components/index.js → esm/components/index.d.ts} +0 -0
- /package/dist/{components → esm/components}/types.js +0 -0
- /package/dist/{index.js → esm/index.d.ts} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
4
|
+
var t = {};
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
|
|
12
|
+
return mod && mod.__esModule ? mod : {
|
|
13
|
+
"default": mod
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", {
|
|
17
|
+
value: true
|
|
18
|
+
});
|
|
19
|
+
exports.Link = Link;
|
|
20
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
21
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
22
|
+
const truncate_string_1 = require("@snack-uikit/truncate-string");
|
|
23
|
+
const utils_1 = require("@snack-uikit/utils");
|
|
24
|
+
const constants_1 = require("./constants");
|
|
25
|
+
const styles_module_scss_1 = __importDefault({});
|
|
26
|
+
/** Компонент ссылка */
|
|
27
|
+
function Link(_a) {
|
|
28
|
+
var {
|
|
29
|
+
text = '',
|
|
30
|
+
className,
|
|
31
|
+
href = '#',
|
|
32
|
+
target = '_blank',
|
|
33
|
+
download,
|
|
34
|
+
onClick,
|
|
35
|
+
textMode = constants_1.TEXT_MODE.Default,
|
|
36
|
+
size = constants_1.SIZE.S,
|
|
37
|
+
appearance = constants_1.APPEARANCE.Primary,
|
|
38
|
+
insideText = false,
|
|
39
|
+
truncateVariant
|
|
40
|
+
} = _a,
|
|
41
|
+
rest = __rest(_a, ["text", "className", "href", "target", "download", "onClick", "textMode", "size", "appearance", "insideText", "truncateVariant"]);
|
|
42
|
+
return (0, jsx_runtime_1.jsx)("a", Object.assign({
|
|
43
|
+
className: (0, classnames_1.default)(styles_module_scss_1.default.link, className),
|
|
44
|
+
href: href,
|
|
45
|
+
target: target,
|
|
46
|
+
download: download,
|
|
47
|
+
onClick: onClick
|
|
48
|
+
}, (0, utils_1.extractSupportProps)(rest), {
|
|
49
|
+
"data-size": size,
|
|
50
|
+
"data-text-mode": textMode,
|
|
51
|
+
"data-appearance": appearance,
|
|
52
|
+
"data-inside-text": insideText || undefined,
|
|
53
|
+
rel: target === '_blank' ? 'noopener noreferrer' : undefined,
|
|
54
|
+
children: insideText ? text : (0, jsx_runtime_1.jsx)(truncate_string_1.TruncateString, {
|
|
55
|
+
text: text,
|
|
56
|
+
maxLines: 1,
|
|
57
|
+
variant: truncateVariant
|
|
58
|
+
})
|
|
59
|
+
}));
|
|
60
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TEXT_MODE = exports.TARGET = exports.SIZE = exports.APPEARANCE = void 0;
|
|
7
|
+
exports.APPEARANCE = {
|
|
8
|
+
InvertNeutral: 'invert-neutral',
|
|
9
|
+
Neutral: 'neutral',
|
|
10
|
+
Primary: 'primary',
|
|
11
|
+
Red: 'red',
|
|
12
|
+
Orange: 'orange',
|
|
13
|
+
Yellow: 'yellow',
|
|
14
|
+
Green: 'green',
|
|
15
|
+
Blue: 'blue',
|
|
16
|
+
Violet: 'violet',
|
|
17
|
+
Pink: 'pink'
|
|
18
|
+
};
|
|
19
|
+
exports.SIZE = {
|
|
20
|
+
S: 's',
|
|
21
|
+
M: 'm',
|
|
22
|
+
L: 'l'
|
|
23
|
+
};
|
|
24
|
+
exports.TARGET = {
|
|
25
|
+
Self: '_self',
|
|
26
|
+
Blank: '_blank',
|
|
27
|
+
Parent: '_parent',
|
|
28
|
+
Top: '_top'
|
|
29
|
+
};
|
|
30
|
+
exports.TEXT_MODE = {
|
|
31
|
+
Default: 'default',
|
|
32
|
+
Accent: 'accent',
|
|
33
|
+
OnAccent: 'on-accent'
|
|
34
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return m[k];
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(o, k2, desc);
|
|
15
|
+
} : function (o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
o[k2] = m[k];
|
|
18
|
+
});
|
|
19
|
+
var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
|
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
|
+
};
|
|
22
|
+
Object.defineProperty(exports, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
});
|
|
25
|
+
__exportStar(require("./Link"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return m[k];
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(o, k2, desc);
|
|
15
|
+
} : function (o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
o[k2] = m[k];
|
|
18
|
+
});
|
|
19
|
+
var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) {
|
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
|
+
};
|
|
22
|
+
Object.defineProperty(exports, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
});
|
|
25
|
+
__exportStar(require("./components"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes, MouseEventHandler } from 'react';
|
|
2
|
+
import { TruncateStringProps } from '@snack-uikit/truncate-string';
|
|
3
|
+
import { WithSupportProps } from '@snack-uikit/utils';
|
|
4
|
+
import { Appearance, Size, TextMode } from './types';
|
|
5
|
+
export type LinkProps = WithSupportProps<{
|
|
6
|
+
/** Текст ссылки */
|
|
7
|
+
text?: string;
|
|
8
|
+
/** CSS-класс */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Ссылка */
|
|
11
|
+
href?: string;
|
|
12
|
+
/** HTML-атрибут target */
|
|
13
|
+
target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
|
|
14
|
+
/** HTML-атрибут download */
|
|
15
|
+
download?: string;
|
|
16
|
+
/** Колбек обработки клика */
|
|
17
|
+
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
18
|
+
/** Размер
|
|
19
|
+
* @default 's'
|
|
20
|
+
*/
|
|
21
|
+
size?: Size;
|
|
22
|
+
/** Стилизует ссылку для размещения на цветном фоне
|
|
23
|
+
* @default 'primary'
|
|
24
|
+
*/
|
|
25
|
+
appearance?: Appearance;
|
|
26
|
+
/** Тип поверхности, на которой размещена ссылка
|
|
27
|
+
* @default 'default'
|
|
28
|
+
*/
|
|
29
|
+
textMode?: TextMode;
|
|
30
|
+
/** Находится ли ссылка внутри текста (и можно ли её переносить) */
|
|
31
|
+
insideText?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Вариант обрезания строки:
|
|
34
|
+
* <br> - `end` - с конца;
|
|
35
|
+
* <br> - `middle` - по середине
|
|
36
|
+
* */
|
|
37
|
+
truncateVariant?: TruncateStringProps['variant'];
|
|
38
|
+
}>;
|
|
39
|
+
/** Компонент ссылка */
|
|
40
|
+
export declare function Link({ text, className, href, target, download, onClick, textMode, size, appearance, insideText, truncateVariant, ...rest }: LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const APPEARANCE: {
|
|
2
|
+
readonly InvertNeutral: "invert-neutral";
|
|
3
|
+
readonly Neutral: "neutral";
|
|
4
|
+
readonly Primary: "primary";
|
|
5
|
+
readonly Red: "red";
|
|
6
|
+
readonly Orange: "orange";
|
|
7
|
+
readonly Yellow: "yellow";
|
|
8
|
+
readonly Green: "green";
|
|
9
|
+
readonly Blue: "blue";
|
|
10
|
+
readonly Violet: "violet";
|
|
11
|
+
readonly Pink: "pink";
|
|
12
|
+
};
|
|
13
|
+
export declare const SIZE: {
|
|
14
|
+
readonly S: "s";
|
|
15
|
+
readonly M: "m";
|
|
16
|
+
readonly L: "l";
|
|
17
|
+
};
|
|
18
|
+
export declare const TARGET: {
|
|
19
|
+
readonly Self: "_self";
|
|
20
|
+
readonly Blank: "_blank";
|
|
21
|
+
readonly Parent: "_parent";
|
|
22
|
+
readonly Top: "_top";
|
|
23
|
+
};
|
|
24
|
+
export declare const TEXT_MODE: {
|
|
25
|
+
readonly Default: "default";
|
|
26
|
+
readonly Accent: "accent";
|
|
27
|
+
readonly OnAccent: "on-accent";
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Link';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
package/package.json
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Link",
|
|
7
|
-
"version": "0.13.
|
|
7
|
+
"version": "0.13.5-preview-1f246c4a.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
11
11
|
"*.woff2"
|
|
12
12
|
],
|
|
13
13
|
"description": "Ссылка, используемая внутри текста",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"types": "./dist/esm/index.d.ts",
|
|
15
|
+
"main": "./dist/cjs/index.js",
|
|
16
|
+
"module": "./dist/esm/index.js",
|
|
16
17
|
"homepage": "https://github.com/cloud-ru-tech/snack-uikit/tree/master/packages/link",
|
|
17
18
|
"repository": {
|
|
18
19
|
"type": "git",
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
"Anna Kozlova <apkozlova@cloud.ru>"
|
|
25
26
|
],
|
|
26
27
|
"files": [
|
|
27
|
-
"dist",
|
|
28
|
+
"dist/cjs",
|
|
29
|
+
"dist/esm",
|
|
28
30
|
"src",
|
|
29
31
|
"./CHANGELOG.md",
|
|
30
32
|
"./LICENSE"
|
|
@@ -32,9 +34,9 @@
|
|
|
32
34
|
"license": "Apache-2.0",
|
|
33
35
|
"scripts": {},
|
|
34
36
|
"dependencies": {
|
|
35
|
-
"@snack-uikit/truncate-string": "0.4.
|
|
36
|
-
"@snack-uikit/utils": "3.4.0",
|
|
37
|
+
"@snack-uikit/truncate-string": "0.4.25-preview-1f246c4a.0",
|
|
38
|
+
"@snack-uikit/utils": "3.4.1-preview-1f246c4a.0",
|
|
37
39
|
"classnames": "2.3.2"
|
|
38
40
|
},
|
|
39
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "a185a55c0722b19f70dd168cf299e6f53a0fd93f"
|
|
40
42
|
}
|
|
@@ -1,536 +0,0 @@
|
|
|
1
|
-
.link{
|
|
2
|
-
cursor:pointer;
|
|
3
|
-
display:inline-flex;
|
|
4
|
-
align-items:center;
|
|
5
|
-
width:-moz-fit-content;
|
|
6
|
-
width:fit-content;
|
|
7
|
-
max-width:100%;
|
|
8
|
-
text-decoration:none;
|
|
9
|
-
-webkit-text-decoration-skip-ink:none;
|
|
10
|
-
text-decoration-skip-ink:none;
|
|
11
|
-
}
|
|
12
|
-
.link[data-inside-text]{
|
|
13
|
-
display:inline;
|
|
14
|
-
}
|
|
15
|
-
.link[data-appearance=invert-neutral][data-text-mode=default]{
|
|
16
|
-
color:var(--sys-invert-neutral-text-support, #bec2cf);
|
|
17
|
-
}
|
|
18
|
-
.link[data-appearance=invert-neutral][data-text-mode=default]:hover{
|
|
19
|
-
color:var(--sys-invert-neutral-text-main, #e6e8ef);
|
|
20
|
-
}
|
|
21
|
-
.link[data-appearance=invert-neutral][data-text-mode=default]:focus-visible{
|
|
22
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
23
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
24
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
25
|
-
color:var(--sys-invert-neutral-text-main, #e6e8ef);
|
|
26
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
27
|
-
}
|
|
28
|
-
.link[data-appearance=invert-neutral][data-text-mode=accent]{
|
|
29
|
-
color:var(--sys-invert-neutral-accent-default, #cfd2dc);
|
|
30
|
-
}
|
|
31
|
-
.link[data-appearance=invert-neutral][data-text-mode=accent]:hover{
|
|
32
|
-
color:var(--sys-invert-neutral-text-main, #e6e8ef);
|
|
33
|
-
}
|
|
34
|
-
.link[data-appearance=invert-neutral][data-text-mode=accent]:focus-visible{
|
|
35
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
36
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
37
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
38
|
-
color:var(--sys-invert-neutral-text-main, #e6e8ef);
|
|
39
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
40
|
-
}
|
|
41
|
-
.link[data-appearance=invert-neutral][data-text-mode=on-accent]{
|
|
42
|
-
color:var(--sys-invert-neutral-on-accent, #393a46);
|
|
43
|
-
}
|
|
44
|
-
.link[data-appearance=invert-neutral][data-text-mode=on-accent]:hover{
|
|
45
|
-
color:var(--sys-invert-neutral-on-accent, #393a46);
|
|
46
|
-
opacity:var(--opacity-a080, 0.8);
|
|
47
|
-
}
|
|
48
|
-
.link[data-appearance=invert-neutral][data-text-mode=on-accent]:focus-visible{
|
|
49
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
50
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
51
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
52
|
-
color:var(--sys-invert-neutral-on-accent, #393a46);
|
|
53
|
-
opacity:var(--opacity-a080, 0.8);
|
|
54
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
55
|
-
}
|
|
56
|
-
.link[data-appearance=neutral][data-text-mode=default]{
|
|
57
|
-
color:var(--sys-neutral-text-support, #6d707f);
|
|
58
|
-
}
|
|
59
|
-
.link[data-appearance=neutral][data-text-mode=default]:hover{
|
|
60
|
-
color:var(--sys-neutral-text-main, #41424e);
|
|
61
|
-
}
|
|
62
|
-
.link[data-appearance=neutral][data-text-mode=default]:focus-visible{
|
|
63
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
64
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
65
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
66
|
-
color:var(--sys-neutral-text-main, #41424e);
|
|
67
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
68
|
-
}
|
|
69
|
-
.link[data-appearance=neutral][data-text-mode=accent]{
|
|
70
|
-
color:var(--sys-neutral-accent-default, #787b8a);
|
|
71
|
-
}
|
|
72
|
-
.link[data-appearance=neutral][data-text-mode=accent]:hover{
|
|
73
|
-
color:var(--sys-neutral-text-main, #41424e);
|
|
74
|
-
}
|
|
75
|
-
.link[data-appearance=neutral][data-text-mode=accent]:focus-visible{
|
|
76
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
77
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
78
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
79
|
-
color:var(--sys-neutral-text-main, #41424e);
|
|
80
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
81
|
-
}
|
|
82
|
-
.link[data-appearance=neutral][data-text-mode=on-accent]{
|
|
83
|
-
color:var(--sys-neutral-on-accent, #ffffff);
|
|
84
|
-
}
|
|
85
|
-
.link[data-appearance=neutral][data-text-mode=on-accent]:hover{
|
|
86
|
-
color:var(--sys-neutral-on-accent, #ffffff);
|
|
87
|
-
opacity:var(--opacity-a080, 0.8);
|
|
88
|
-
}
|
|
89
|
-
.link[data-appearance=neutral][data-text-mode=on-accent]:focus-visible{
|
|
90
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
91
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
92
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
93
|
-
color:var(--sys-neutral-on-accent, #ffffff);
|
|
94
|
-
opacity:var(--opacity-a080, 0.8);
|
|
95
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
96
|
-
}
|
|
97
|
-
.link[data-appearance=primary][data-text-mode=default]{
|
|
98
|
-
color:var(--sys-primary-text-support, #5b4796);
|
|
99
|
-
}
|
|
100
|
-
.link[data-appearance=primary][data-text-mode=default]:hover{
|
|
101
|
-
color:var(--sys-primary-text-main, #382a62);
|
|
102
|
-
}
|
|
103
|
-
.link[data-appearance=primary][data-text-mode=default]:focus-visible{
|
|
104
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
105
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
106
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
107
|
-
color:var(--sys-primary-text-main, #382a62);
|
|
108
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
109
|
-
}
|
|
110
|
-
.link[data-appearance=primary][data-text-mode=accent]{
|
|
111
|
-
color:var(--sys-primary-accent-default, #794ed3);
|
|
112
|
-
}
|
|
113
|
-
.link[data-appearance=primary][data-text-mode=accent]:hover{
|
|
114
|
-
color:var(--sys-primary-text-main, #382a62);
|
|
115
|
-
}
|
|
116
|
-
.link[data-appearance=primary][data-text-mode=accent]:focus-visible{
|
|
117
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
118
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
119
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
120
|
-
color:var(--sys-primary-text-main, #382a62);
|
|
121
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
122
|
-
}
|
|
123
|
-
.link[data-appearance=primary][data-text-mode=on-accent]{
|
|
124
|
-
color:var(--sys-primary-on-accent, #fdfbff);
|
|
125
|
-
}
|
|
126
|
-
.link[data-appearance=primary][data-text-mode=on-accent]:hover{
|
|
127
|
-
color:var(--sys-primary-on-accent, #fdfbff);
|
|
128
|
-
opacity:var(--opacity-a080, 0.8);
|
|
129
|
-
}
|
|
130
|
-
.link[data-appearance=primary][data-text-mode=on-accent]:focus-visible{
|
|
131
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
132
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
133
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
134
|
-
color:var(--sys-primary-on-accent, #fdfbff);
|
|
135
|
-
opacity:var(--opacity-a080, 0.8);
|
|
136
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
137
|
-
}
|
|
138
|
-
.link[data-appearance=red][data-text-mode=default]{
|
|
139
|
-
color:var(--sys-red-text-support, #ae514c);
|
|
140
|
-
}
|
|
141
|
-
.link[data-appearance=red][data-text-mode=default]:hover{
|
|
142
|
-
color:var(--sys-red-text-main, #7a2d2d);
|
|
143
|
-
}
|
|
144
|
-
.link[data-appearance=red][data-text-mode=default]:focus-visible{
|
|
145
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
146
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
147
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
148
|
-
color:var(--sys-red-text-main, #7a2d2d);
|
|
149
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
150
|
-
}
|
|
151
|
-
.link[data-appearance=red][data-text-mode=accent]{
|
|
152
|
-
color:var(--sys-red-accent-default, #cb3f3e);
|
|
153
|
-
}
|
|
154
|
-
.link[data-appearance=red][data-text-mode=accent]:hover{
|
|
155
|
-
color:var(--sys-red-text-main, #7a2d2d);
|
|
156
|
-
}
|
|
157
|
-
.link[data-appearance=red][data-text-mode=accent]:focus-visible{
|
|
158
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
159
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
160
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
161
|
-
color:var(--sys-red-text-main, #7a2d2d);
|
|
162
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
163
|
-
}
|
|
164
|
-
.link[data-appearance=red][data-text-mode=on-accent]{
|
|
165
|
-
color:var(--sys-red-on-accent, #fffbf9);
|
|
166
|
-
}
|
|
167
|
-
.link[data-appearance=red][data-text-mode=on-accent]:hover{
|
|
168
|
-
color:var(--sys-red-on-accent, #fffbf9);
|
|
169
|
-
opacity:var(--opacity-a080, 0.8);
|
|
170
|
-
}
|
|
171
|
-
.link[data-appearance=red][data-text-mode=on-accent]:focus-visible{
|
|
172
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
173
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
174
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
175
|
-
color:var(--sys-red-on-accent, #fffbf9);
|
|
176
|
-
opacity:var(--opacity-a080, 0.8);
|
|
177
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
178
|
-
}
|
|
179
|
-
.link[data-appearance=orange][data-text-mode=default]{
|
|
180
|
-
color:var(--sys-orange-text-support, #bb733e);
|
|
181
|
-
}
|
|
182
|
-
.link[data-appearance=orange][data-text-mode=default]:hover{
|
|
183
|
-
color:var(--sys-orange-text-main, #884c23);
|
|
184
|
-
}
|
|
185
|
-
.link[data-appearance=orange][data-text-mode=default]:focus-visible{
|
|
186
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
187
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
188
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
189
|
-
color:var(--sys-orange-text-main, #884c23);
|
|
190
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
191
|
-
}
|
|
192
|
-
.link[data-appearance=orange][data-text-mode=accent]{
|
|
193
|
-
color:var(--sys-orange-accent-default, #fb8e42);
|
|
194
|
-
}
|
|
195
|
-
.link[data-appearance=orange][data-text-mode=accent]:hover{
|
|
196
|
-
color:var(--sys-orange-text-main, #884c23);
|
|
197
|
-
}
|
|
198
|
-
.link[data-appearance=orange][data-text-mode=accent]:focus-visible{
|
|
199
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
200
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
201
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
202
|
-
color:var(--sys-orange-text-main, #884c23);
|
|
203
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
204
|
-
}
|
|
205
|
-
.link[data-appearance=orange][data-text-mode=on-accent]{
|
|
206
|
-
color:var(--sys-orange-on-accent, #fffcf4);
|
|
207
|
-
}
|
|
208
|
-
.link[data-appearance=orange][data-text-mode=on-accent]:hover{
|
|
209
|
-
color:var(--sys-orange-on-accent, #fffcf4);
|
|
210
|
-
opacity:var(--opacity-a080, 0.8);
|
|
211
|
-
}
|
|
212
|
-
.link[data-appearance=orange][data-text-mode=on-accent]:focus-visible{
|
|
213
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
214
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
215
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
216
|
-
color:var(--sys-orange-on-accent, #fffcf4);
|
|
217
|
-
opacity:var(--opacity-a080, 0.8);
|
|
218
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
219
|
-
}
|
|
220
|
-
.link[data-appearance=blue][data-text-mode=default]{
|
|
221
|
-
color:var(--sys-blue-text-support, #4877b0);
|
|
222
|
-
}
|
|
223
|
-
.link[data-appearance=blue][data-text-mode=default]:hover{
|
|
224
|
-
color:var(--sys-blue-text-main, #2b537e);
|
|
225
|
-
}
|
|
226
|
-
.link[data-appearance=blue][data-text-mode=default]:focus-visible{
|
|
227
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
228
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
229
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
230
|
-
color:var(--sys-blue-text-main, #2b537e);
|
|
231
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
232
|
-
}
|
|
233
|
-
.link[data-appearance=blue][data-text-mode=accent]{
|
|
234
|
-
color:var(--sys-blue-accent-default, #5388d1);
|
|
235
|
-
}
|
|
236
|
-
.link[data-appearance=blue][data-text-mode=accent]:hover{
|
|
237
|
-
color:var(--sys-blue-text-main, #2b537e);
|
|
238
|
-
}
|
|
239
|
-
.link[data-appearance=blue][data-text-mode=accent]:focus-visible{
|
|
240
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
241
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
242
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
243
|
-
color:var(--sys-blue-text-main, #2b537e);
|
|
244
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
245
|
-
}
|
|
246
|
-
.link[data-appearance=blue][data-text-mode=on-accent]{
|
|
247
|
-
color:var(--sys-blue-on-accent, #fdfeff);
|
|
248
|
-
}
|
|
249
|
-
.link[data-appearance=blue][data-text-mode=on-accent]:hover{
|
|
250
|
-
color:var(--sys-blue-on-accent, #fdfeff);
|
|
251
|
-
opacity:var(--opacity-a080, 0.8);
|
|
252
|
-
}
|
|
253
|
-
.link[data-appearance=blue][data-text-mode=on-accent]:focus-visible{
|
|
254
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
255
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
256
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
257
|
-
color:var(--sys-blue-on-accent, #fdfeff);
|
|
258
|
-
opacity:var(--opacity-a080, 0.8);
|
|
259
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
260
|
-
}
|
|
261
|
-
.link[data-appearance=violet][data-text-mode=default]{
|
|
262
|
-
color:var(--sys-violet-text-support, #8c639b);
|
|
263
|
-
}
|
|
264
|
-
.link[data-appearance=violet][data-text-mode=default]:hover{
|
|
265
|
-
color:var(--sys-violet-text-main, #59446a);
|
|
266
|
-
}
|
|
267
|
-
.link[data-appearance=violet][data-text-mode=default]:focus-visible{
|
|
268
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
269
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
270
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
271
|
-
color:var(--sys-violet-text-main, #59446a);
|
|
272
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
273
|
-
}
|
|
274
|
-
.link[data-appearance=violet][data-text-mode=accent]{
|
|
275
|
-
color:var(--sys-violet-accent-default, #aa6cc1);
|
|
276
|
-
}
|
|
277
|
-
.link[data-appearance=violet][data-text-mode=accent]:hover{
|
|
278
|
-
color:var(--sys-violet-text-main, #59446a);
|
|
279
|
-
}
|
|
280
|
-
.link[data-appearance=violet][data-text-mode=accent]:focus-visible{
|
|
281
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
282
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
283
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
284
|
-
color:var(--sys-violet-text-main, #59446a);
|
|
285
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
286
|
-
}
|
|
287
|
-
.link[data-appearance=violet][data-text-mode=on-accent]{
|
|
288
|
-
color:var(--sys-violet-on-accent, #fdfdfd);
|
|
289
|
-
}
|
|
290
|
-
.link[data-appearance=violet][data-text-mode=on-accent]:hover{
|
|
291
|
-
color:var(--sys-violet-on-accent, #fdfdfd);
|
|
292
|
-
opacity:var(--opacity-a080, 0.8);
|
|
293
|
-
}
|
|
294
|
-
.link[data-appearance=violet][data-text-mode=on-accent]:focus-visible{
|
|
295
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
296
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
297
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
298
|
-
color:var(--sys-violet-on-accent, #fdfdfd);
|
|
299
|
-
opacity:var(--opacity-a080, 0.8);
|
|
300
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
301
|
-
}
|
|
302
|
-
.link[data-appearance=pink][data-text-mode=default]{
|
|
303
|
-
color:var(--sys-pink-text-support, #ae5e80);
|
|
304
|
-
}
|
|
305
|
-
.link[data-appearance=pink][data-text-mode=default]:hover{
|
|
306
|
-
color:var(--sys-pink-text-main, #754158);
|
|
307
|
-
}
|
|
308
|
-
.link[data-appearance=pink][data-text-mode=default]:focus-visible{
|
|
309
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
310
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
311
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
312
|
-
color:var(--sys-pink-text-main, #754158);
|
|
313
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
314
|
-
}
|
|
315
|
-
.link[data-appearance=pink][data-text-mode=accent]{
|
|
316
|
-
color:var(--sys-pink-accent-default, #d1668e);
|
|
317
|
-
}
|
|
318
|
-
.link[data-appearance=pink][data-text-mode=accent]:hover{
|
|
319
|
-
color:var(--sys-pink-text-main, #754158);
|
|
320
|
-
}
|
|
321
|
-
.link[data-appearance=pink][data-text-mode=accent]:focus-visible{
|
|
322
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
323
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
324
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
325
|
-
color:var(--sys-pink-text-main, #754158);
|
|
326
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
327
|
-
}
|
|
328
|
-
.link[data-appearance=pink][data-text-mode=on-accent]{
|
|
329
|
-
color:var(--sys-pink-on-accent, #fdfcfc);
|
|
330
|
-
}
|
|
331
|
-
.link[data-appearance=pink][data-text-mode=on-accent]:hover{
|
|
332
|
-
color:var(--sys-pink-on-accent, #fdfcfc);
|
|
333
|
-
opacity:var(--opacity-a080, 0.8);
|
|
334
|
-
}
|
|
335
|
-
.link[data-appearance=pink][data-text-mode=on-accent]:focus-visible{
|
|
336
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
337
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
338
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
339
|
-
color:var(--sys-pink-on-accent, #fdfcfc);
|
|
340
|
-
opacity:var(--opacity-a080, 0.8);
|
|
341
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
342
|
-
}
|
|
343
|
-
.link[data-appearance=yellow][data-text-mode=default]{
|
|
344
|
-
color:var(--sys-yellow-text-support, #b78c32);
|
|
345
|
-
}
|
|
346
|
-
.link[data-appearance=yellow][data-text-mode=default]:hover{
|
|
347
|
-
color:var(--sys-yellow-text-main, #815f19);
|
|
348
|
-
}
|
|
349
|
-
.link[data-appearance=yellow][data-text-mode=default]:focus-visible{
|
|
350
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
351
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
352
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
353
|
-
color:var(--sys-yellow-text-main, #815f19);
|
|
354
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
355
|
-
}
|
|
356
|
-
.link[data-appearance=yellow][data-text-mode=accent]{
|
|
357
|
-
color:var(--sys-yellow-accent-default, #e2b134);
|
|
358
|
-
}
|
|
359
|
-
.link[data-appearance=yellow][data-text-mode=accent]:hover{
|
|
360
|
-
color:var(--sys-yellow-text-main, #815f19);
|
|
361
|
-
}
|
|
362
|
-
.link[data-appearance=yellow][data-text-mode=accent]:focus-visible{
|
|
363
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
364
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
365
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
366
|
-
color:var(--sys-yellow-text-main, #815f19);
|
|
367
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
368
|
-
}
|
|
369
|
-
.link[data-appearance=yellow][data-text-mode=on-accent]{
|
|
370
|
-
color:var(--sys-yellow-on-accent, #583f1f);
|
|
371
|
-
}
|
|
372
|
-
.link[data-appearance=yellow][data-text-mode=on-accent]:hover{
|
|
373
|
-
color:var(--sys-yellow-on-accent, #583f1f);
|
|
374
|
-
opacity:var(--opacity-a080, 0.8);
|
|
375
|
-
}
|
|
376
|
-
.link[data-appearance=yellow][data-text-mode=on-accent]:focus-visible{
|
|
377
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
378
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
379
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
380
|
-
color:var(--sys-yellow-on-accent, #583f1f);
|
|
381
|
-
opacity:var(--opacity-a080, 0.8);
|
|
382
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
383
|
-
}
|
|
384
|
-
.link[data-appearance=green][data-text-mode=default]{
|
|
385
|
-
color:var(--sys-green-text-support, #55915a);
|
|
386
|
-
}
|
|
387
|
-
.link[data-appearance=green][data-text-mode=default]:hover{
|
|
388
|
-
color:var(--sys-green-text-main, #3d6035);
|
|
389
|
-
}
|
|
390
|
-
.link[data-appearance=green][data-text-mode=default]:focus-visible{
|
|
391
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
392
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
393
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
394
|
-
color:var(--sys-green-text-main, #3d6035);
|
|
395
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
396
|
-
}
|
|
397
|
-
.link[data-appearance=green][data-text-mode=accent]{
|
|
398
|
-
color:var(--sys-green-accent-default, #57b762);
|
|
399
|
-
}
|
|
400
|
-
.link[data-appearance=green][data-text-mode=accent]:hover{
|
|
401
|
-
color:var(--sys-green-text-main, #3d6035);
|
|
402
|
-
}
|
|
403
|
-
.link[data-appearance=green][data-text-mode=accent]:focus-visible{
|
|
404
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
405
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
406
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
407
|
-
color:var(--sys-green-text-main, #3d6035);
|
|
408
|
-
outline-color:var(--sys-available-complementary, #1c1c24);
|
|
409
|
-
}
|
|
410
|
-
.link[data-appearance=green][data-text-mode=on-accent]{
|
|
411
|
-
color:var(--sys-green-on-accent, #fcfefa);
|
|
412
|
-
}
|
|
413
|
-
.link[data-appearance=green][data-text-mode=on-accent]:hover{
|
|
414
|
-
color:var(--sys-green-on-accent, #fcfefa);
|
|
415
|
-
opacity:var(--opacity-a080, 0.8);
|
|
416
|
-
}
|
|
417
|
-
.link[data-appearance=green][data-text-mode=on-accent]:focus-visible{
|
|
418
|
-
outline-width:var(--border-state-focus-s-border-width, 2px);
|
|
419
|
-
outline-style:var(--border-state-focus-s-border-style, solid);
|
|
420
|
-
outline-color:var(--border-state-focus-s-border-color, );
|
|
421
|
-
color:var(--sys-green-on-accent, #fcfefa);
|
|
422
|
-
opacity:var(--opacity-a080, 0.8);
|
|
423
|
-
outline-color:var(--sys-available-on-complementary, #ffffff);
|
|
424
|
-
}
|
|
425
|
-
.link[data-size=s]{
|
|
426
|
-
height:var(--size-link-s, 16px);
|
|
427
|
-
gap:var(--space-link-gap-single, 0px);
|
|
428
|
-
}
|
|
429
|
-
.link[data-size=s][data-text-mode=default]{
|
|
430
|
-
font-family:var(--sans-body-s-font-family, SB Sans Interface);
|
|
431
|
-
font-weight:var(--sans-body-s-font-weight, Regular);
|
|
432
|
-
line-height:var(--sans-body-s-line-height, 16px);
|
|
433
|
-
font-size:var(--sans-body-s-font-size, 12px);
|
|
434
|
-
letter-spacing:var(--sans-body-s-letter-spacing, 0.1px);
|
|
435
|
-
paragraph-spacing:var(--sans-body-s-paragraph-spacing, 6.6px);
|
|
436
|
-
}
|
|
437
|
-
.link[data-size=s][data-text-mode=accent]{
|
|
438
|
-
font-family:var(--link-body-s-font-family, SB Sans Interface);
|
|
439
|
-
font-weight:var(--link-body-s-font-weight, Regular);
|
|
440
|
-
line-height:var(--link-body-s-line-height, 16px);
|
|
441
|
-
font-size:var(--link-body-s-font-size, 12px);
|
|
442
|
-
letter-spacing:var(--link-body-s-letter-spacing, 0.1px);
|
|
443
|
-
paragraph-spacing:var(--link-body-s-paragraph-spacing, 6.6px);
|
|
444
|
-
-webkit-text-decoration:var(--link-body-s-text-decoration, underline);
|
|
445
|
-
text-decoration:var(--link-body-s-text-decoration, underline);
|
|
446
|
-
}
|
|
447
|
-
.link[data-size=s][data-text-mode=on-accent]{
|
|
448
|
-
font-family:var(--link-body-s-font-family, SB Sans Interface);
|
|
449
|
-
font-weight:var(--link-body-s-font-weight, Regular);
|
|
450
|
-
line-height:var(--link-body-s-line-height, 16px);
|
|
451
|
-
font-size:var(--link-body-s-font-size, 12px);
|
|
452
|
-
letter-spacing:var(--link-body-s-letter-spacing, 0.1px);
|
|
453
|
-
paragraph-spacing:var(--link-body-s-paragraph-spacing, 6.6px);
|
|
454
|
-
-webkit-text-decoration:var(--link-body-s-text-decoration, underline);
|
|
455
|
-
text-decoration:var(--link-body-s-text-decoration, underline);
|
|
456
|
-
}
|
|
457
|
-
.link[data-size=s] svg{
|
|
458
|
-
width:var(--size-icon-container-xs, 16px) !important;
|
|
459
|
-
height:var(--size-icon-container-xs, 16px) !important;
|
|
460
|
-
}
|
|
461
|
-
.link[data-size=m]{
|
|
462
|
-
height:var(--size-link-m, 20px);
|
|
463
|
-
gap:var(--space-link-gap-single, 0px);
|
|
464
|
-
}
|
|
465
|
-
.link[data-size=m][data-text-mode=default]{
|
|
466
|
-
font-family:var(--sans-body-m-font-family, SB Sans Interface);
|
|
467
|
-
font-weight:var(--sans-body-m-font-weight, Regular);
|
|
468
|
-
line-height:var(--sans-body-m-line-height, 20px);
|
|
469
|
-
font-size:var(--sans-body-m-font-size, 14px);
|
|
470
|
-
letter-spacing:var(--sans-body-m-letter-spacing, 0.1px);
|
|
471
|
-
paragraph-spacing:var(--sans-body-m-paragraph-spacing, 7.7px);
|
|
472
|
-
}
|
|
473
|
-
.link[data-size=m][data-text-mode=accent]{
|
|
474
|
-
font-family:var(--link-body-m-font-family, SB Sans Interface);
|
|
475
|
-
font-weight:var(--link-body-m-font-weight, Regular);
|
|
476
|
-
line-height:var(--link-body-m-line-height, 20px);
|
|
477
|
-
font-size:var(--link-body-m-font-size, 14px);
|
|
478
|
-
letter-spacing:var(--link-body-m-letter-spacing, 0.1px);
|
|
479
|
-
paragraph-spacing:var(--link-body-m-paragraph-spacing, 7.7px);
|
|
480
|
-
-webkit-text-decoration:var(--link-body-m-text-decoration, underline);
|
|
481
|
-
text-decoration:var(--link-body-m-text-decoration, underline);
|
|
482
|
-
}
|
|
483
|
-
.link[data-size=m][data-text-mode=on-accent]{
|
|
484
|
-
font-family:var(--link-body-m-font-family, SB Sans Interface);
|
|
485
|
-
font-weight:var(--link-body-m-font-weight, Regular);
|
|
486
|
-
line-height:var(--link-body-m-line-height, 20px);
|
|
487
|
-
font-size:var(--link-body-m-font-size, 14px);
|
|
488
|
-
letter-spacing:var(--link-body-m-letter-spacing, 0.1px);
|
|
489
|
-
paragraph-spacing:var(--link-body-m-paragraph-spacing, 7.7px);
|
|
490
|
-
-webkit-text-decoration:var(--link-body-m-text-decoration, underline);
|
|
491
|
-
text-decoration:var(--link-body-m-text-decoration, underline);
|
|
492
|
-
}
|
|
493
|
-
.link[data-size=m] svg{
|
|
494
|
-
width:var(--size-icon-container-s, 24px) !important;
|
|
495
|
-
height:var(--size-icon-container-s, 24px) !important;
|
|
496
|
-
}
|
|
497
|
-
.link[data-size=l]{
|
|
498
|
-
height:var(--size-link-l, 24px);
|
|
499
|
-
gap:var(--space-link-gap-single, 0px);
|
|
500
|
-
}
|
|
501
|
-
.link[data-size=l][data-text-mode=default]{
|
|
502
|
-
font-family:var(--sans-body-l-font-family, SB Sans Interface);
|
|
503
|
-
font-weight:var(--sans-body-l-font-weight, Regular);
|
|
504
|
-
line-height:var(--sans-body-l-line-height, 24px);
|
|
505
|
-
font-size:var(--sans-body-l-font-size, 16px);
|
|
506
|
-
letter-spacing:var(--sans-body-l-letter-spacing, 0.1px);
|
|
507
|
-
paragraph-spacing:var(--sans-body-l-paragraph-spacing, 8.8px);
|
|
508
|
-
}
|
|
509
|
-
.link[data-size=l][data-text-mode=accent]{
|
|
510
|
-
font-family:var(--link-body-l-font-family, SB Sans Interface);
|
|
511
|
-
font-weight:var(--link-body-l-font-weight, Regular);
|
|
512
|
-
line-height:var(--link-body-l-line-height, 24px);
|
|
513
|
-
font-size:var(--link-body-l-font-size, 16px);
|
|
514
|
-
letter-spacing:var(--link-body-l-letter-spacing, 0.1px);
|
|
515
|
-
paragraph-spacing:var(--link-body-l-paragraph-spacing, 8.8px);
|
|
516
|
-
-webkit-text-decoration:var(--link-body-l-text-decoration, underline);
|
|
517
|
-
text-decoration:var(--link-body-l-text-decoration, underline);
|
|
518
|
-
}
|
|
519
|
-
.link[data-size=l][data-text-mode=on-accent]{
|
|
520
|
-
font-family:var(--link-body-l-font-family, SB Sans Interface);
|
|
521
|
-
font-weight:var(--link-body-l-font-weight, Regular);
|
|
522
|
-
line-height:var(--link-body-l-line-height, 24px);
|
|
523
|
-
font-size:var(--link-body-l-font-size, 16px);
|
|
524
|
-
letter-spacing:var(--link-body-l-letter-spacing, 0.1px);
|
|
525
|
-
paragraph-spacing:var(--link-body-l-paragraph-spacing, 8.8px);
|
|
526
|
-
-webkit-text-decoration:var(--link-body-l-text-decoration, underline);
|
|
527
|
-
text-decoration:var(--link-body-l-text-decoration, underline);
|
|
528
|
-
}
|
|
529
|
-
.link[data-size=l] svg{
|
|
530
|
-
width:var(--size-icon-container-s, 24px) !important;
|
|
531
|
-
height:var(--size-icon-container-s, 24px) !important;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.icon{
|
|
535
|
-
flex-shrink:0;
|
|
536
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|