barbican-reset 3.4.0 → 3.6.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 (99) hide show
  1. package/animations/confirm.js +9 -12
  2. package/components/AccountTitle.vue +4 -1
  3. package/components/BrAlert.vue +2 -0
  4. package/components/BrContainer.vue +1 -1
  5. package/components/EventSummary.vue +9 -3
  6. package/css/index.css +116 -124
  7. package/package.json +7 -2
  8. package/patterns/scss/styles.scss +4 -4
  9. package/scss/_app.scss +2 -22
  10. package/scss/_atomic.scss +12 -5
  11. package/scss/_br-alert.scss +5 -0
  12. package/scss/_br-button.scss +3 -0
  13. package/scss/_br-checkbox.scss +6 -0
  14. package/scss/_br-container.scss +3 -0
  15. package/scss/_br-footer.scss +1 -0
  16. package/scss/_br-form-password.scss +3 -1
  17. package/scss/_br-form-row.scss +3 -0
  18. package/scss/_br-form-update.scss +3 -1
  19. package/scss/_br-loader.scss +5 -0
  20. package/scss/_br-promo.scss +3 -1
  21. package/scss/_br-radio.scss +3 -0
  22. package/scss/_br-select.scss +2 -0
  23. package/scss/_br-skiplink.scss +2 -0
  24. package/scss/_br-wrap.scss +2 -0
  25. package/scss/_card-deck.scss +4 -0
  26. package/scss/_city-of-london.scss +1 -0
  27. package/scss/_close-icon.scss +4 -0
  28. package/scss/_font.scss +8 -9
  29. package/scss/_footer.scss +3 -1
  30. package/scss/_header.scss +4 -2
  31. package/scss/_helpers.scss +3 -4
  32. package/scss/_input.scss +5 -0
  33. package/scss/_main.scss +2 -0
  34. package/scss/_table.scss +28 -13
  35. package/scss/card/_account.scss +2 -0
  36. package/scss/card/_block.scss +1 -0
  37. package/scss/card/_confirm.scss +2 -0
  38. package/scss/card/_login.scss +2 -0
  39. package/scss/card/_membership.scss +2 -0
  40. package/scss/card/_password.scss +2 -0
  41. package/scss/card/_related.scss +3 -2
  42. package/scss/card/_video-help.scss +2 -1
  43. package/scss/card/index.scss +11 -9
  44. package/scss/helpers/functions/index.scss +4 -2
  45. package/scss/helpers/mixins/_basket.scss +2 -0
  46. package/scss/helpers/mixins/_br-alert.scss +7 -0
  47. package/scss/helpers/mixins/_br-card.scss +5 -0
  48. package/scss/helpers/mixins/_br-footer.scss +3 -0
  49. package/scss/helpers/mixins/_br-form-row.scss +3 -0
  50. package/scss/helpers/mixins/_br-form-update.scss +3 -0
  51. package/scss/helpers/mixins/_br-skiplink.scss +3 -0
  52. package/scss/helpers/mixins/_buttons.scss +5 -356
  53. package/scss/helpers/mixins/_city-of-london.scss +3 -1
  54. package/scss/helpers/mixins/_content.scss +3 -0
  55. package/scss/helpers/mixins/_core.scss +19 -1
  56. package/scss/helpers/mixins/_festival.scss +4 -0
  57. package/scss/helpers/mixins/_focus.scss +5 -2
  58. package/scss/helpers/mixins/_headings.scss +3 -0
  59. package/scss/helpers/mixins/_input.scss +6 -6
  60. package/scss/helpers/mixins/_loading.scss +37 -20
  61. package/scss/helpers/mixins/_table.scss +13 -48
  62. package/scss/helpers/mixins/account/_orders.scss +2 -0
  63. package/scss/helpers/mixins/buttons/_custom.scss +360 -0
  64. package/scss/helpers/mixins/buttons/_outline.scss +3 -0
  65. package/scss/helpers/mixins/buttons/_setup.scss +4 -0
  66. package/scss/helpers/mixins/buttons/_solid.scss +3 -0
  67. package/scss/helpers/mixins/buttons/_spektrix.scss +6 -0
  68. package/scss/helpers/mixins/drupal/_br-search-form.scss +6 -0
  69. package/scss/helpers/mixins/drupal/_br-site-logo.scss +3 -1
  70. package/scss/helpers/mixins/drupal/index.scss +6 -7
  71. package/scss/helpers/mixins/index.scss +21 -39
  72. package/scss/helpers/mixins/input/_checkbox.scss +2 -0
  73. package/scss/helpers/mixins/input/_generic.scss +5 -0
  74. package/scss/helpers/mixins/input/_radio.scss +2 -0
  75. package/scss/helpers/mixins/input/_select.scss +4 -0
  76. package/scss/helpers/mixins/input/_status.scss +13 -10
  77. package/scss/helpers/mixins/input/_text.scss +6 -0
  78. package/scss/helpers/mixins/table/_basket.scss +7 -2
  79. package/scss/helpers/mixins/table/_details.scss +8 -2
  80. package/scss/helpers/mixins/table/_etickets.scss +10 -2
  81. package/scss/helpers/mixins/table/_generic.scss +40 -0
  82. package/scss/helpers/mixins/table/_gifts.scss +10 -3
  83. package/scss/helpers/mixins/table/_membership.scss +5 -2
  84. package/scss/helpers/mixins/table/_orders.scss +7 -1
  85. package/scss/helpers/mixins/table/_preferences.scss +11 -2
  86. package/scss/helpers/mixins/table/_resale.scss +5 -1
  87. package/scss/helpers/mixins/table/_section.scss +2 -1
  88. package/scss/helpers/mixins/table/_simple.scss +5 -2
  89. package/scss/helpers/mixins/table/_tickets.scss +10 -3
  90. package/scss/helpers/mixins/table/row/_disabled.scss +3 -2
  91. package/scss/helpers/variables/_alerts.scss +2 -0
  92. package/scss/helpers/variables/_columns.scss +9 -9
  93. package/scss/helpers/variables/_layout.scss +1 -1
  94. package/scss/helpers/variables/_typography.scss +2 -0
  95. package/scss/helpers/variables/colors/_brand.scss +8 -4
  96. package/scss/helpers/variables/colors/index.scss +11 -6
  97. package/scss/helpers/variables/index.scss +5 -10
  98. package/scss/index.scss +31 -31
  99. package/scss/_btn.scss +0 -163
