@linzjs/lui 10.11.2 → 11.0.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +6 -5
  3. package/dist/components/LuiIcon/LuiIcon.d.ts +3 -0
  4. package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +11 -0
  5. package/dist/components/LuiTabs/LuiTabs.d.ts +1 -21
  6. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +6 -0
  7. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +7 -0
  8. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +7 -0
  9. package/dist/index.d.ts +5 -1
  10. package/dist/lui.cjs.development.js +61 -47
  11. package/dist/lui.cjs.development.js.map +1 -1
  12. package/dist/lui.cjs.production.min.js +1 -1
  13. package/dist/lui.cjs.production.min.js.map +1 -1
  14. package/dist/lui.css +175 -215
  15. package/dist/lui.css.map +1 -1
  16. package/dist/lui.esm.js +59 -45
  17. package/dist/lui.esm.js.map +1 -1
  18. package/dist/scss/Components/Footer/footer.scss +5 -5
  19. package/dist/scss/Components/Header/header.scss +1 -1
  20. package/dist/scss/Components/HelpSection/help-section.scss +1 -1
  21. package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +4 -4
  22. package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +2 -2
  23. package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +1 -1
  24. package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +2 -3
  25. package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -58
  26. package/dist/scss/Components/Menu/menu.scss +7 -7
  27. package/dist/scss/Components/Messaging/messaging.scss +5 -5
  28. package/dist/scss/Components/Modal/modal.scss +3 -3
  29. package/dist/scss/Components/Notifications/notifications.scss +2 -2
  30. package/dist/scss/Elements/Buttons/buttons.scss +38 -38
  31. package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +2 -2
  32. package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +3 -3
  33. package/dist/scss/Elements/Icons/icons.scss +1 -1
  34. package/dist/scss/Elements/Tables/tables.scss +8 -8
  35. package/dist/scss/Foundation/Utilities/Borders.scss +1 -1
  36. package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +2 -2
  37. package/dist/scss/Foundation/Variables/FormVars.scss +1 -1
  38. package/dist/scss/Foundation/Variables/_ExportCSS.scss +87 -59
  39. package/dist/scss/Foundation/Variables/_ExportColors.scss +52 -51
  40. package/dist/scss/Foundation/Variables/_LuiColors.scss +113 -119
  41. package/dist/scss/Global/GenericElements/Link.scss +3 -3
  42. package/dist/scss/Global/GenericElements/Todo.scss +1 -1
  43. package/dist/scss/Global/GenericElements/Typography.scss +2 -2
  44. package/dist/scss/Global/Layout/Layout.scss +3 -3
  45. package/dist/scss/Vendor/print.scss +2 -2
  46. package/dist/scss/base.scss +0 -1
  47. package/package.json +9 -3
