@ambita/design-system 5.7.1-3111.0 → 5.7.1-3121.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/css/_tokens/_byggesoknaden.scss +3 -3
- package/dist/css/_tokens/byggesoknaden.css +5 -5
- package/dist/css/_tokens/component-tokens.css +8 -1
- package/dist/css/_typography.scss +228 -0
- package/dist/css/ambita-dark.css +3 -3
- package/dist/css/ambita-dark.scss +3 -0
- package/dist/css/ambita-light.css +3 -3
- package/dist/css/ambita-light.scss +3 -0
- package/dist/css/ambita-old.css +3 -3
- package/dist/css/ambita-old.scss +3 -0
- package/dist/css/base.scss +19 -0
- package/dist/css/byggesoknaden.css +3 -3
- package/dist/css/byggesoknaden.scss +3 -0
- package/dist/css/neo-mixins.scss +125 -0
- package/dist/css/themes/_base/component-tokens.css +8 -1
- package/dist/css/themes/ambita-dark/component-tokens.css +8 -1
- package/dist/css/themes/ambita-dark/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-light/component-tokens.css +8 -1
- package/dist/css/themes/ambita-light/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-old/component-tokens.css +2 -1
- package/dist/css/themes/ambita-old/semantic-tokens.css +3 -3
- package/dist/css/themes/byggesoknaden/component-tokens.css +14 -1
- package/dist/css/themes/byggesoknaden/semantic-tokens.css +3 -3
- package/dist/ds.cjs +4 -4
- package/dist/ds.js +153 -153
- package/dist/ds.umd.cjs +9 -9
- package/dist/index.css +1 -1
- package/dist/scss/_ambita-dark.scss +3 -3
- package/dist/scss/_ambita-light.scss +3 -3
- package/dist/scss/_ambita-old.scss +3 -3
- package/dist/scss/_byggesoknaden.scss +3 -3
- package/dist/scss/_typography.scss +228 -0
- package/dist/themes/ambita-dark.css +17 -13
- package/dist/themes/ambita-light.css +17 -13
- package/dist/themes/ambita-old.css +10 -13
- package/dist/themes/byggesoknaden.css +23 -13
- package/dist/types/{components → src/components}/Input/NeoInput.vue.d.ts +1 -1
- package/dist/types/{components → src/components}/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
- package/dist/types/{components → src/components}/NeoDatePicker/NeoDatePicker.vue.d.ts +1 -1
- package/dist/types/{components → src/components}/NeoSelect/NeoSelect.vue.d.ts +1 -1
- package/dist/types/{components → src/components}/NeoTagsInput/TagsInput.vue.d.ts +1 -1
- package/dist/types/{components → src/components}/Typography/NeoFormField.vue.d.ts +2 -6
- package/dist/types/src/components/Typography/types.d.ts +6 -0
- package/dist/types/{index.d.ts → src/index.d.ts} +1 -1
- package/dist/types/src/main.d.ts +6 -0
- package/package.json +3 -2
- package/dist/types/main.d.ts +0 -1
- /package/dist/types/{App.vue.d.ts → src/App.vue.d.ts} +0 -0
- /package/dist/types/{components → src/components}/Accordion/NeoAccordion.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Accordion/NeoAccordionContent.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Accordion/NeoAccordionItem.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Accordion/NeoAccordionTrigger.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/AuxTabs/AuxTabs.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/AuxTabs/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Banner/Banner.types.d.ts +0 -0
- /package/dist/types/{components → src/components}/Banner/Banner.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Button/Button.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Button/NeoButton.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Button/NeoLinkButton.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Button/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Card/Card.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Checkbox/Checkbox.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Checkbox/CheckboxCard.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Checkbox/CheckboxRegular.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Checkbox/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/CheckboxDropdown/CheckboxDropdown.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/CheckboxGroup/CheckboxGroup.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/CheckboxGroup/CheckboxGroupCardElement.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/CheckboxGroup/CheckboxGroupElement.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Color/ColorSwatch.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Definition/Definition.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Details/Details.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/DirectionalArrow/DirectionalArrow.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/DirectionalArrow/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/FormElement/FormElement.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Icons/IconPreview.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Input/Input.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Components/Checkboxes.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Components/RadioButtons.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Controls/Array.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Controls/Boolean.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Controls/Number.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Controls/String.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Controls/Wrapper.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/JsonForm.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Array.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Boolean.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Integer.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Layout.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Number.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/Object.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/String.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/JsonForm/Renderers/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/Link/Link.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Link/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Logo/Logo.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Modal/Action.d.ts +0 -0
- /package/dist/types/{components → src/components}/Modal/Actions.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Modal/Modal.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Modal/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoBanner/NeoBanner.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoPagination/NeoPagination.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTabs/NeoTabs.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTabs/NeoTabsContent.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTabs/NeoTabsTrigger.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTabs/NeoTabsWrapper.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTagsInput/NeoTag.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/NeoTagsInput/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/Notification/Notification.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Notification/Notifications.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Notification/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Pagination/Pagination.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Pagination/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/Pill/Colors.d.ts +0 -0
- /package/dist/types/{components → src/components}/Pill/Pill.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Radio/Radio.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/RadioGroup/RadioGroup.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/RadioGroup/RadioGroupCardElement.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/RadioGroup/RadioGroupElement.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/RadioGroup/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Select/Select.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Seperator/NeoSeparator.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Spinner/Spinner.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Spinner/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/StatusBadge/StatusBadge.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/StatusBadge/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Tag/Colors.d.ts +0 -0
- /package/dist/types/{components → src/components}/Tag/Tag.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/TextArea/TextArea.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/TextArea/constants.d.ts +0 -0
- /package/dist/types/{components → src/components}/Time/Time.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Toggle/Toggle.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Typography/ErrorText.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Typography/HelperText.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Typography/LabelText.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Upload/File/File.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/Upload/Upload.vue.d.ts +0 -0
- /package/dist/types/{components → src/components}/ValidationWrapper/ValidationWrapper.vue.d.ts +0 -0
- /package/dist/types/{composables → src/composables}/useInputId.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/formatters/formatDateAndTime/Storybook/FormatDateAndTime.vue.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/formatters/formatDateAndTime/index.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/formatters/formatQuantity/Storybook/FormatAmount.vue.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/formatters/formatQuantity/formatAmount.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/formatters/formatQuantity/formatNumber.d.ts +0 -0
- /package/dist/types/{helpers → src/helpers}/uuid.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Do not edit directly, this file was auto-generated.
|
|
2
2
|
|
|
3
|
-
$amb-font-family-display-serif:
|
|
4
|
-
$amb-font-family-sans-serif:
|
|
3
|
+
$amb-font-family-display-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
4
|
+
$amb-font-family-sans-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
5
5
|
$amb-font-weight-bold: 700;
|
|
6
6
|
$amb-font-weight-medium: 500;
|
|
7
7
|
$amb-font-weight-regular: 400;
|
|
@@ -32,7 +32,7 @@ $bs-color-red-3: #b74a40; // For UI
|
|
|
32
32
|
$bs-color-white: #ffffff; // For marketing and UI
|
|
33
33
|
$bs-color-yellow-1: #fefaed; // For UI
|
|
34
34
|
$bs-color-yellow-2: #dfbb2c; // For UI
|
|
35
|
-
$bs-font-family-bs-font: Source Sans
|
|
35
|
+
$bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
36
36
|
$bs-font-line-height-14: 14px;
|
|
37
37
|
$bs-font-line-height-16: 16px;
|
|
38
38
|
$bs-font-line-height-18: 18px;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif:
|
|
7
|
-
--amb-font-family-sans-serif:
|
|
6
|
+
--amb-font-family-display-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
--bs-color-red-3
|
|
165
165
|
); /** Fyllfarge for å bruke på en ramme for å indikere en feil. */
|
|
166
166
|
--border-color-focus: var(
|
|
167
|
-
--bs-color-blue-
|
|
167
|
+
--bs-color-blue-5
|
|
168
168
|
); /** Fyllfarge for å bruke på en ramme i interaktive komponenter som er i fokusert tilstand. */
|
|
169
169
|
--border-color-input: var(
|
|
170
170
|
--bs-color-grey-5
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
); /** Fyllfarge for høykontrast elementer i deaktivert tilstand. */
|
|
218
218
|
--fill-error: var(--bs-color-red-1); /** Dempet fyllfarge som indikerer feilmelding. */
|
|
219
219
|
--fill-error-stronger: var(--bs-color-red-2); /** Sterk fyllfarge som indikerer feilmelding. */
|
|
220
|
-
--fill-hover-default: var(--bs-color-blue-
|
|
220
|
+
--fill-hover-default: var(--bs-color-blue-1); /** Fyllfarge for interaktive elementer */
|
|
221
221
|
--fill-info: var(--bs-color-blue-1); /** Dempet fyllfarge som indikerer nøytral informasjon. */
|
|
222
222
|
--fill-info-stronger: var(
|
|
223
223
|
--bs-color-blue-2
|
|
@@ -28,7 +28,14 @@
|
|
|
28
28
|
TYPOGRAPHY TOKENS
|
|
29
29
|
Global font settings that can be overridden per theme
|
|
30
30
|
======================================================================== */
|
|
31
|
-
--font-family-base:
|
|
31
|
+
--font-family-base: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
32
|
+
--font-family-display: var(
|
|
33
|
+
--font-family-display-serif,
|
|
34
|
+
'PT Serif',
|
|
35
|
+
Georgia,
|
|
36
|
+
'Times New Roman',
|
|
37
|
+
serif
|
|
38
|
+
);
|
|
32
39
|
/* ------------------------------------------------------------------------
|
|
33
40
|
SHADOW TOKENS
|
|
34
41
|
------------------------------------------------------------------------ */
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
TYPOGRAPHY MIXINS & UTILITIES
|
|
3
|
+
============================================================================
|
|
4
|
+
|
|
5
|
+
Semantic typography mixins based on the Ambita design system.
|
|
6
|
+
These provide pre-composed text styles matching the design specifications.
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
```scss
|
|
10
|
+
@use '@ambita/design-system/dist/scss/_typography.scss' as *;
|
|
11
|
+
|
|
12
|
+
.my-title {
|
|
13
|
+
@include heading-xxl-display;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1 { @include heading-xxl-display; }
|
|
17
|
+
h2 { @include heading-xl; }
|
|
18
|
+
p { @include body-m; }
|
|
19
|
+
|
|
20
|
+
// Using the rem() function:
|
|
21
|
+
.custom-element {
|
|
22
|
+
font-size: rem(18); // => 1.125rem (18/16)
|
|
23
|
+
padding: rem(24) rem(16); // => 1.5rem 1rem
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Heading styles:
|
|
28
|
+
- Display variants use the display font (PT Serif in ambita-light/dark)
|
|
29
|
+
- Regular variants use the base font (Inter in ambita-light/dark)
|
|
30
|
+
|
|
31
|
+
Note: These mixins use CSS custom properties defined in your theme.
|
|
32
|
+
Make sure to import a theme CSS file before using these mixins:
|
|
33
|
+
- @ambita/design-system/dist/themes/ambita-light.css
|
|
34
|
+
- @ambita/design-system/dist/themes/ambita-dark.css
|
|
35
|
+
- @ambita/design-system/dist/themes/ambita-old.css
|
|
36
|
+
- @ambita/design-system/dist/themes/byggesoknaden.css
|
|
37
|
+
============================================================================ */
|
|
38
|
+
|
|
39
|
+
@use 'sass:math';
|
|
40
|
+
|
|
41
|
+
/* ============================================================================
|
|
42
|
+
UTILITY FUNCTIONS
|
|
43
|
+
============================================================================ */
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Convert pixel values to rem units
|
|
47
|
+
*
|
|
48
|
+
* @param $px - The pixel value to convert
|
|
49
|
+
* @param $base - The base font size (default: 16px, browser default)
|
|
50
|
+
* @return rem value
|
|
51
|
+
*
|
|
52
|
+
* Examples:
|
|
53
|
+
* rem(16) => 1rem
|
|
54
|
+
* rem(24) => 1.5rem
|
|
55
|
+
* rem(14) => 0.875rem
|
|
56
|
+
* rem(18, 18) => 1rem (custom base)
|
|
57
|
+
*/
|
|
58
|
+
@function rem($px, $base: 16) {
|
|
59
|
+
@return math.div($px, $base) * 1rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* ============================================================================
|
|
63
|
+
HEADING MIXINS
|
|
64
|
+
============================================================================ */
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Heading XXL Display
|
|
68
|
+
* Font: PT Serif (display), Size: 50px, Weight: 400, Line-height: 54px
|
|
69
|
+
* Use for: Hero titles, marketing headlines
|
|
70
|
+
*/
|
|
71
|
+
@mixin heading-xxl-display {
|
|
72
|
+
font-family: var(--font-family-display);
|
|
73
|
+
font-size: var(--font-size-xxl);
|
|
74
|
+
font-weight: var(--font-weight-regular);
|
|
75
|
+
line-height: var(--font-line-height-xxxl);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Heading XXL
|
|
80
|
+
* Font: Inter (base), Size: 50px, Weight: 400, Line-height: 54px
|
|
81
|
+
* Use for: Large page titles
|
|
82
|
+
*/
|
|
83
|
+
@mixin heading-xxl {
|
|
84
|
+
font-family: var(--font-family-base);
|
|
85
|
+
font-size: var(--font-size-xxl);
|
|
86
|
+
font-weight: var(--font-weight-regular);
|
|
87
|
+
line-height: var(--font-line-height-xxxl);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Heading XL Display
|
|
92
|
+
* Font: PT Serif (display), Size: 30px, Weight: 400, Line-height: 34px
|
|
93
|
+
* Use for: Section titles with display styling
|
|
94
|
+
*/
|
|
95
|
+
@mixin heading-xl-display {
|
|
96
|
+
font-family: var(--font-family-display);
|
|
97
|
+
font-size: var(--font-size-xl);
|
|
98
|
+
font-weight: var(--font-weight-regular);
|
|
99
|
+
line-height: var(--font-line-height-xxl);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Heading XL
|
|
104
|
+
* Font: Inter (base), Size: 30px, Weight: 500, Line-height: 34px
|
|
105
|
+
* Use for: Page sections, major content divisions
|
|
106
|
+
*/
|
|
107
|
+
@mixin heading-xl {
|
|
108
|
+
font-family: var(--font-family-base);
|
|
109
|
+
font-size: var(--font-size-xl);
|
|
110
|
+
font-weight: var(--font-weight-medium);
|
|
111
|
+
line-height: var(--font-line-height-xxl);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Heading L
|
|
116
|
+
* Font: Inter (base), Size: 22px, Weight: 500, Line-height: 26px
|
|
117
|
+
* Use for: Card titles, subsections
|
|
118
|
+
*/
|
|
119
|
+
@mixin heading-l {
|
|
120
|
+
font-family: var(--font-family-base);
|
|
121
|
+
font-size: var(--font-size-l);
|
|
122
|
+
font-weight: var(--font-weight-medium);
|
|
123
|
+
line-height: var(--font-line-height-xl);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Heading L Link
|
|
128
|
+
* Font: Inter (base), Size: 22px, Weight: 400, Line-height: 26px
|
|
129
|
+
* Use for: Clickable headings, navigation items
|
|
130
|
+
*/
|
|
131
|
+
@mixin heading-l-link {
|
|
132
|
+
font-family: var(--font-family-base);
|
|
133
|
+
font-size: var(--font-size-l);
|
|
134
|
+
font-weight: var(--font-weight-regular);
|
|
135
|
+
line-height: var(--font-line-height-xl);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Heading M
|
|
140
|
+
* Font: Inter (base), Size: 20px, Weight: 500, Line-height: 24px
|
|
141
|
+
* Use for: Component titles, list headers
|
|
142
|
+
*/
|
|
143
|
+
@mixin heading-m {
|
|
144
|
+
font-family: var(--font-family-base);
|
|
145
|
+
font-size: var(--font-size-m);
|
|
146
|
+
font-weight: var(--font-weight-medium);
|
|
147
|
+
line-height: var(--font-line-height-l);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Heading S
|
|
152
|
+
* Font: Inter (base), Size: 18px, Weight: 500, Line-height: 22px
|
|
153
|
+
* Use for: Small titles, form section headers
|
|
154
|
+
*/
|
|
155
|
+
@mixin heading-s {
|
|
156
|
+
font-family: var(--font-family-base);
|
|
157
|
+
font-size: var(--font-size-s);
|
|
158
|
+
font-weight: var(--font-weight-medium);
|
|
159
|
+
line-height: var(--font-line-height-m);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ============================================================================
|
|
163
|
+
BODY TEXT MIXINS
|
|
164
|
+
============================================================================ */
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Body L
|
|
168
|
+
* Font: Inter (base), Size: 18px, Weight: 400, Line-height: 26px
|
|
169
|
+
* Use for: Lead paragraphs, introductions
|
|
170
|
+
*/
|
|
171
|
+
@mixin body-l {
|
|
172
|
+
font-family: var(--font-family-base);
|
|
173
|
+
font-size: var(--font-size-s);
|
|
174
|
+
font-weight: var(--font-weight-regular);
|
|
175
|
+
line-height: var(--font-line-height-xl);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Body M
|
|
180
|
+
* Font: Inter (base), Size: 16px, Weight: 400, Line-height: 22px
|
|
181
|
+
* Use for: Default body text, paragraphs
|
|
182
|
+
*/
|
|
183
|
+
@mixin body-m {
|
|
184
|
+
font-family: var(--font-family-base);
|
|
185
|
+
font-size: var(--font-size-xs);
|
|
186
|
+
font-weight: var(--font-weight-regular);
|
|
187
|
+
line-height: var(--font-line-height-m);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Body S
|
|
192
|
+
* Font: Inter (base), Size: 14px, Weight: 400, Line-height: 19px
|
|
193
|
+
* Use for: Secondary text, descriptions
|
|
194
|
+
*/
|
|
195
|
+
@mixin body-s {
|
|
196
|
+
font-family: var(--font-family-base);
|
|
197
|
+
font-size: var(--font-size-xxs);
|
|
198
|
+
font-weight: var(--font-weight-regular);
|
|
199
|
+
line-height: var(--font-line-height-s);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* ============================================================================
|
|
203
|
+
UTILITY TEXT MIXINS
|
|
204
|
+
============================================================================ */
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Caption
|
|
208
|
+
* Font: Inter (base), Size: 12px, Weight: 400, Line-height: 16px
|
|
209
|
+
* Use for: Image captions, footnotes, meta information
|
|
210
|
+
*/
|
|
211
|
+
@mixin caption {
|
|
212
|
+
font-family: var(--font-family-base);
|
|
213
|
+
font-size: var(--font-size-xxxs);
|
|
214
|
+
font-weight: var(--font-weight-regular);
|
|
215
|
+
line-height: var(--font-line-height-xxs);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Label
|
|
220
|
+
* Font: Inter (base), Size: 16px, Weight: 500, Line-height: 19px
|
|
221
|
+
* Use for: Form labels, input labels
|
|
222
|
+
*/
|
|
223
|
+
@mixin label {
|
|
224
|
+
font-family: var(--font-family-base);
|
|
225
|
+
font-size: var(--font-size-xs);
|
|
226
|
+
font-weight: var(--font-weight-medium);
|
|
227
|
+
line-height: var(--font-line-height-s);
|
|
228
|
+
}
|
package/dist/css/ambita-dark.css
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif: PT Serif;
|
|
7
|
-
--amb-font-family-sans-serif: Inter;
|
|
6
|
+
--amb-font-family-display-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Inter', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
* import '@ambita/design-system/dist/css/ambita-dark.css';
|
|
9
|
+
*
|
|
10
|
+
* Fonts: Add this to your HTML <head>:
|
|
11
|
+
* <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" />
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif: PT Serif;
|
|
7
|
-
--amb-font-family-sans-serif: Inter;
|
|
6
|
+
--amb-font-family-display-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Inter', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
* Usage:
|
|
8
8
|
* import '@ambita/design-system/dist/css/ambita-light.css';
|
|
9
9
|
*
|
|
10
|
+
* Fonts: Add this to your HTML <head>:
|
|
11
|
+
* <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" />
|
|
12
|
+
*
|
|
10
13
|
* This is the default theme for the design system.
|
|
11
14
|
*/
|
|
12
15
|
|
package/dist/css/ambita-old.css
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif: PT Serif;
|
|
7
|
-
--amb-font-family-sans-serif: Inter;
|
|
6
|
+
--amb-font-family-display-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Inter', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
package/dist/css/ambita-old.scss
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
* Usage:
|
|
8
8
|
* import '@ambita/design-system/dist/css/ambita-old.css';
|
|
9
9
|
*
|
|
10
|
+
* Fonts: DIN Round is not available on Google Fonts.
|
|
11
|
+
* Host the font files and add @font-face declarations, or use the fallback (Arial).
|
|
12
|
+
*
|
|
10
13
|
* This theme maintains backwards compatibility with older designs.
|
|
11
14
|
*/
|
|
12
15
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Design System Base Styles (Font-Free)
|
|
3
|
+
*
|
|
4
|
+
* DO NOT import this file directly in consuming projects.
|
|
5
|
+
* Use theme entry points instead:
|
|
6
|
+
* - @ambita/design-system/dist/themes/ambita-light.css
|
|
7
|
+
* - @ambita/design-system/dist/themes/ambita-dark.css
|
|
8
|
+
* - @ambita/design-system/dist/themes/ambita-old.css
|
|
9
|
+
* - @ambita/design-system/dist/themes/byggesoknaden.css
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
13
|
+
@use './colors-css-variables.scss';
|
|
14
|
+
|
|
15
|
+
/* Layer 1: Semantic Tokens - Using Ambita Light as default */
|
|
16
|
+
@import url('./themes/ambita-light/semantic-tokens.css');
|
|
17
|
+
|
|
18
|
+
/* Layer 2: Component Tokens - Using Ambita Light as default */
|
|
19
|
+
@import url('./themes/ambita-light/component-tokens.css');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif:
|
|
7
|
-
--amb-font-family-sans-serif:
|
|
6
|
+
--amb-font-family-display-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
* import '@ambita/design-system/dist/css/byggesoknaden.css';
|
|
9
|
+
*
|
|
10
|
+
* Fonts: DIN Round is not available on Google Fonts.
|
|
11
|
+
* Host the font files and add @font-face declarations, or use the fallback (Arial).
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
package/dist/css/neo-mixins.scss
CHANGED
|
@@ -416,3 +416,128 @@
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
+
|
|
420
|
+
/* ============================================================================
|
|
421
|
+
TYPOGRAPHY MIXINS
|
|
422
|
+
============================================================================
|
|
423
|
+
|
|
424
|
+
Semantic typography mixins based on the Ambita design system.
|
|
425
|
+
These provide pre-composed text styles matching the design specifications.
|
|
426
|
+
|
|
427
|
+
Usage:
|
|
428
|
+
```scss
|
|
429
|
+
@use '@/css/neo-mixins' as *;
|
|
430
|
+
|
|
431
|
+
.my-title {
|
|
432
|
+
@include heading-xxl-display;
|
|
433
|
+
}
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
Heading styles:
|
|
437
|
+
- Display variants use PT Serif (--font-family-display)
|
|
438
|
+
- Regular variants use Inter (--font-family-base)
|
|
439
|
+
============================================================================ */
|
|
440
|
+
|
|
441
|
+
/* Heading XXL Display - PT Serif, 50px, weight 400, line-height 54px */
|
|
442
|
+
@mixin heading-xxl-display {
|
|
443
|
+
font-family: var(--font-family-display);
|
|
444
|
+
font-size: var(--font-size-xxl);
|
|
445
|
+
font-weight: var(--font-weight-regular);
|
|
446
|
+
line-height: var(--font-line-height-xxxl);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Heading XXL - Inter, 50px, weight 400, line-height 54px */
|
|
450
|
+
@mixin heading-xxl {
|
|
451
|
+
font-family: var(--font-family-base);
|
|
452
|
+
font-size: var(--font-size-xxl);
|
|
453
|
+
font-weight: var(--font-weight-regular);
|
|
454
|
+
line-height: var(--font-line-height-xxxl);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Heading XL Display - PT Serif, 30px, weight 400, line-height 34px */
|
|
458
|
+
@mixin heading-xl-display {
|
|
459
|
+
font-family: var(--font-family-display);
|
|
460
|
+
font-size: var(--font-size-xl);
|
|
461
|
+
font-weight: var(--font-weight-regular);
|
|
462
|
+
line-height: var(--font-line-height-xxl);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/* Heading XL - Inter, 30px, weight 500, line-height 34px */
|
|
466
|
+
@mixin heading-xl {
|
|
467
|
+
font-family: var(--font-family-base);
|
|
468
|
+
font-size: var(--font-size-xl);
|
|
469
|
+
font-weight: var(--font-weight-medium);
|
|
470
|
+
line-height: var(--font-line-height-xxl);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/* Heading L - Inter, 22px, weight 500, line-height 26px */
|
|
474
|
+
@mixin heading-l {
|
|
475
|
+
font-family: var(--font-family-base);
|
|
476
|
+
font-size: var(--font-size-l);
|
|
477
|
+
font-weight: var(--font-weight-medium);
|
|
478
|
+
line-height: var(--font-line-height-xl);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* Heading L Link - Inter, 22px, weight 400, line-height 26px */
|
|
482
|
+
@mixin heading-l-link {
|
|
483
|
+
font-family: var(--font-family-base);
|
|
484
|
+
font-size: var(--font-size-l);
|
|
485
|
+
font-weight: var(--font-weight-regular);
|
|
486
|
+
line-height: var(--font-line-height-xl);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* Heading M - Inter, 20px, weight 500, line-height 24px */
|
|
490
|
+
@mixin heading-m {
|
|
491
|
+
font-family: var(--font-family-base);
|
|
492
|
+
font-size: var(--font-size-m);
|
|
493
|
+
font-weight: var(--font-weight-medium);
|
|
494
|
+
line-height: var(--font-line-height-l);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/* Heading S - Inter, 18px, weight 500, line-height 22px */
|
|
498
|
+
@mixin heading-s {
|
|
499
|
+
font-family: var(--font-family-base);
|
|
500
|
+
font-size: var(--font-size-s);
|
|
501
|
+
font-weight: var(--font-weight-medium);
|
|
502
|
+
line-height: var(--font-line-height-m);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/* Body L - Inter, 18px, weight 400, line-height 26px */
|
|
506
|
+
@mixin body-l {
|
|
507
|
+
font-family: var(--font-family-base);
|
|
508
|
+
font-size: var(--font-size-s);
|
|
509
|
+
font-weight: var(--font-weight-regular);
|
|
510
|
+
line-height: var(--font-line-height-xl);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* Body M - Inter, 16px, weight 400, line-height 22px */
|
|
514
|
+
@mixin body-m {
|
|
515
|
+
font-family: var(--font-family-base);
|
|
516
|
+
font-size: var(--font-size-xs);
|
|
517
|
+
font-weight: var(--font-weight-regular);
|
|
518
|
+
line-height: var(--font-line-height-m);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/* Body S - Inter, 14px, weight 400, line-height 19px */
|
|
522
|
+
@mixin body-s {
|
|
523
|
+
font-family: var(--font-family-base);
|
|
524
|
+
font-size: var(--font-size-xxs);
|
|
525
|
+
font-weight: var(--font-weight-regular);
|
|
526
|
+
line-height: var(--font-line-height-s);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Caption - Inter, 12px, weight 400, line-height 16px */
|
|
530
|
+
@mixin caption {
|
|
531
|
+
font-family: var(--font-family-base);
|
|
532
|
+
font-size: var(--font-size-xxxs);
|
|
533
|
+
font-weight: var(--font-weight-regular);
|
|
534
|
+
line-height: var(--font-line-height-xxs);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* Label - Inter, 16px, weight 500, line-height 19px */
|
|
538
|
+
@mixin label {
|
|
539
|
+
font-family: var(--font-family-base);
|
|
540
|
+
font-size: var(--font-size-xs);
|
|
541
|
+
font-weight: var(--font-weight-medium);
|
|
542
|
+
line-height: var(--font-line-height-s);
|
|
543
|
+
}
|
|
@@ -21,7 +21,14 @@
|
|
|
21
21
|
Global font settings that can be overridden per theme
|
|
22
22
|
======================================================================== */
|
|
23
23
|
|
|
24
|
-
--font-family-base:
|
|
24
|
+
--font-family-base: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
25
|
+
--font-family-display: var(
|
|
26
|
+
--font-family-display-serif,
|
|
27
|
+
'PT Serif',
|
|
28
|
+
Georgia,
|
|
29
|
+
'Times New Roman',
|
|
30
|
+
serif
|
|
31
|
+
);
|
|
25
32
|
|
|
26
33
|
/* ========================================================================
|
|
27
34
|
SHADOW TOKENS
|
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
Global font settings that can be overridden per theme
|
|
12
12
|
======================================================================== */
|
|
13
13
|
|
|
14
|
-
--font-family-base:
|
|
14
|
+
--font-family-base: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
15
|
+
--font-family-display: var(
|
|
16
|
+
--font-family-display-serif,
|
|
17
|
+
'PT Serif',
|
|
18
|
+
Georgia,
|
|
19
|
+
'Times New Roman',
|
|
20
|
+
serif
|
|
21
|
+
);
|
|
15
22
|
|
|
16
23
|
/* ========================================================================
|
|
17
24
|
SHADOW TOKENS
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif: PT Serif;
|
|
7
|
-
--amb-font-family-sans-serif: Inter;
|
|
6
|
+
--amb-font-family-display-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Inter', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -13,7 +13,14 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base:
|
|
16
|
+
--font-family-base: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
17
|
+
--font-family-display: var(
|
|
18
|
+
--font-family-display-serif,
|
|
19
|
+
'PT Serif',
|
|
20
|
+
Georgia,
|
|
21
|
+
'Times New Roman',
|
|
22
|
+
serif
|
|
23
|
+
);
|
|
17
24
|
|
|
18
25
|
/* ========================================================================
|
|
19
26
|
SHADOW TOKENS
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--amb-font-family-display-serif: PT Serif;
|
|
7
|
-
--amb-font-family-sans-serif: Inter;
|
|
6
|
+
--amb-font-family-display-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
|
|
7
|
+
--amb-font-family-sans-serif: 'Inter', Arial, Helvetica, sans-serif;
|
|
8
8
|
--amb-font-weight-bold: 700;
|
|
9
9
|
--amb-font-weight-medium: 500;
|
|
10
10
|
--amb-font-weight-regular: 400;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--bs-color-white: #ffffff; /** For marketing and UI */
|
|
36
36
|
--bs-color-yellow-1: #fefaed; /** For UI */
|
|
37
37
|
--bs-color-yellow-2: #dfbb2c; /** For UI */
|
|
38
|
-
--bs-font-family-bs-font: Source Sans
|
|
38
|
+
--bs-font-family-bs-font: 'Source Sans Pro', Arial, Helvetica, sans-serif;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base:
|
|
16
|
+
--font-family-base: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
17
|
+
--font-family-display: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
17
18
|
|
|
18
19
|
/* ========================================================================
|
|
19
20
|
SHADOW TOKENS
|