package/package.json CHANGED
@@ -70,7 +70,8 @@
70
70
  "pug": "^3.0.2",
71
71
  "sass": "^1.41.0",
72
72
  "sassdoc": "^2.7.4",
73
- "serve-favicon": "^2.5.0"
73
+ "serve-favicon": "^2.5.0",
74
+ "vue": "^3.5.18"
74
75
  },
75
76
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
76
77
  "files": [
@@ -101,6 +102,9 @@
101
102
  ],
102
103
  "#styles/*": [
103
104
  "./scss/*"
105
+ ],
106
+ "#helpers/*": [
107
+ "./scss/helpers/*"
104
108
  ]
105
109
  },
106
110
  "exports": {
@@ -124,10 +128,11 @@
124
128
  "url": "git+https://bitbucket.org/barbicandev/barbican-reset.git"
125
129
  },
126
130
  "scripts": {
131
+ "build:css": "gulp build:css",
127
132
  "serve:patterns": "cd patterns && node index",
128
133
  "watch:patterns": "cd patterns && gulp watch",
129
134
  "style:patterns": "cd patterns && gulp build:css",
130
135
  "build:patterns": "cd patterns && rm -rf html && pug views --out html"
131
136
  },
132
- "version": "3.4.0"
137
+ "version": "3.6.0"
133
138
  }
@@ -1,8 +1,8 @@
1
- @import "../../scss/helpers";
1
+ @use "../../scss/helpers";
2
2
 