@@ -12,7 +12,7 @@
12
12
  @mixin border(
13
13
  $width: 1px,
14
14
  $style: solid,
15
- $color: $grey-20,
15
+ $color: $silver,
16
16
  $borderRadius: null
17
17
  ) {
18
18
  @if ($borderRadius != null) {
@@ -21,12 +21,12 @@
21
21
 
22
22
  &.lui-header-transparent {
23
23
  background: transparent;
24
- color: colors.$blue-75;
24
+ color: colors.$sea;
25
25
  &:after {
26
26
  content: none;
27
27
  }
28
28
  .lui-header-menu-icon {
29
- color: colors.$teal-75;
29
+ color: colors.$surfie;
30
30
  }
31
31
  }
32
32
  }
@@ -23,6 +23,6 @@ $input-border-width-thick: 0.13rem; // 2px
23
23
  $checkbox-icon-font-size: 1.13rem; // 18px
24
24
  $checkbox-icon-line-height: spacing.$unit-md; // 24px
25
25
  $checkbox-label-spacing: $input-spacing;
26
- $checkbox-border-colour: colors.$blue-75;
26
+ $checkbox-border-colour: colors.$sea;
27
27
 
28
28
  $form-error-icon-size: spacing.$unit-lg;
@@ -1,6 +1,6 @@
1
1
  @use 'LuiColors';
2
2
 
3
- $prefix: "--"; // Prefix string for custom CSS properties
3
+ $prefix: '--'; // Prefix string for custom CSS properties
4
4
 
5
5
  // Merges a variable name with $prefix
6
6
  @function custom-property-name($name) {
@@ -14,80 +14,108 @@ $prefix: "--"; // Prefix string for custom CSS properties
14
14
 
15
15
  // Append SCSS variables which are desired to be accessible:
16
16
  :root {
17
-
18
- @include define-custom-property('color-grey-80', LuiColors.$grey-80);
19
- @include define-custom-property('color-grey-60', LuiColors.$grey-60);
20
- @include define-custom-property('color-grey-30', LuiColors.$grey-30);
21
- @include define-custom-property('color-grey-20', LuiColors.$grey-20);
22
- @include define-custom-property('color-grey-10', LuiColors.$grey-10);
23
- @include define-custom-property('color-grey-05', LuiColors.$grey-05);
24
-
25
- @include define-custom-property('color-blue-100', LuiColors.$blue-100);
26
- // color-blue-85,// $blue-85
27
- @include define-custom-property('color-blue-75', LuiColors.$blue-75);
28
- @include define-custom-property('color-blue-50', LuiColors.$blue-50);
29
- @include define-custom-property('color-blue-25', LuiColors.$blue-25);
30
- @include define-custom-property('color-blue-05', LuiColors.$blue-05);
31
-
32
- @include define-custom-property('color-teal-100', LuiColors.$teal-100);
33
- @include define-custom-property('color-teal-75', LuiColors.$teal-75);
34
- @include define-custom-property('color-teal-50', LuiColors.$teal-50);
35
- @include define-custom-property('color-teal-25', LuiColors.$teal-25);
36
- @include define-custom-property('color-teal-05', LuiColors.$teal-05);
37
-
38
- @include define-custom-property('color-green-100', LuiColors.$green-100);
39
- @include define-custom-property('color-green-75', LuiColors.$green-75);
40
- @include define-custom-property('color-green-50', LuiColors.$green-50);
41
- @include define-custom-property('color-green-25', LuiColors.$green-25);
42
- @include define-custom-property('color-green-05', LuiColors.$green-05);
17
+ @include define-custom-property('grey-80', LuiColors.$charcoal);
18
+ @include define-custom-property('grey-60', LuiColors.$fuscous);
19
+ @include define-custom-property('$gray', LuiColors.$gray);
20
+ @include define-custom-property('grey-20', LuiColors.$silver);
21
+ @include define-custom-property('grey-10', LuiColors.$lily);
22
+ @include define-custom-property('grey-05', LuiColors.$hint);
23
+
24
+ @include define-custom-property('teal', LuiColors.$teal);
25
+ // blue-85,// $blue-85
26
+ @include define-custom-property('sea', LuiColors.$sea);
27
+ @include define-custom-property('electric', LuiColors.$electric);
28
+ @include define-custom-property('spray', LuiColors.$spray);
29
+ @include define-custom-property('polar', LuiColors.$polar);
30
+
31
+ @include define-custom-property('sherpa', LuiColors.$sherpa);
32
+ @include define-custom-property('surfie', LuiColors.$surfie);
33
+ @include define-custom-property('persian', LuiColors.$persian);
34
+ @include define-custom-property('downy', LuiColors.$downy);
35
+ @include define-custom-property('iceberg', LuiColors.$iceberg);
36
+
37
+ @include define-custom-property('sacramento', LuiColors.$sacramento);
38
+ @include define-custom-property('salem', LuiColors.$salem);
39
+ @include define-custom-property('pigment', LuiColors.$pigment);
40
+ @include define-custom-property('granny', LuiColors.$granny);
41
+ @include define-custom-property('panache', LuiColors.$panache);
43
42
 
44
43
  @include define-custom-property('brand-primary', LuiColors.$brand-primary);
45
- @include define-custom-property('brand-secondary', LuiColors.$brand-secondary);
44
+ @include define-custom-property(
45
+ 'brand-secondary',
46
+ LuiColors.$brand-secondary
47
+ );
46
48
 
47
49
  // System colours,// System colours
48
50
 
49
51
  // reserved colours,// reserved colours
50
- @include define-custom-property('color-success', LuiColors.$success);
51
- @include define-custom-property('color-success-bg', LuiColors.$success-bg);
52
- @include define-custom-property('color-info', LuiColors.$info);
53
- @include define-custom-property('color-info-bg', LuiColors.$info-bg);
54
- @include define-custom-property('color-warning', LuiColors.$warning);
55
- @include define-custom-property('color-warning-bg', LuiColors.$warning-bg);
56
- @include define-custom-property('color-error', LuiColors.$error);
57
- @include define-custom-property('color-error-focus', LuiColors.$error-focus);
58
- @include define-custom-property('color-error-bg', LuiColors.$error-bg);
59
-
60
- @include define-custom-property('color-visited', LuiColors.$visited);
52
+ @include define-custom-property('success', LuiColors.$success);
53
+ @include define-custom-property('success-bg', LuiColors.$success-bg);
54
+ @include define-custom-property('info', LuiColors.$info);
55
+ @include define-custom-property('info-bg', LuiColors.$info-bg);
56
+ @include define-custom-property('warning', LuiColors.$warning);
57
+ @include define-custom-property('warning-bg', LuiColors.$warning-bg);
58
+ @include define-custom-property('error', LuiColors.$error);
59
+ @include define-custom-property('error-focus', LuiColors.$error-focus);
60
+ @include define-custom-property('error-bg', LuiColors.$error-bg);
61
+
62
+ @include define-custom-property('visited', LuiColors.$visited);
61
63
 
62
64
  // restricted colours for btn hover states,// restricted colours for btn hover states
63
- @include define-custom-property('color-green-hover', LuiColors.$green-hover);
64
- @include define-custom-property('color-green-active', LuiColors.$green-active);
65
- @include define-custom-property('color-green-btn', LuiColors.$green-btn);
66
- @include define-custom-property('color-txt-link', LuiColors.$txt-link);
67
- @include define-custom-property('color-primary-hover-btn', LuiColors.$primary-hover-btn);
65
+ @include define-custom-property('green-hover', LuiColors.$green-hover);
66
+ @include define-custom-property(
67
+ 'color-green-active',
68
+ LuiColors.$green-active
69
+ );
70
+ @include define-custom-property('green-btn', LuiColors.$green-btn);
71
+ @include define-custom-property('txt-link', LuiColors.$txt-link);
72
+ @include define-custom-property(
73
+ 'color-primary-hover-btn',
74
+ LuiColors.$primary-hover-btn
75
+ );
68
76
  @include define-custom-property('color-selection', LuiColors.$selection);
69
77
 
70
78
  //Type
71
- @include define-custom-property('heading-color', LuiColors.$teal-75);
72
- @include define-custom-property('heading-color--secondary', LuiColors.$grey-80);
73
- @include define-custom-property('base-type-color', LuiColors.$grey-80);
79
+ @include define-custom-property('heading-color', LuiColors.$surfie);
80
+ @include define-custom-property(
81
+ 'heading-color--secondary',
82
+ LuiColors.$charcoal
83
+ );
84
+ @include define-custom-property('base-type-color', LuiColors.$charcoal);
74
85
 
75
86
  // Icons & radio/checkboxes
76
- @include define-custom-property('base-icon-color', LuiColors.$blue-75);
77
- @include define-custom-property('disabled-color', LuiColors.$grey-30);
78
- @include define-custom-property('disabled-color-dark', LuiColors.$grey-60);
87
+ @include define-custom-property('base-icon-color', LuiColors.$sea);
88
+ @include define-custom-property('disabled-color', LuiColors.$gray);
89
+ @include define-custom-property('disabled-color-dark', LuiColors.$fuscous);
79
90
 
80
91
  //LINZ public site colour variables,//LINZ public site colour variables
81
92
 
82
- @include define-custom-property('linz-color-primary', LuiColors.$linz-color-primary);
83
- @include define-custom-property('linz-color-primary-hover', LuiColors.$linz-color-primary-hover);
84
-
85
- @include define-custom-property('linz-color-tertiary', LuiColors.$linz-color-tertiary);
86
- @include define-custom-property('linz-color-tertiary-hover', LuiColors.$linz-color-tertiary-hover);
93
+ @include define-custom-property(
94
+ 'linz-color-primary',
95
+ LuiColors.$linz-color-primary
96
+ );
97
+ @include define-custom-property(
98
+ 'linz-color-primary-hover',
99
+ LuiColors.$linz-color-primary-hover
100
+ );
101
+
102
+ @include define-custom-property(
103
+ 'linz-color-tertiary',
104
+ LuiColors.$linz-color-tertiary
105
+ );
106
+ @include define-custom-property(
107
+ 'linz-color-tertiary-hover',
108
+ LuiColors.$linz-color-tertiary-hover
109
+ );
87
110
 
88
111
  @include define-custom-property('color-test-pink', LuiColors.$test-pink);
89
112
 
90
- @include define-custom-property('linz-linear-gradient-blue', LuiColors.$linz-linear-gradient-blue);
91
- @include define-custom-property('linz-linear-gradient-teal', LuiColors.$linz-linear-gradient-teal);
92
-
93
- } // end :root
113
+ @include define-custom-property(
114
+ 'linz-linear-gradient-blue',
115
+ LuiColors.$linz-linear-gradient-blue
116
+ );
117
+ @include define-custom-property(
118
+ 'linz-linear-gradient-teal',
119
+ LuiColors.$linz-linear-gradient-teal
120
+ );
121
+ } // end :root
@@ -4,32 +4,33 @@
4
4
 
5
5
  // the :export directive is the magic sauce for webpack
6
6
  :export {
7
-
8
- color-grey-80: LuiColors.$grey-80;
9
- color-grey-60: LuiColors.$grey-60;
10
- color-grey-30: LuiColors.$grey-30;
11
- color-grey-20: LuiColors.$grey-20;
12
- color-grey-10: LuiColors.$grey-10;
13
- color-grey-05: LuiColors.$grey-05;
14
-
15
- color-blue-100: LuiColors.$blue-100;
16
- // color-blue-85,// $blue-85
17
- color-blue-75: LuiColors.$blue-75;
18
- color-blue-50: LuiColors.$blue-50;
19
- color-blue-25: LuiColors.$blue-25;
20
- color-blue-05: LuiColors.$blue-05;
21
-
22
- color-teal-100: LuiColors.$teal-100;
23
- color-teal-75: LuiColors.$teal-75;
24
- color-teal-50: LuiColors.$teal-50;
25
- color-teal-25: LuiColors.$teal-25;
26
- color-teal-05: LuiColors.$teal-05;
27
-
28
- color-green-100: LuiColors.$green-100;
29
- color-green-75: LuiColors.$green-75;
30
- color-green-50: LuiColors.$green-50;
31
- color-green-25: LuiColors.$green-25;
32
- color-green-05: LuiColors.$green-05;
7
+ charcoal: LuiColors.$charcoal;
8
+ fuscous: LuiColors.$fuscous;
9
+ gray: LuiColors.$gray;
10
+ silver: LuiColors.$silver;
11
+ lily: LuiColors.$lily;
12
+ hint: LuiColors.$hint;
13
+ snow: LuiColors.$snow;
14
+ white: LuiColors.$white;
15
+
16
+ teal: LuiColors.$teal;
17
+ //blue-85,// $blue-85
18
+ sea: LuiColors.$sea;
19
+ electric: LuiColors.$electric;
20
+ spray: LuiColors.$spray;
21
+ polar: LuiColors.$polar;
22
+
23
+ sherpa: LuiColors.$sherpa;
24
+ surfie: LuiColors.$surfie;
25
+ persian: LuiColors.$persian;
26
+ downy: LuiColors.$downy;
27
+ iceberg: LuiColors.$iceberg;
28
+
29
+ sacramento: LuiColors.$sacramento;
30
+ salem: LuiColors.$salem;
31
+ pigment: LuiColors.$pigment;
32
+ granny: LuiColors.$granny;
33
+ panache: LuiColors.$panache;
33
34
 
34
35
  brand-primary: LuiColors.$brand-primary;
35
36
  brand-secondary: LuiColors.$brand-secondary;
@@ -37,35 +38,36 @@
37
38
  // System colours,// System colours
38
39
 
39
40
  // reserved colours,// reserved colours
40
- color-success: LuiColors.$success;
41
- color-success-bg: LuiColors.$success-bg;
42
- color-info: LuiColors.$info;
43
- color-info-bg: LuiColors.$info-bg;
44
- color-warning: LuiColors.$warning;
45
- color-warning-bg: LuiColors.$warning-bg;
46
- color-error: LuiColors.$error;
47
- color-error-focus: LuiColors.$error-focus; // Used to highlight what input in an error state has focus
48
- color-error-bg: LuiColors.$error-bg;
49
-
50
- color-visited: LuiColors.$visited;
41
+ error: LuiColors.$error;
42
+ error-bg: LuiColors.$error-bg;
43
+ error-focus: LuiColors.$error-focus; // Used to highlight what input in an error state has focus
44
+ warning: LuiColors.$warning;
45
+ warning-bg: LuiColors.$warning-bg;
46
+ warning-focus: LuiColors.$warning-focus;
47
+ success: LuiColors.$success;
48
+ success-bg: LuiColors.$success-bg;
49
+ info: LuiColors.$info;
50
+ info-bg: LuiColors.$info-bg;
51
+
52
+ visited: LuiColors.$visited;
51
53
 
52
54
  // restricted colours for btn hover states,// restricted colours for btn hover states
53
- color-green-hover: LuiColors.$green-hover;
54
- color-green-active: LuiColors.$green-active;
55
- color-green-btn: LuiColors.$green-btn;
56
- color-txt-link: LuiColors.$txt-link;
57
- color-primary-hover-btn: LuiColors.$primary-hover-btn;
58
- color-selection: LuiColors.$selection;
55
+ green-hover: LuiColors.$green-hover;
56
+ green-active: LuiColors.$green-active;
57
+ green-btn: LuiColors.$green-btn;
58
+ txt-link: LuiColors.$txt-link;
59
+ primary-hover-btn: LuiColors.$primary-hover-btn;
60
+ selection: LuiColors.$selection;
59
61
 
60
62
  //Type
61
- heading-color: LuiColors.$teal-75;
62
- heading-color--secondary: LuiColors.$grey-80;
63
- base-type-color: LuiColors.$grey-80;
63
+ heading-color: LuiColors.$surfie;
64
+ heading-color--secondary: LuiColors.$charcoal;
65
+ base-type-color: LuiColors.$charcoal;
64
66
 
65
67
  // Icons & radio/checkboxes
66
- base-icon-color: LuiColors.$blue-75;
67
- disabled-color: LuiColors.$grey-30;
68
- disabled-color-dark: LuiColors.$grey-60;
68
+ base-icon-color: LuiColors.$sea;
69
+ disabled-color: LuiColors.$gray;
70
+ disabled-color-dark: LuiColors.$fuscous;
69
71
 
70
72
  //LINZ public site colour variables,//LINZ public site colour variables
71
73
 
@@ -79,5 +81,4 @@
79
81
 
80
82
  linz-linear-gradient-blue: LuiColors.$linz-linear-gradient-blue;
81
83
  linz-linear-gradient-teal: LuiColors.$linz-linear-gradient-teal;
82
-
83
- }// end :export
84
+ } // end :export
@@ -3,71 +3,130 @@
3
3
  // Colours
