@ambita/design-system 6.1.1-531.0 → 6.1.1-551.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/README.md +14 -14
- package/dist/css/_tokens/_byggesoknaden.scss +3 -3
- package/dist/css/_tokens/byggesoknaden.css +3 -3
- package/dist/css/_tokens/component-tokens.css +3 -3
- package/dist/css/_typography.scss +1 -1
- package/dist/css/ambita-dark.scss +4 -4
- package/dist/css/ambita-light.scss +4 -4
- package/dist/css/ambita-old.scss +4 -4
- package/dist/css/base.scss +4 -4
- package/dist/css/byggesoknaden.scss +4 -4
- package/dist/css/colors-css-variables.scss +1 -1
- package/dist/css/functions.scss +1 -1
- package/dist/css/index.scss +1 -1
- package/dist/css/mixins.scss +2 -2
- package/dist/css/neo-mixins.scss +12 -12
- package/dist/css/neo-tokens.scss +1 -1
- package/dist/css/themes/_base/component-tokens.css +3 -3
- package/dist/css/themes/ambita-dark/component-tokens.css +3 -3
- package/dist/css/themes/ambita-dark/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-light/component-tokens.css +3 -3
- package/dist/css/themes/ambita-light/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-old/component-tokens.css +2 -2
- package/dist/css/themes/ambita-old/semantic-tokens.css +3 -3
- package/dist/css/themes/byggesoknaden/component-tokens.css +2 -2
- package/dist/css/themes/byggesoknaden/semantic-tokens.css +3 -3
- package/dist/ds.cjs +3 -3
- package/dist/ds.cjs.map +1 -1
- package/dist/ds.js +146 -146
- package/dist/ds.js.map +1 -1
- package/dist/ds.umd.cjs +4 -4
- package/dist/ds.umd.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/scss/_typography.scss +1 -1
- package/dist/themes/ambita-dark.css +4 -4
- package/dist/themes/ambita-light.css +4 -4
- package/dist/themes/ambita-old.css +3 -3
- package/dist/themes/byggesoknaden.css +3 -3
- package/dist/types/components/Accordion/NeoAccordion.vue.d.ts +2 -2
- package/dist/types/components/Accordion/NeoAccordionContent.vue.d.ts +1 -1
- package/dist/types/components/Accordion/NeoAccordionItem.vue.d.ts +1 -1
- package/dist/types/components/Accordion/NeoAccordionTrigger.vue.d.ts +1 -1
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +1 -1
- package/dist/types/components/AuxBanner/AuxBanner.types.d.ts +1 -1
- package/dist/types/components/AuxBanner/AuxBanner.vue.d.ts +1 -1
- package/dist/types/components/AuxCheckbox/AuxCheckbox.vue.d.ts +1 -1
- package/dist/types/components/AuxCheckboxDropdown/CheckboxDropdown.vue.d.ts +1 -1
- package/dist/types/components/AuxDefinition/AuxDefinition.vue.d.ts +1 -1
- package/dist/types/components/AuxDirectionalArrow/AuxDirectionalArrow.vue.d.ts +1 -1
- package/dist/types/components/AuxLink/AuxLink.vue.d.ts +1 -1
- package/dist/types/components/AuxModal/AuxActions.vue.d.ts +1 -1
- package/dist/types/components/AuxModal/AuxModal.vue.d.ts +3 -3
- package/dist/types/components/AuxNotification/AuxNotification.vue.d.ts +2 -2
- package/dist/types/components/AuxNotification/AuxNotifications.vue.d.ts +2 -2
- package/dist/types/components/AuxNotification/constants.d.ts +2 -2
- package/dist/types/components/AuxPagination/AuxPagination.vue.d.ts +2 -2
- package/dist/types/components/AuxRadioGroup/AuxRadioGroup.vue.d.ts +1 -1
- package/dist/types/components/AuxSpinner/AuxSpinner.vue.d.ts +1 -1
- package/dist/types/components/AuxStatusBadge/AuxStatusBadge.vue.d.ts +2 -2
- package/dist/types/components/AuxTabs/AuxTabs.vue.d.ts +1 -1
- package/dist/types/components/AuxTag/AuxTag.vue.d.ts +1 -1
- package/dist/types/components/AuxTextArea/AuxTextArea.vue.d.ts +1 -1
- package/dist/types/components/AuxTime/AuxTime.vue.d.ts +1 -1
- package/dist/types/components/Button/AuxButton.vue.d.ts +2 -2
- package/dist/types/components/Button/NeoButton.vue.d.ts +3 -3
- package/dist/types/components/Button/NeoLinkButton.vue.d.ts +1 -1
- package/dist/types/components/Button/NeoLoadingButton.vue.d.ts +2 -2
- package/dist/types/components/CheckboxGroup/AuxCheckboxGroup.vue.d.ts +2 -2
- package/dist/types/components/Input/NeoInput.vue.d.ts +2 -2
- package/dist/types/components/NeoBanner/NeoBanner.vue.d.ts +2 -2
- package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +3 -3
- package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +4 -4
- package/dist/types/components/NeoScrollArea/NeoScrollArea.vue.d.ts +1 -1
- package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +2 -2
- package/dist/types/components/NeoTabs/NeoTabs.vue.d.ts +5 -5
- package/dist/types/components/NeoTabs/NeoTabsWrapper.vue.d.ts +1 -1
- package/dist/types/components/NeoTagsInput/NeoTag.vue.d.ts +1 -1
- package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +3 -3
- package/dist/types/components/NeoTagsInput/types.d.ts +1 -1
- package/dist/types/components/Typography/NeoFormField.vue.d.ts +1 -1
- package/dist/types/composables/useInputId.d.ts +1 -1
- package/dist/types/composables/useTheme.d.ts +1 -1
- package/dist/types/helpers/formatters/formatDateAndTime/formatDateAndTime.d.ts +1 -1
- package/dist/types/helpers/formatters/formatQuantity/formatAmount.d.ts +2 -2
- package/dist/types/helpers/formatters/formatQuantity/formatNumber.d.ts +1 -1
- package/dist/types/helpers/uuid.d.ts +1 -1
- package/dist/types/index.d.ts +65 -65
- package/dist/types/main.d.ts +5 -5
- package/dist/types/types/theme.d.ts +1 -1
- package/package.json +41 -37
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@ Generate NPM token (try `npm whoami` to check if configured). If no response, fo
|
|
|
11
11
|
To get the project up and running locally:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
pnpm install
|
|
15
|
+
pnpm run build:storybook:prepare
|
|
16
|
+
pnpm run storybook
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
This will install dependencies, build the required theme assets, and start Storybook on port 6006.
|
|
@@ -21,12 +21,12 @@ This will install dependencies, build the required theme assets, and start Story
|
|
|
21
21
|
> [!IMPORTANT]
|
|
22
22
|
> The `build:storybook:prepare` step is **required** before running Storybook for the first time. Storybook needs the compiled theme CSS files in `dist/themes/`. If you see an error about missing `./dist/themes` directory, run this build step first.
|
|
23
23
|
|
|
24
|
-
You can also run `
|
|
24
|
+
You can also run `pnpm start` to test it running with Vite.
|
|
25
25
|
|
|
26
26
|
### Subsequent Runs
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
|
|
29
|
+
pnpm run storybook
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
---
|
|
@@ -72,19 +72,19 @@ Recommended front-end template for new Ambita projects, pre-configured with this
|
|
|
72
72
|
#### Compile and Hot-Reload for Development
|
|
73
73
|
|
|
74
74
|
```sh
|
|
75
|
-
|
|
75
|
+
pnpm start
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
#### Documentation and manual testing with [Storybook](https://storybook.js.org/)
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
|
-
|
|
81
|
+
pnpm run storybook
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
#### Type-Check, Compile and Minify for Production
|
|
85
85
|
|
|
86
86
|
```sh
|
|
87
|
-
|
|
87
|
+
pnpm run build
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
#### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
@@ -92,37 +92,37 @@ npm run build
|
|
|
92
92
|
Once:
|
|
93
93
|
|
|
94
94
|
```sh
|
|
95
|
-
|
|
95
|
+
pnpm test
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
Continuously:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
|
|
101
|
+
pnpm run test:unit
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
#### Test coverage with [v8](https://vitest.dev/guide/coverage)
|
|
105
105
|
|
|
106
106
|
```sh
|
|
107
|
-
|
|
107
|
+
pnpm run test:coverage
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
#### Lint code
|
|
111
111
|
|
|
112
112
|
```sh
|
|
113
|
-
|
|
113
|
+
pnpm run lint
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
#### Format code with [oxfmt](https://oxc.rs/docs/guide/usage/formatter.html)
|
|
117
117
|
|
|
118
118
|
```sh
|
|
119
|
-
|
|
119
|
+
pnpm run format
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
#### Type Check [TypeScript](https://www.typescriptlang.org/)
|
|
123
123
|
|
|
124
124
|
```sh
|
|
125
|
-
|
|
125
|
+
pnpm run type-check
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
---
|
|
@@ -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:
|
|
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:
|
|
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;
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
TYPOGRAPHY TOKENS
|
|
29
29
|
Global font settings that can be overridden per theme
|
|
30
30
|
======================================================================== */
|
|
31
|
-
--font-family-base: var(--font-family-sans-serif,
|
|
31
|
+
--font-family-base: var(--font-family-sans-serif, "Inter", Arial, Helvetica, sans-serif);
|
|
32
32
|
--font-family-display: var(
|
|
33
33
|
--font-family-display-serif,
|
|
34
|
-
|
|
34
|
+
"PT Serif",
|
|
35
35
|
Georgia,
|
|
36
|
-
|
|
36
|
+
"Times New Roman",
|
|
37
37
|
serif
|
|
38
38
|
);
|
|
39
39
|
/* ------------------------------------------------------------------------
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
- @ambita/design-system/dist/themes/byggesoknaden.css
|
|
37
37
|
============================================================================ */
|
|
38
38
|
|
|
39
|
-
@forward
|
|
39
|
+
@forward "./functions";
|
|
40
40
|
|
|
41
41
|
/* ============================================================================
|
|
42
42
|
HEADING MIXINS
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
15
|
-
@use
|
|
16
|
-
@use
|
|
15
|
+
@use "./colors-css-variables.scss";
|
|
16
|
+
@use "./utilities.scss" as *;
|
|
17
17
|
|
|
18
18
|
/* Layer 1: Semantic Tokens (primitives + theme-specific) */
|
|
19
|
-
@import url(
|
|
19
|
+
@import url("./themes/ambita-dark/semantic-tokens.css");
|
|
20
20
|
|
|
21
21
|
/* Layer 2: Component Tokens (theme-specific component decisions) */
|
|
22
|
-
@import url(
|
|
22
|
+
@import url("./themes/ambita-dark/component-tokens.css");
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
17
|
-
@use
|
|
18
|
-
@use
|
|
17
|
+
@use "./colors-css-variables.scss";
|
|
18
|
+
@use "./utilities.scss" as *;
|
|
19
19
|
|
|
20
20
|
/* Layer 1: Semantic Tokens (primitives + theme-specific) */
|
|
21
|
-
@import url(
|
|
21
|
+
@import url("./themes/ambita-light/semantic-tokens.css");
|
|
22
22
|
|
|
23
23
|
/* Layer 2: Component Tokens (theme-specific component decisions) */
|
|
24
|
-
@import url(
|
|
24
|
+
@import url("./themes/ambita-light/component-tokens.css");
|
package/dist/css/ambita-old.scss
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
17
|
-
@use
|
|
18
|
-
@use
|
|
17
|
+
@use "./colors-css-variables.scss";
|
|
18
|
+
@use "./utilities.scss" as *;
|
|
19
19
|
|
|
20
20
|
/* Layer 1: Semantic Tokens (primitives + theme-specific) */
|
|
21
|
-
@import url(
|
|
21
|
+
@import url("./themes/ambita-old/semantic-tokens.css");
|
|
22
22
|
|
|
23
23
|
/* Layer 2: Component Tokens (theme-specific component decisions) */
|
|
24
|
-
@import url(
|
|
24
|
+
@import url("./themes/ambita-old/component-tokens.css");
|
package/dist/css/base.scss
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
13
|
-
@use
|
|
14
|
-
@use
|
|
13
|
+
@use "./colors-css-variables.scss";
|
|
14
|
+
@use "./utilities.scss" as *;
|
|
15
15
|
|
|
16
16
|
/* Layer 1: Semantic Tokens - Using Ambita Light as default */
|
|
17
|
-
@import url(
|
|
17
|
+
@import url("./themes/ambita-light/semantic-tokens.css");
|
|
18
18
|
|
|
19
19
|
/* Layer 2: Component Tokens - Using Ambita Light as default */
|
|
20
|
-
@import url(
|
|
20
|
+
@import url("./themes/ambita-light/component-tokens.css");
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
|
15
|
-
@use
|
|
16
|
-
@use
|
|
15
|
+
@use "./colors-css-variables.scss";
|
|
16
|
+
@use "./utilities.scss" as *;
|
|
17
17
|
|
|
18
18
|
/* Layer 1: Semantic Tokens (primitives + theme-specific) */
|
|
19
|
-
@import url(
|
|
19
|
+
@import url("./themes/byggesoknaden/semantic-tokens.css");
|
|
20
20
|
|
|
21
21
|
/* Layer 2: Component Tokens (theme-specific component decisions) */
|
|
22
|
-
@import url(
|
|
22
|
+
@import url("./themes/byggesoknaden/component-tokens.css");
|
package/dist/css/functions.scss
CHANGED
package/dist/css/index.scss
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
============================================================================ */
|
|
22
22
|
|
|
23
23
|
/* Forward to default theme (Ambita Light) */
|
|
24
|
-
@forward
|
|
24
|
+
@forward "./ambita-light.scss";
|
|
25
25
|
|
|
26
26
|
/* ============================================================================
|
|
27
27
|
GLOBAL FONT FAMILY
|
package/dist/css/mixins.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use "./colors-scss-variables" as *;
|
|
2
2
|
|
|
3
3
|
$aux-focus-indicator-style:
|
|
4
4
|
0 0 0 3px $aux-white,
|
|
@@ -93,7 +93,7 @@ $aux-focus-indicator-style:
|
|
|
93
93
|
position: relative;
|
|
94
94
|
|
|
95
95
|
&::before {
|
|
96
|
-
content:
|
|
96
|
+
content: "";
|
|
97
97
|
width: 20px;
|
|
98
98
|
height: 20px;
|
|
99
99
|
display: block;
|
package/dist/css/neo-mixins.scss
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
```
|
|
17
17
|
============================================================================ */
|
|
18
18
|
|
|
19
|
-
@use
|
|
20
|
-
@forward
|
|
19
|
+
@use "./neo-tokens" as *;
|
|
20
|
+
@forward "./functions";
|
|
21
21
|
|
|
22
22
|
/* ============================================================================
|
|
23
23
|
DROPDOWN/PORTAL CONTENT MIXINS
|
|
@@ -63,38 +63,38 @@
|
|
|
63
63
|
*/
|
|
64
64
|
@mixin dropdown-animations {
|
|
65
65
|
// Animation states
|
|
66
|
-
&[data-state=
|
|
66
|
+
&[data-state="open"] {
|
|
67
67
|
animation:
|
|
68
68
|
fadeIn 150ms,
|
|
69
69
|
zoomIn 150ms;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
&[data-state=
|
|
72
|
+
&[data-state="closed"] {
|
|
73
73
|
animation:
|
|
74
74
|
fadeOut 150ms,
|
|
75
75
|
zoomOut 150ms;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
// Side-based slide animations
|
|
79
|
-
&[data-side=
|
|
79
|
+
&[data-side="bottom"] {
|
|
80
80
|
animation:
|
|
81
81
|
fadeIn 150ms,
|
|
82
82
|
slideInFromTop 150ms;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
&[data-side=
|
|
85
|
+
&[data-side="top"] {
|
|
86
86
|
animation:
|
|
87
87
|
fadeIn 150ms,
|
|
88
88
|
slideInFromBottom 150ms;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
&[data-side=
|
|
91
|
+
&[data-side="left"] {
|
|
92
92
|
animation:
|
|
93
93
|
fadeIn 150ms,
|
|
94
94
|
slideInFromRight 150ms;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
&[data-side=
|
|
97
|
+
&[data-side="right"] {
|
|
98
98
|
animation:
|
|
99
99
|
fadeIn 150ms,
|
|
100
100
|
slideInFromLeft 150ms;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
transition: background-color 150ms;
|
|
147
147
|
|
|
148
148
|
// Base selected state styling
|
|
149
|
-
&[data-state=
|
|
149
|
+
&[data-state="checked"] {
|
|
150
150
|
background-color: $dropdown-item-bg-selected;
|
|
151
151
|
color: $dropdown-item-text-selected;
|
|
152
152
|
}
|
|
@@ -158,20 +158,20 @@
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
// Keyboard navigation highlight (non-selected items)
|
|
161
|
-
&:not([data-state=
|
|
161
|
+
&:not([data-state="checked"])[data-highlighted] {
|
|
162
162
|
background-color: $dropdown-item-bg-hover;
|
|
163
163
|
color: $dropdown-item-text-hover;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
// Selected item should maintain selected appearance even when highlighted,
|
|
167
167
|
// unless explicitly hovered with mouse
|
|
168
|
-
&[data-state=
|
|
168
|
+
&[data-state="checked"][data-highlighted]:not(:hover) {
|
|
169
169
|
background-color: $dropdown-item-bg-selected;
|
|
170
170
|
color: $dropdown-item-text-hover;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
// Mouse hover always takes priority
|
|
174
|
-
&[data-state=
|
|
174
|
+
&[data-state="checked"]:hover {
|
|
175
175
|
background-color: $dropdown-item-bg-hover;
|
|
176
176
|
color: $dropdown-item-text-hover;
|
|
177
177
|
}
|
package/dist/css/neo-tokens.scss
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
TYPOGRAPHY TOKENS
|
|
27
27
|
============================================================================ */
|
|
28
28
|
|
|
29
|
-
$font-family-sans-serif: var(--font-family-sans-serif)
|
|
29
|
+
$font-family-sans-serif: var(--font-family-sans-serif) "sans-serif";
|
|
30
30
|
$font-family-display-serif: var(--font-family-display-serif);
|
|
31
31
|
|
|
32
32
|
/* ============================================================================
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
Global font settings that can be overridden per theme
|
|
22
22
|
======================================================================== */
|
|
23
23
|
|
|
24
|
-
--font-family-base: var(--font-family-sans-serif,
|
|
24
|
+
--font-family-base: var(--font-family-sans-serif, "Inter", Arial, Helvetica, sans-serif);
|
|
25
25
|
--font-family-display: var(
|
|
26
26
|
--font-family-display-serif,
|
|
27
|
-
|
|
27
|
+
"PT Serif",
|
|
28
28
|
Georgia,
|
|
29
|
-
|
|
29
|
+
"Times New Roman",
|
|
30
30
|
serif
|
|
31
31
|
);
|
|
32
32
|
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
Global font settings that can be overridden per theme
|
|
12
12
|
======================================================================== */
|
|
13
13
|
|
|
14
|
-
--font-family-base: var(--font-family-sans-serif,
|
|
14
|
+
--font-family-base: var(--font-family-sans-serif, "Inter", Arial, Helvetica, sans-serif);
|
|
15
15
|
--font-family-display: var(
|
|
16
16
|
--font-family-display-serif,
|
|
17
|
-
|
|
17
|
+
"PT Serif",
|
|
18
18
|
Georgia,
|
|
19
|
-
|
|
19
|
+
"Times New Roman",
|
|
20
20
|
serif
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -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: "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:
|
|
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,12 +13,12 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base: var(--font-family-sans-serif,
|
|
16
|
+
--font-family-base: var(--font-family-sans-serif, "Inter", Arial, Helvetica, sans-serif);
|
|
17
17
|
--font-family-display: var(
|
|
18
18
|
--font-family-display-serif,
|
|
19
|
-
|
|
19
|
+
"PT Serif",
|
|
20
20
|
Georgia,
|
|
21
|
-
|
|
21
|
+
"Times New Roman",
|
|
22
22
|
serif
|
|
23
23
|
);
|
|
24
24
|
|
|
@@ -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: "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:
|
|
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,8 +13,8 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base: var(--font-family-sans-serif,
|
|
17
|
-
--font-family-display: var(--font-family-sans-serif,
|
|
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);
|
|
18
18
|
|
|
19
19
|
/* ========================================================================
|
|
20
20
|
SHADOW TOKENS
|
|
@@ -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: "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:
|
|
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,14 +13,14 @@
|
|
|
13
13
|
|
|
14
14
|
--font-family-base: var(
|
|
15
15
|
--font-family-sans-serif,
|
|
16
|
-
|
|
16
|
+
"Source Sans Pro",
|
|
17
17
|
Arial,
|
|
18
18
|
Helvetica,
|
|
19
19
|
sans-serif
|
|
20
20
|
);
|
|
21
21
|
--font-family-display: var(
|
|
22
22
|
--font-family-display-serif,
|
|
23
|
-
|
|
23
|
+
"Source Sans Pro",
|
|
24
24
|
Arial,
|
|
25
25
|
Helvetica,
|
|
26
26
|
sans-serif
|
|
@@ -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:
|
|
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;
|