3
- @import "../../scss/br-alert";
4
- @import "../../scss/br-button";
5
- @import "../../scss/br-container";
3
+ @use "../../scss/br-alert";
4
+ @use "../../scss/br-button";
5
+ @use "../../scss/br-container";
6
6
 
7
7
  $shades: "65", "20", "10";
8
8
  $tints: "40", "70", "88", "95";
package/scss/_app.scss CHANGED
@@ -1,28 +1,8 @@
1
+ @use "helpers/mixins/breakpoints" as *;
2
+
1
3
  #app {
2
4
  flex-direction: column;
3
5
  min-height: 100vh;
4
6
  min-width: 100%;
5
7
  display: flex;
6
- }
7
-
8
- #app {
9
-
10
- &.videoSplash,
11
- &.cinemaSplash,
12
- &.concertSplash,
13
- &.theatreSplash {
14
- // @TODO:
15
- // This image/path is specific to the ticketing app, which means it may break
16
- // when used in another project or if that path changes. These styles should be moved
17
- // to the ticketing app as they're not relevant to other projects.
18
- background-image: url("../public/img/videos/splash-bg.jpg");
19
- // background-color: $c-splash-videos;
20
- background-position: center -4rem;
21
- background-repeat: no-repeat;
22
- background-size: 72rem;
23
-
24
- @include xx-large-up {
25
- background-position: center top;
26
- }
27
- }
28
8
  }
package/scss/_atomic.scss CHANGED
@@ -1,8 +1,15 @@
1
- @import "atomic/font-weights";
2
- @import "atomic/margins";
3
- @import "atomic/min-heights";
4
- @import "atomic/paddings";
5
- @import "atomic/text-aligns";
1
+ @use "helpers/variables/layout" as *;
2
+ @use "helpers/variables/colors" as *;
3
+ @use "helpers/variables/typography" as *;
4
+ @use "helpers/variables" as *;
5
+ @use "helpers/mixins/core" as *;
6
+ @use "helpers/functions" as *;
7
+
8
+ @use "atomic/font-weights";
9
+ @use "atomic/margins";
10
+ @use "atomic/min-heights";
11
+ @use "atomic/paddings";
12
+ @use "atomic/text-aligns";
6
13
 