4
4
  // ============
5
5
 
6
- $test-pink: #f09;
7
-
8
- $grey-80: #414042;
9
- $grey-60: #55504b;
10
- $grey-30: #989189;
11
- $grey-20: #beb9b4;
12
- $grey-10: #eaeaea;
13
- $grey-05: #f9f9f9;
14
-
15
- $blue-100: #00425d;
16
- // $blue-85: #005b80;
17
- $blue-75: #007198;
18
- $blue-50: #0096cc;
19
- $blue-25: #73c8e1;
20
- $blue-05: #e2f3f7;
21
-
22
- $teal-100: #004b50;
23
- $teal-75: #017a76;
24
- $teal-50: #00a599;
25
- $teal-25: #73cdc8;
26
- $teal-05: #dcf5f0;
27
-
28
- $green-100: #004e32;
29
- $green-75: #08814d;
30
- $green-50: #0aa245;
31
- $green-25: #9bd79b;
32
- $green-05: #e9fae7;
33
-
34
- $brand-primary: $blue-100;
35
- $brand-secondary: $teal-75;
6
+ // Colours are hard. We've remapped the names in FigLui so that's what's below.
7
+
8
+ // ----------------------------
9
+ // Brand
10
+ // ----------------------------
11
+
12
+ // Blues
13
+ $teal: #00425d;
14
+ $sea: #007198;
15
+ $electric: #0096cc;
16
+ $spray: #73c8e1;
17
+ $polar: #e2f3f7;
18
+ $linz-linear-gradient-blue: linear-gradient(70deg, $teal 12%, $sea 100%);
19
+
20
+ // Tealsno
21
+ $sherpa: #004b50;
22
+ $surfie: #017a76;
23
+ $persian: #00a599;
24
+ $downy: #73cdc8;
25
+ $iceberg: #dcf5f0;
26
+ $linz-linear-gradient-teal: linear-gradient(270deg, $persian 1%, $downy 100%);
27
+
28
+ // Greens
29
+ $sacramento: #004e32;
30
+ $salem: #08814d;
31
+ $pigment: #0aa245;
32
+ $granny: #9bd79b;
33
+ $panache: #e9fae7;
34
+
35
+ // ----------------------------
36
+ // Neutrals
37
+ // ----------------------------
38
+
39
+ $charcoal: #2a292c;
40
+ $fuscous: #6b6966;
41
+ $gray: #989189;
42
+ $silver: #beb9b4;
43
+ $lily: #eaeaea;
44
+ $hint: #f9f9f9;
45
+ $snow: #ffffff;
46
+ $white: $snow;
47
+
48
+ // ----------------------------
49
+ // Reserved
50
+ // ----------------------------
51
+
52
+ // error
53
+ $error: #cc0000;
54
+ $error-bg: #f5cccc;
55
+ $error-focus: #5a0000;
36
56
 
