@ambita/design-system 5.7.1-31.0 → 5.7.1-3111.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/ambita-logo.svg +1 -4
- package/dist/css/_tokens/_byggesoknaden.scss +3 -3
- package/dist/css/_tokens/byggesoknaden.css +5 -5
- package/dist/css/_tokens/component-tokens.css +1 -8
- package/dist/css/ambita-dark.css +3 -3
- package/dist/css/ambita-dark.scss +0 -3
- package/dist/css/ambita-light.css +3 -3
- package/dist/css/ambita-light.scss +0 -3
- package/dist/css/ambita-old.css +3 -3
- package/dist/css/ambita-old.scss +0 -3
- package/dist/css/byggesoknaden.css +3 -3
- package/dist/css/byggesoknaden.scss +0 -3
- package/dist/css/neo-mixins.scss +0 -125
- package/dist/css/themes/_base/component-tokens.css +1 -8
- package/dist/css/themes/ambita-dark/component-tokens.css +1 -8
- package/dist/css/themes/ambita-dark/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-light/component-tokens.css +1 -8
- package/dist/css/themes/ambita-light/semantic-tokens.css +3 -3
- package/dist/css/themes/ambita-old/component-tokens.css +1 -2
- package/dist/css/themes/ambita-old/semantic-tokens.css +3 -3
- package/dist/css/themes/byggesoknaden/component-tokens.css +1 -14
- package/dist/css/themes/byggesoknaden/semantic-tokens.css +3 -3
- package/dist/ds.cjs +10 -10
- package/dist/ds.js +6119 -6161
- package/dist/ds.umd.cjs +11 -11
- 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/themes/ambita-dark.css +13 -17
- package/dist/themes/ambita-light.css +13 -17
- package/dist/themes/ambita-old.css +13 -10
- package/dist/themes/byggesoknaden.css +13 -23
- package/dist/types/components/Input/NeoInput.vue.d.ts +1 -1
- package/dist/types/components/{AuxModal → Modal}/Actions.vue.d.ts +1 -1
- package/dist/types/components/Modal/Modal.vue.d.ts +166 -0
- package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
- package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +1 -1
- package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +1 -1
- package/dist/types/components/NeoTabs/NeoTabs.vue.d.ts +3 -9
- package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +1 -1
- package/dist/types/components/Typography/NeoFormField.vue.d.ts +6 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/main.d.ts +1 -6
- package/package.json +7 -8
- package/dist/css/_typography.scss +0 -228
- package/dist/css/base.scss +0 -19
- package/dist/scss/_typography.scss +0 -228
- package/dist/types/components/AuxModal/AuxModal.vue.d.ts +0 -88
- package/dist/types/components/Typography/types.d.ts +0 -6
- /package/dist/types/components/{AuxModal → Modal}/Action.d.ts +0 -0
- /package/dist/types/components/{AuxModal → Modal}/constants.d.ts +0 -0
package/dist/ambita-logo.svg
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
2
|
-
xml:space="preserve" preserveAspectRatio="xMinYMid meet" x="0px" y="0px"
|
|
3
|
-
viewBox="0 0 694.11 164.663" style="enable-background:new 0 0 694.11 164.663;" role="img"
|
|
4
|
-
aria-labelledby="ambita-logo-title"> <title id="ambita-logo-title">Ambita</title> <path fill="currentcolor" class="ambita-logo__svg__path" d="M101.071,48.106h-5.002c-5.439,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.177-10.047-30.702-10.047c-15.85,0-29.602,6.764-39.627,17.485C5.876,76.03,0.058,90.393,0.002,106.385 c0,0.078-0.002,0.156-0.002,0.236c0,15.848,5.827,30.302,15.85,41.022c10.025,10.493,23.778,17.02,39.627,17.02 c11.525,0,21.909-3.648,30.705-9.814c0.04,5.403,4.472,9.814,9.886,9.814h5.002c5.437,0,9.887-4.453,9.887-9.889V57.998 C110.958,52.558,106.507,48.106,101.071,48.106z M86.18,108.901c-0.508,8.609-3.876,16.153-9.021,21.729 c-5.595,5.826-13.522,9.089-21.681,9.089c-8.389,0-16.316-3.263-21.677-9.089c-5.595-6.063-8.859-14.453-8.859-24.009 c0-0.08,0.003-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.856-23.777c5.36-6.293,13.288-9.556,21.677-9.556 c8.159,0,16.086,3.263,21.681,9.556c5.145,5.36,8.513,12.888,9.021,21.68v2.098V108.901z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M281.806,48.106H150.147l0,0c-5.439,0-9.891,4.451-9.891,9.892v96.776 c0,5.436,4.451,9.889,9.891,9.889h4.999c5.439,0,9.89-4.453,9.89-9.889V72.887h38.551v81.888c0,5.436,4.451,9.889,9.89,9.889h4.999 c5.439,0,9.889-4.453,9.889-9.889V72.887h38.551v81.888c0,5.436,4.452,9.889,9.889,9.889h5.001c5.44,0,9.889-4.453,9.889-9.889 V57.998C291.695,52.558,287.247,48.106,281.806,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M684.222,48.106h-5.001c-5.44,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.178-10.047-30.702-10.047c-15.85,0-29.601,6.764-39.626,17.485c-9.976,10.438-15.791,24.801-15.848,40.793 c0,0.078-0.003,0.156-0.003,0.236c0,15.848,5.827,30.302,15.851,41.022c10.025,10.493,23.776,17.02,39.626,17.02 c11.525,0,21.908-3.648,30.702-9.814c0.041,5.403,4.475,9.814,9.889,9.814h5.001c5.438,0,9.889-4.453,9.889-9.889V57.998 C694.11,52.558,689.659,48.106,684.222,48.106z M669.332,108.907c-0.511,8.608-3.878,16.147-9.023,21.723 c-5.595,5.826-13.519,9.089-21.68,9.089c-8.391,0-16.315-3.263-21.679-9.089c-5.594-6.063-8.855-14.453-8.855-24.009 c0-0.08,0-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.852-23.777c5.363-6.293,13.288-9.556,21.679-9.556 c8.16,0,16.085,3.263,21.68,9.556c5.145,5.357,8.512,12.886,9.023,21.672v2.106V108.907z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M470.419,48.106h-5c-5.438,0-9.891,4.451-9.891,9.892v96.776c0,5.436,4.452,9.889,9.891,9.889h5 c5.439,0,9.889-4.453,9.889-9.889V57.998C480.308,52.558,475.857,48.106,470.419,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M433.659,106.385c-0.124-31.832-25.25-58.278-56.643-58.278c-11.422,0-22.608,3.731-31.234,9.792 l-0.008-46.522c0-5.437-4.448-9.889-9.888-9.889h-0.003h-4.998h-0.001c-5.439,0-9.889,4.452-9.889,9.889v143.398 c0,5.436,4.449,9.889,9.889,9.889h0.001h4.998h0.003c5.382,0,9.792-4.359,9.884-9.717c8.785,5.886,19.79,9.717,31.246,9.717 c31.471,0,56.647-26.575,56.647-58.042C433.662,106.541,433.659,106.463,433.659,106.385z M398.928,129.696 c-5.827,6.06-13.52,9.559-21.912,9.559c-8.623,0-16.084-3.499-21.911-9.559c-5.827-5.827-9.323-14.22-9.323-23.075 c0-0.08,0.001-0.158,0.001-0.236c0.059-9.232,3.542-17.532,9.322-23.311c5.827-6.06,13.288-9.559,21.911-9.559 c8.393,0,16.085,3.499,21.912,9.559c5.78,5.778,9.264,14.079,9.323,23.311c0,0.078,0.002,0.156,0.002,0.236 C408.253,115.477,404.758,123.869,398.928,129.696z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M565.793,48.106h-15.241v-36.73c0-5.437-4.45-9.889-9.889-9.889h-5.001 c-5.438,0-9.889,4.452-9.889,9.889v36.73h-15.241c-5.44,0-9.889,4.451-9.889,9.892v4.999c0,5.439,4.449,9.89,9.889,9.89h15.241 v81.888c0,5.436,4.451,9.889,9.889,9.889h5.001c5.438,0,9.889-4.453,9.889-9.889V72.887h15.241c5.44,0,9.889-4.45,9.889-9.89 v-4.999C575.682,52.558,571.233,48.106,565.793,48.106z"></path> <circle fill="currentcolor" class="ambita-logo__svg__path" cx="467.919" cy="13.877" r="13.878"></circle> </svg>
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" preserveAspectRatio="xMinYMid meet" x="0px" y="0px" viewBox="0 0 694.11 164.663" style="enable-background:new 0 0 694.11 164.663;"> <path fill="currentcolor" class="ambita-logo__svg__path" d="M101.071,48.106h-5.002c-5.439,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.177-10.047-30.702-10.047c-15.85,0-29.602,6.764-39.627,17.485C5.876,76.03,0.058,90.393,0.002,106.385 c0,0.078-0.002,0.156-0.002,0.236c0,15.848,5.827,30.302,15.85,41.022c10.025,10.493,23.778,17.02,39.627,17.02 c11.525,0,21.909-3.648,30.705-9.814c0.04,5.403,4.472,9.814,9.886,9.814h5.002c5.437,0,9.887-4.453,9.887-9.889V57.998 C110.958,52.558,106.507,48.106,101.071,48.106z M86.18,108.901c-0.508,8.609-3.876,16.153-9.021,21.729 c-5.595,5.826-13.522,9.089-21.681,9.089c-8.389,0-16.316-3.263-21.677-9.089c-5.595-6.063-8.859-14.453-8.859-24.009 c0-0.08,0.003-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.856-23.777c5.36-6.293,13.288-9.556,21.677-9.556 c8.159,0,16.086,3.263,21.681,9.556c5.145,5.36,8.513,12.888,9.021,21.68v2.098V108.901z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M281.806,48.106H150.147l0,0c-5.439,0-9.891,4.451-9.891,9.892v96.776 c0,5.436,4.451,9.889,9.891,9.889h4.999c5.439,0,9.89-4.453,9.89-9.889V72.887h38.551v81.888c0,5.436,4.451,9.889,9.89,9.889h4.999 c5.439,0,9.889-4.453,9.889-9.889V72.887h38.551v81.888c0,5.436,4.452,9.889,9.889,9.889h5.001c5.44,0,9.889-4.453,9.889-9.889 V57.998C291.695,52.558,287.247,48.106,281.806,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M684.222,48.106h-5.001c-5.44,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.178-10.047-30.702-10.047c-15.85,0-29.601,6.764-39.626,17.485c-9.976,10.438-15.791,24.801-15.848,40.793 c0,0.078-0.003,0.156-0.003,0.236c0,15.848,5.827,30.302,15.851,41.022c10.025,10.493,23.776,17.02,39.626,17.02 c11.525,0,21.908-3.648,30.702-9.814c0.041,5.403,4.475,9.814,9.889,9.814h5.001c5.438,0,9.889-4.453,9.889-9.889V57.998 C694.11,52.558,689.659,48.106,684.222,48.106z M669.332,108.907c-0.511,8.608-3.878,16.147-9.023,21.723 c-5.595,5.826-13.519,9.089-21.68,9.089c-8.391,0-16.315-3.263-21.679-9.089c-5.594-6.063-8.855-14.453-8.855-24.009 c0-0.08,0-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.852-23.777c5.363-6.293,13.288-9.556,21.679-9.556 c8.16,0,16.085,3.263,21.68,9.556c5.145,5.357,8.512,12.886,9.023,21.672v2.106V108.907z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M470.419,48.106h-5c-5.438,0-9.891,4.451-9.891,9.892v96.776c0,5.436,4.452,9.889,9.891,9.889h5 c5.439,0,9.889-4.453,9.889-9.889V57.998C480.308,52.558,475.857,48.106,470.419,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M433.659,106.385c-0.124-31.832-25.25-58.278-56.643-58.278c-11.422,0-22.608,3.731-31.234,9.792 l-0.008-46.522c0-5.437-4.448-9.889-9.888-9.889h-0.003h-4.998h-0.001c-5.439,0-9.889,4.452-9.889,9.889v143.398 c0,5.436,4.449,9.889,9.889,9.889h0.001h4.998h0.003c5.382,0,9.792-4.359,9.884-9.717c8.785,5.886,19.79,9.717,31.246,9.717 c31.471,0,56.647-26.575,56.647-58.042C433.662,106.541,433.659,106.463,433.659,106.385z M398.928,129.696 c-5.827,6.06-13.52,9.559-21.912,9.559c-8.623,0-16.084-3.499-21.911-9.559c-5.827-5.827-9.323-14.22-9.323-23.075 c0-0.08,0.001-0.158,0.001-0.236c0.059-9.232,3.542-17.532,9.322-23.311c5.827-6.06,13.288-9.559,21.911-9.559 c8.393,0,16.085,3.499,21.912,9.559c5.78,5.778,9.264,14.079,9.323,23.311c0,0.078,0.002,0.156,0.002,0.236 C408.253,115.477,404.758,123.869,398.928,129.696z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M565.793,48.106h-15.241v-36.73c0-5.437-4.45-9.889-9.889-9.889h-5.001 c-5.438,0-9.889,4.452-9.889,9.889v36.73h-15.241c-5.44,0-9.889,4.451-9.889,9.892v4.999c0,5.439,4.449,9.89,9.889,9.89h15.241 v81.888c0,5.436,4.451,9.889,9.889,9.889h5.001c5.438,0,9.889-4.453,9.889-9.889V72.887h15.241c5.44,0,9.889-4.45,9.889-9.89 v-4.999C575.682,52.558,571.233,48.106,565.793,48.106z"></path> <circle fill="currentcolor" class="ambita-logo__svg__path" cx="467.919" cy="13.877" r="13.878"></circle> </svg>
|
|
@@ -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: PT Serif;
|
|
4
|
+
$amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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: PT Serif;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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-3
|
|
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-2); /** 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,14 +28,7 @@
|
|
|
28
28
|
TYPOGRAPHY TOKENS
|
|
29
29
|
Global font settings that can be overridden per theme
|
|
30
30
|
======================================================================== */
|
|
31
|
-
--font-family-base:
|
|
32
|
-
--font-family-display: var(
|
|
33
|
-
--font-family-display-serif,
|
|
34
|
-
'PT Serif',
|
|
35
|
-
Georgia,
|
|
36
|
-
'Times New Roman',
|
|
37
|
-
serif
|
|
38
|
-
);
|
|
31
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
39
32
|
/* ------------------------------------------------------------------------
|
|
40
33
|
SHADOW TOKENS
|
|
41
34
|
------------------------------------------------------------------------ */
|
package/dist/css/ambita-dark.css
CHANGED
|
@@ -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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,9 +6,6 @@
|
|
|
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" />
|
|
12
9
|
*/
|
|
13
10
|
|
|
14
11
|
/* 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:
|
|
7
|
-
--amb-font-family-sans-serif:
|
|
6
|
+
--amb-font-family-display-serif: PT Serif;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,9 +7,6 @@
|
|
|
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
|
-
*
|
|
13
10
|
* This is the default theme for the design system.
|
|
14
11
|
*/
|
|
15
12
|
|
package/dist/css/ambita-old.css
CHANGED
|
@@ -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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,9 +7,6 @@
|
|
|
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
|
-
*
|
|
13
10
|
* This theme maintains backwards compatibility with older designs.
|
|
14
11
|
*/
|
|
15
12
|
|
|
@@ -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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,9 +6,6 @@
|
|
|
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).
|
|
12
9
|
*/
|
|
13
10
|
|
|
14
11
|
/* Layer 0: Legacy SCSS Variables (for legacy Aux components) */
|
package/dist/css/neo-mixins.scss
CHANGED
|
@@ -416,128 +416,3 @@
|
|
|
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,14 +21,7 @@
|
|
|
21
21
|
Global font settings that can be overridden per theme
|
|
22
22
|
======================================================================== */
|
|
23
23
|
|
|
24
|
-
--font-family-base:
|
|
25
|
-
--font-family-display: var(
|
|
26
|
-
--font-family-display-serif,
|
|
27
|
-
'PT Serif',
|
|
28
|
-
Georgia,
|
|
29
|
-
'Times New Roman',
|
|
30
|
-
serif
|
|
31
|
-
);
|
|
24
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
32
25
|
|
|
33
26
|
/* ========================================================================
|
|
34
27
|
SHADOW TOKENS
|
|
@@ -11,14 +11,7 @@
|
|
|
11
11
|
Global font settings that can be overridden per theme
|
|
12
12
|
======================================================================== */
|
|
13
13
|
|
|
14
|
-
--font-family-base:
|
|
15
|
-
--font-family-display: var(
|
|
16
|
-
--font-family-display-serif,
|
|
17
|
-
'PT Serif',
|
|
18
|
-
Georgia,
|
|
19
|
-
'Times New Roman',
|
|
20
|
-
serif
|
|
21
|
-
);
|
|
14
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
22
15
|
|
|
23
16
|
/* ========================================================================
|
|
24
17
|
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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,7 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base:
|
|
17
|
-
--font-family-display: var(
|
|
18
|
-
--font-family-display-serif,
|
|
19
|
-
'PT Serif',
|
|
20
|
-
Georgia,
|
|
21
|
-
'Times New Roman',
|
|
22
|
-
serif
|
|
23
|
-
);
|
|
16
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
24
17
|
|
|
25
18
|
/* ========================================================================
|
|
26
19
|
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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
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,7 @@
|
|
|
13
13
|
Global font settings that can be overridden per theme
|
|
14
14
|
======================================================================== */
|
|
15
15
|
|
|
16
|
-
--font-family-base:
|
|
17
|
-
--font-family-display: var(--font-family-sans-serif, 'Inter', Arial, Helvetica, sans-serif);
|
|
16
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
18
17
|
|
|
19
18
|
/* ========================================================================
|
|
20
19
|
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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|
|
@@ -11,20 +11,7 @@
|
|
|
11
11
|
Global font settings that can be overridden per theme
|
|
12
12
|
======================================================================== */
|
|
13
13
|
|
|
14
|
-
--font-family-base:
|
|
15
|
-
--font-family-sans-serif,
|
|
16
|
-
'Source Sans Pro',
|
|
17
|
-
Arial,
|
|
18
|
-
Helvetica,
|
|
19
|
-
sans-serif
|
|
20
|
-
);
|
|
21
|
-
--font-family-display: var(
|
|
22
|
-
--font-family-display-serif,
|
|
23
|
-
'Source Sans Pro',
|
|
24
|
-
Arial,
|
|
25
|
-
Helvetica,
|
|
26
|
-
sans-serif
|
|
27
|
-
);
|
|
14
|
+
--font-family-base: 'ff-din-round-web', sans-serif;
|
|
28
15
|
|
|
29
16
|
/* ========================================================================
|
|
30
17
|
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;
|
|
7
|
+
--amb-font-family-sans-serif: Inter;
|
|
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;
|
|
39
39
|
--bs-font-line-height-14: 14px;
|
|
40
40
|
--bs-font-line-height-16: 16px;
|
|
41
41
|
--bs-font-line-height-18: 18px;
|