7
14
  .border-radius-lg {
8
15
  border-radius: $br-border-radius-lg;
@@ -1,3 +1,8 @@
1
+ @use "helpers/mixins/br-alert" as *;
2
+ @use "helpers/variables/alerts" as *;
3
+ @use "helpers/mixins/core" as *;
4
+ @use "helpers/mixins/buttons/custom" as *;
5
+
1
6
  /// @group Components
2
7
  /// BrAlert component class
3
8
  /// @example .br-alert.center .wrap.inline.error
@@ -1,3 +1,6 @@
1
+ @use "helpers/mixins/focus" as *;
2
+ @use "helpers/mixins/buttons" as *;
3
+
1
4
  /// Button component setup class.
2
5
  /// Used in combination with a button style class
3
6
  /// @group Buttons
@@ -1,3 +1,9 @@
1
+ @use "helpers/mixins/breakpoints" as *;
2
+ @use "helpers/mixins/core" as *;
3
+ @use "helpers/mixins/input" as *;
4
+ @use "helpers/mixins/focus" as *;
5
+ @use "helpers/variables/colors" as *;
6
+
1
7
  // deprecate custom-checkbox class. br-checkbox is more descriptive
2
8
 
3
9
  .br-checkbox,
@@ -1,3 +1,6 @@
1
+ @use "helpers/mixins/breakpoints" as *;
2
+ @use "helpers/variables/layout" as *;
3
+
1
4
  .br-container--outer {
2
5
  padding-right: 5%;
3
6
  padding-left: 5%;
@@ -1,3 +1,4 @@
1
+ @use "helpers/mixins/br-footer" as *;
1
2
 
2
3
  .br-footer-upper {
3
4
  @include br-footer-upper;
@@ -1,3 +1,5 @@
1
+ @use "helpers/mixins/br-form-password" as *;
2
+
1
3
  .br-form-password {
2
4
  @include br-form-password;
3
- }
5
+ }
@@ -1,3 +1,6 @@
1
+ @use "helpers/mixins/br-form-row" as *;
2
+ @use "helpers/mixins/breakpoints" as *;
3
+
1
4
  .br-form-row {
2
5
  @include br-form-row;
3
6
 
@@ -1,7 +1,9 @@
1
+ @use "helpers/mixins/br-form-update" as *;
2
+
1
3
  .br-form-update {
2
4
  @include br-form-update;
3
5
  }
4
6
 
5
7
  .br-form-update--input {
6
8
  @include br-form-update--input;
7
- }
9
+ }
@@ -1,3 +1,8 @@
1
+ @use "helpers/functions" as *;
2
+ @use "helpers/mixins/core" as *;
3
+ @use "helpers/mixins/loading" as *;
4
+ @use "helpers/variables/colors" as *;
5
+
1
6
  $offset: toRem(14);
2
7
  $animation-setup: 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
3
8
 
@@ -1,3 +1,5 @@
1
+ @use "helpers/mixins/basket" as *;
2
+
1
3
  .br-promo-form {
2
4
  @include basket-row-grid;
3
5
  margin-top: 0.5rem;
@@ -12,4 +14,4 @@
12
14
  align-items: center;
13
15
  display: flex;
14
16
  gap: 1rem;
15
- }
17
+ }
@@ -1,3 +1,6 @@
1
+ @use "helpers/mixins/input" as *;
2
+ @use "helpers/variables/colors" as *;
3
+
1
4
  [role="radiogroup"] {
2
5
  margin: -0.25rem;
3
6
  }
@@ -1,3 +1,5 @@
1
+ @use "helpers/mixins/input" as *;
2
+
1
3
  .custom-select {
2
4
  @include br-select;
3
5
  }
@@ -1,3 +1,5 @@
1
+ @use "helpers/mixins/br-skiplink" as *;
2
+
1
3
  .br-skiplink {
2
4
  @include br-skiplink;
3
5
  }
@@ -1,3 +1,5 @@
1
+ @use "helpers/variables/layout" as *;
2
+
1
3
  .br-wrap {
2
4
  max-width: $layout-width-lg;
3
5
  margin-right: auto;
@@ -1,3 +1,7 @@
1
+ @use "helpers/variables/layout" as *;
2
+ @use "helpers/variables/typography" as *;
3
+ @use "helpers/mixins/breakpoints" as *;
4
+
1
5
  .card-deck {
2
6
  justify-content: center;
3
7
  display: grid;
@@ -1,3 +1,4 @@
1
+ @use "helpers/mixins/city-of-london" as *;
1
2
 
2
3
  .city-of-london-lockup {
3
4
  @include city-of-london-lockup;
@@ -1,3 +1,7 @@
1
+ @use "helpers/variables/colors/grey" as *;
2
+ @use "helpers/mixins/focus" as *;
3
+ @use "helpers/mixins/core" as *;
4
+
1
5
  .close-icon-svg {
2
6
  cursor: pointer;
3
7
  width: 1.875rem;
package/scss/_font.scss CHANGED
@@ -1,13 +1,13 @@
1
1
  $name: "Supreme";
2
2
  $variant: "LLWeb";
3
- $path: "https://static.barbican.org.uk/systems-public/fonts";
3
+ $path: "https://static.barbican.org.uk/systems-public/fonts/subset";
4
4
 
5
5
  @font-face {
6
6
  font-family: $name;
7
7
  src: url("#{$path}/#{$name}#{$variant}-Black.woff") format("woff"),
8
8
  url("#{$path}/#{$name}#{$variant}-Black.woff2") format("woff2");
9
9
  font-style: normal;
10
- font-weight: bold;
10
+ font-weight: 800;
11
11
  }
12
12
 
13
13
  @font-face {
@@ -15,15 +15,14 @@ $path: "https://static.barbican.org.uk/systems-public/fonts";
15
15
  src: url("#{$path}/#{$name}#{$variant}-BlackItalic.woff") format("woff"),
16
16
  url("#{$path}/#{$name}#{$variant}-BlackItalic.woff2") format("woff2");
17
17
  font-style: italic;
18
- font-weight: bold;
18
+ font-weight: 800;
19
19
  }
20
20
 
21
21
  @font-face {
22
22
  font-family: $name;
23
- src: url("#{$path}/#{$name}#{$variant}-Regular.woff") format("woff"),
24
- url("#{$path}/#{$name}#{$variant}-Regular.woff2") format("woff2");
23
+ src: url("#{$path}/#{$name}#{$variant}-Regular.woff2") format("woff2");
25
24
  font-style: normal;
26
- font-weight: bolder;
25
+ font-weight: 600;
27
26
  }
28
27
 
29
28
  @font-face {
@@ -31,7 +30,7 @@ $path: "https://static.barbican.org.uk/systems-public/fonts";
31
30
  src: url("#{$path}/#{$name}#{$variant}-Italic.woff") format("woff"),
32
31
  url("#{$path}/#{$name}#{$variant}-Italic.woff2") format("woff2");
33
32
  font-style: italic;
34
- font-weight: bolder;
33
+ font-weight: 600;
35
34
  }
36
35
 
37
36
  @font-face {
@@ -39,7 +38,7 @@ $path: "https://static.barbican.org.uk/systems-public/fonts";
39
38
  src: url("#{$path}/#{$name}#{$variant}-Light.woff") format("woff"),
40
39
  url("#{$path}/#{$name}#{$variant}-Light.woff2") format("woff2");
41
40
  font-style: normal;
42
- font-weight: normal;
41
+ font-weight: 400;
43
42
  }
44
43
 
45
44
  @font-face {
@@ -47,5 +46,5 @@ $path: "https://static.barbican.org.uk/systems-public/fonts";
47
46
  src: url("#{$path}/#{$name}#{$variant}-LightItalic.woff") format("woff"),
48
47
  url("#{$path}/#{$name}#{$variant}-LightItalic.woff2") format("woff2");
49
48
  font-style: italic;
50
- font-weight: normal;
49
+ font-weight: 400;
51
50
  }
package/scss/_footer.scss CHANGED
@@ -1,4 +1,6 @@
1
- footer {
1
+ @use "helpers/variables/colors" as *;
2
+
3
+ .footer--eticketing {
2
4
  color: white;
3
5
 
4
6
  &:not(.splash) {
package/scss/_header.scss CHANGED
@@ -1,4 +1,6 @@
1
- .header {
1
+ @use "helpers/variables/colors" as *;
2
+
3
+ .header--eticketing {
2
4
  background-color: $c-brand-generic;
3
5
  color: white;
4
6
 
@@ -8,4 +10,4 @@
8
10
  &.theatreSplash {
9
11
  display: none;
10
12
  }
11
- }
13
+ }
@@ -1,4 +1,3 @@
1
- // paths more explicit for gulp-sass
2
- @import "helpers/functions/index.scss";
3
- @import "helpers/variables/index.scss";
4
- @import "helpers/mixins/index.scss";
1
+ @forward "helpers/functions";
2
+ @forward "helpers/variables";
3
+ @forward "helpers/mixins";
package/scss/_input.scss CHANGED
@@ -1,3 +1,8 @@
1
+ @use "helpers/mixins/input" as *;
2
+ @use "helpers/mixins/focus" as *;
3
+ @use "helpers/variables/layout" as *;
4
+ @use "helpers/variables/colors" as *;
5
+
1
6
  .form-control {
2
7
  @include focus {
3
8
  @include input-focus-defaults;
package/scss/_main.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use "helpers/mixins/breakpoints" as *;
2
+
1
3
  main {
2
4
 
3
5
  &.videoSplash,
package/scss/_table.scss CHANGED
@@ -1,3 +1,18 @@
1
+ @use "helpers/mixins/table/basket";
2
+ @use "helpers/mixins/table/details";
3
+ @use "helpers/mixins/table/gifts";
4
+ @use "helpers/mixins/table/etickets";
5
+ @use "helpers/mixins/table/membership";
6
+ @use "helpers/mixins/table/simple";
7
+ @use "helpers/mixins/table/preferences";
8
+ @use "helpers/mixins/table/resale";
9
+ @use "helpers/mixins/table/section";
10
+ @use "helpers/mixins/table/tickets";
11
+ @use "helpers/mixins/table/orders";
12
+ @use "helpers/mixins/table/generic";
13
+ @use "helpers/mixins/table/row/disabled";
14
+ @use "helpers/variables/columns";
15
+
1
16
  table {
2
17
  border-collapse: collapse;
3
18
  border-spacing: 0;
@@ -5,54 +20,54 @@ table {
5
20
  width: 100%;
6
21
 
7
22
  &.basket {
8
- @include basket-table;
23
+ @include basket.table;
9
24
  }
10
25
 
11
26
  &.details {
12
- @include details-table;
27
+ @include details.table;
13
28
  }
14
29
 
15
30
  &.gifts {
16
- @include gifts-table;
31
+ @include gifts.table;
17
32
  }
18
33
 
19
34
  &.etickets {
20
- @include etickets-table;
35
+ @include etickets.table;
21
36
  }
22
37
 
23
38
  &.details.membership {
24
- @include membership-table;
39
+ @include membership.table;
25
40
  }
26
41
 
27
42
  &.details.simple {
28
- @include simple-table;
43
+ @include simple.table;
29
44
  }
30
45
 
31
46
  &.preferences {
32
- @include preferences-table;
47
+ @include preferences.table;
33
48
  }
34
49
 
35
50
  &.resale {
36
- @include resale-table;
51
+ @include resale.table;
37
52
  }
38
53
 
39
54
  &.section {
40
- @include section-table;
55
+ @include section.table;
41
56
  }
42
57
 
43
58
  &.tickets {
44
- @include tickets-table;
59
+ @include tickets.table;
45
60
  }
46
61
  }
47
62
 
48
63
  table.orders {
49
- @include orders-table($columns-orders);
50
- @include default-table-style;
64
+ @include orders.table(columns.$orders);
65
+ @include generic.table-style;
51
66
  }
52
67
 
53
68
  tr {
54
69
  &[disabled=disabled] {
55
- @include disabled-row;
70
+ @include disabled.row;
56
71
  }
57
72
  }
58
73
 
@@ -1,3 +1,5 @@
1
+ @use "../helpers" as *;
2
+
1
3
  .card[account] {
2
4
  margin-top: $gap-account;
3
5
  position: relative;
@@ -1,3 +1,4 @@
1
+ @use "../helpers" as *;
1
2
 
2
3
  .card[block] {
3
4
  box-shadow: $box-shadow-card;
@@ -1,3 +1,5 @@
1
+ @use "../helpers" as *;
2
+
1
3
  .card[confirm] {
2
4
  @include br-form-card;
3
5
  margin-right: auto;
@@ -1,3 +1,5 @@
1
+ @use "../helpers" as *;
2
+
1
3
  .card[login] {
2
4
 
3
5
  .card-header {
@@ -1,3 +1,5 @@
1
+ @use "../helpers" as *;
2
+
1
3
  $angle: 120deg;
2
4
  $c-yb-membership-card-1: #8205FF;
3
5
  $c-yb-membership-card-2: #C030AC;
@@ -1,3 +1,5 @@
1
+ @use "../helpers" as *;
2
+
1
3
  .card[password] {
2
4
  @include br-form-card;
3
5
 
@@ -1,9 +1,10 @@
1
+ @use "../helpers" as *;
1
2
 
2
3
  .card[related] {
3
4
  border: 1px solid $c-grey-l87;
4
5
  overflow: hidden;
5
6
 
6
- + .card {
7
+ +.card {
7
8
  margin-top: 0;
8
9
  }
9
10
 
@@ -25,7 +26,7 @@
25
26
  margin-bottom: 0.5rem;
26
27
  }
27
28
 
28
- * + .card-text[date] {
29
+ *+.card-text[date] {
29
30
  margin-top: 0.75rem;
30
31
  }
31
32
  }
@@ -1,3 +1,4 @@
1
+ @use "../helpers" as *;
1
2
 
2
3
  $border: 1px solid $c-grey-l87;
3
4
 
@@ -16,7 +17,7 @@ $border: 1px solid $c-grey-l87;
16
17
  border-bottom: 0;
17
18
  }
18
19
 
19
- + .card {
20
+ +.card {
20
21
  margin-top: 0;
21
22
  }
22
23
 
@@ -1,12 +1,14 @@
1
- @import "confirm";
2
- @import "login";
3
- @import "password";
4
- @import "account";
5
- @import "video-help";
6
- @import "related";
7
- @import "block";
8
- @import "membership";
9
- @import "slim";
1
+ @use "../helpers" as *;
2
+
3
+ @use "account";
4
+ @use "block";
5
+ @use "confirm";
6
+ @use "login";
7
+ @use "membership";
8
+ @use "password";
9
+ @use "related";
10
+ @use "slim";
11
+ @use "video-help";
10
12
 
11
13
  .card {
12
14
  @include br-card;
@@ -1,9 +1,11 @@
1
+ @use "sass:color";
2
+
1
3
  @function tint($color, $percentage) {
2
- @return mix(white, $color, $percentage);
4
+ @return color.mix(white, $color, $percentage);
3
5
  }
4
6
 
5
7
  @function shade($color, $percentage) {
6
- @return mix(black, $color, $percentage);
8
+ @return color.mix(black, $color, $percentage);
7
9
  }
8
10
 
9
11
  @function input-bg($value) {
@@ -1,3 +1,5 @@
1
+ @use "../mixins/breakpoints" as *;
2
+
1
3
  @mixin summary-sm {
2
4
  @include medium-down {
3
5
  @content;
@@ -1,3 +1,10 @@
1
+ @use "../mixins/focus" as *;
2
+ @use "../mixins/breakpoints" as *;
3
+ @use "../variables/layout" as *;
4
+ @use "../variables/typography" as *;
5
+ @use "../variables/alerts" as *;
6
+ @use "../functions" as *;
7
+
1
8
  @mixin br-alert-wrap--setup {
2
9
  border-radius: $br-border-radius-lg;
3
10
  border-width: $border-width;
@@ -1,3 +1,8 @@
1
+ @use "../variables/colors" as *;
2
+ @use "../variables/layout" as *;
3
+ @use "../variables/typography" as *;
4
+ @use "../mixins/breakpoints" as *;
5
+
1
6
  @mixin br-card {
2
7
  border: 1px solid $c-grey-l87;
3
8
  border-radius: $br-border-radius-lg;
@@ -1,3 +1,6 @@
1
+ @use "../mixins/focus" as *;
2
+ @use "../mixins/breakpoints" as *;
3
+
1
4
  @mixin br-footer-upper {
2
5
  padding-top: 4rem;
3
6
  display: grid;
@@ -1,3 +1,6 @@
1
+ @use "../mixins/breakpoints" as *;
2
+ @use "../variables/layout" as *;
3
+
1
4
  @mixin br-form-row {
2
5
  &:not(:last-of-type) {
3
6
  margin-bottom: 1rem;
@@ -1,3 +1,6 @@
1
+ @use "../mixins/breakpoints" as *;
2
+ @use "../mixins/input/text" as *;
3
+
1
4
  @mixin br-form-update {
2
5
  display: grid;
3
6
  gap: 1rem;
@@ -1,3 +1,6 @@
1
+ @use "../mixins/focus" as *;
2
+ @use "../variables/colors" as *;
3
+
1
4
  @mixin br-skiplink {
2
5
  border: 1px solid $c-grey-l21;
3
6
  background-color: white;