37
- // System colours
57
+ // warning
58
+ $warning: #ea6a2e;
59
+ $warning-bg: #fbdfd2;
60
+ $warning-focus: #b33a01;
38
61
 
39
- // reserved colours
40
- $success: $green-50;
41
- $success-bg: $green-05;
62
+ // info
42
63
  $info: #3a7cdf;
43
64
  $info-bg: #d8e5f9;
44
- $warning: #ea6a2e;
45
- $warning-bg: #fbdfd2;
46
- $error: #cc0000;
47
- $error-focus: #5a0000; // Used to highlight what input in an error state has focus
48
- $error-bg: #f5cccc;
49
65
 
50
- $visited: #4c2c92;
51
- $selection: lighten($blue-25, 20%);
66
+ // success
67
+ $success: $pigment;
68
+ $success-bg: $panache;
52
69
 
53
- // restricted colours for btn hover states
54
- $green-hover: #205f12;
55
- $green-active: #16430c;
56
- $green-btn: #2e881a;
70
+ // text link
57
71
  $txt-link: #1f69c3;
58
- $primary-hover-btn: #004e6a;
72
+
73
+ $test-pink: #f09;
74
+
75
+ // --------------------------------------------------------
76
+ // Deprecated variable sets
77
+ // --------------------------------------------------------
78
+
79
+ $grey-80: $charcoal;
80
+ $grey-60: $fuscous;
81
+ $grey-30: $gray;
82
+ $grey-20: $silver;
83
+ $grey-10: $lily;
84
+ $grey-05: $hint;
85
+
86
+ $blue-100: $teal;
87
+ $blue-75: $sea;
88
+ $blue-50: $electric;
89
+ $blue-25: $spray;
90
+ $blue-05: $polar;
91
+
92
+ $teal-100: $sherpa;
93
+ $teal-75: $surfie;
94
+ $teal-50: $persian;
95
+ $teal-25: $downy;
96
+ $teal-05: $iceberg;
97
+
98
+ $green-100: $sacramento;
99
+ $green-75: $salem;
100
+ $green-50: $pigment;
101
+ $green-25: $granny;
102
+ $green-05: $panache;
103
+
104
+ $brand-primary: $sherpa;
105
+ $brand-secondary: $surfie;
106
+
107
+ // System colours
108
+
109
+ $visited: $teal;
110
+ $selection: lighten($spray, 20%);
111
+
112
+ // restricted colours for btn hover states
113
+ $green-hover: $salem;
114
+ $green-active: $sacramento;
115
+ $green-btn: $pigment;
116
+ $txt-link: $electric;
117
+ $primary-hover-btn: $sea;
59
118
 
60
119
  //Type
61
- $heading-color: $teal-75;
62
- $heading-color--secondary: $grey-80;
63
- $base-type-color: $grey-80;
120
+ $heading-color: $surfie;
121
+ $heading-color--secondary: $charcoal;
122
+ $base-type-color: $charcoal;
64
123
 
65
124
  // Icons, inputs & radio/checkboxes
66
- $input-text: $base-type-color;
67
- $input-placeholder: #989189;
68
- $base-icon-color: $blue-75;
69
- $disabled-color: $grey-30;
70
- $disabled-color-dark: $grey-30;
125
+ $input-text: $charcoal;
126
+ $input-placeholder: $gray;
127
+ $base-icon-color: $sea;
128
+ $disabled-color: $gray;
129
+ $disabled-color-dark: $gray;
71
130
 
72
131
  //LINZ public site colour variables
73
132
 
@@ -76,68 +135,3 @@ $linz-color-primary-hover: #01818a;
76
135
 
77
136
  $linz-color-tertiary: #e1e44a;
78
137
  $linz-color-tertiary-hover: #cdcf59;
79
-
80
- $linz-linear-gradient-blue: linear-gradient( 70deg, $brand-primary 12%, $blue-75 100% );
81
- $linz-linear-gradient-teal: linear-gradient( 270deg, $teal-50 1%, $teal-25 100% );
82
-
83
-
84
-
85
- // TODO: Are the below old branding colors? Move to separate file?
86
-
87
- // Brand ============
88
-
89
- $blue: #003b59;
90
- $pastel: #b2c4cd;
91
- $mystic: #e5ebee;
92
- $elephant: #0c3345;
93
-
94
- $mineral: #00a9a5;
95
- $ice: #6fd1cf;
96
- $wind: #b1e9e6;
97
-
98
- $green: #cbe612;
99
- $yellow: #ffd52d;
100
- $orange: #ed8b00;
101
- $red: #cf0025;
102
- $pink: #cf0059;
103
- $purple: #8552af;
104
-
105
- // Tones ============
106
-
107
- $black: #002030;
108
- $grey: #7f8f97;
109
- $white: #fff;
110
-
111
- // Text ============
112
- $text: $grey-80;
113
- $link: $blue;
114
- $active: $pink;
115
- $highlight: $active;
116
-
117
- // Messages ============
118
- $success: $green-50;
119
- $success-bg: $green-05;
120
- $info: #3a7cdf;
121
- $info-bg: #d8e5f9;
122
- $warning: #ea6a2e;
123
- $warning-focus: #b33a01;
124
- $warning-bg: #fbdfd2;
125
- $error: #cc0000;
126
- $error-focus: #5a0000; // Used to highlight what input in an error state has focus
127
- $error-bg: #f5cccc;
128
-
129
- $error: $error;
130
- $info: $info;
131
- $success: $success;
132
- $warning: $warning;
133
-
134
- // Name-spacing ============
135
- $primary: $white;
136
- $primary-light: hsl(color.hue($primary), color.saturation($primary), 75%);
137
- $primary-dark: hsl(color.hue($primary), color.saturation($primary), 25%);
138
- $secondary: $blue;
139
- $secondary-light: hsl(color.hue($secondary), color.saturation($secondary), 75%);
140
- $secondary-dark: hsl(color.hue($secondary), color.saturation($secondary), 25%);
141
- $tertiary: $elephant;
142
-
143
- $borderColour: $base-type-color;
@@ -54,16 +54,16 @@ a {
54
54
 
55
55
  // Is Link being used?
56
56
  .Link {
57
- color: colors.$active;
57
+ color: colors.$txt-link;
58
58
  @include hover.hover('is-active') {
59
- color: colors.$active;
59
+ color: colors.$txt-link;
60
60
  }
61
61
  }
62
62
 
63
63
  .Link--reversed {
64
64
  color: colors.$white;
65
65
  @include hover.hover('is-active') {
66
- color: colors.$black;
66
+ color: colors.$charcoal;
67
67
  }
68
68
  }
69
69
 
@@ -17,7 +17,7 @@
17
17
  // ============
18
18
  // Config
19
19
  // ============
20
- $todo-color: colors.$primary;
20
+ $todo-color: colors.$test-pink;
21
21
  $todo-text-color: colors.$white;
22
22
  $todo-throb-speed: 1.2s;
23
23
 
@@ -17,7 +17,7 @@ html {
17
17
  @include fonts.font-light();
18
18
  font-size: fonts.$base-font-size;
19
19
  line-height: fonts.$base-line-height;
20
- color: colors.$text;
20
+ color: colors.$base-type-color;
21
21
  // Better Font Rendering
22
22
  font-feature-settings: 'kern' 1;
23
23
  font-kerning: normal;
@@ -57,7 +57,7 @@ sup {
57
57
  hr {
58
58
  border: none;
59
59
  margin: 0;
60
- background-color: colors.$borderColour;
60
+ background-color: colors.$charcoal;
61
61
  height: 1px;
62
62
  }
63
63
 
@@ -61,7 +61,7 @@ body {
61
61
  // ! ************************************************
62
62
 
63
63
  .lui-section-dark {
64
- background-color: colors.$grey-05;
65
- border-top: 1px solid colors.$grey-10;
66
- border-bottom: 1px solid colors.$grey-10;
64
+ background-color: colors.$hint;
65
+ border-top: 1px solid colors.$lily;
66
+ border-bottom: 1px solid colors.$lily;
67
67
  }
@@ -24,9 +24,9 @@
24
24
  .lui-header-primary {
25
25
  .lui-header-top-section {
26
26
  background: none;
27
- border-bottom: 1px solid colors.$grey-80;
27
+ border-bottom: 1px solid colors.$charcoal;
28
28
  h1 {
29
- color: colors.$grey-80 !important;
29
+ color: colors.$charcoal !important;
30
30
  @include fonts.font-semibold;
31
31
  }
32
32
  }