richie-education 3.3.2-dev29 → 3.3.2-dev30

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/.prettierignore CHANGED
@@ -3,3 +3,7 @@ i18n/**/*
3
3
  public-path.js
4
4
  # LexPersona iframe script
5
5
  iframe-manager.js
6
+ # Generated by cunningham
7
+ scss/vendors/cunningham-tokens.scss
8
+ scss/vendors/css/cunningham-tokens.css
9
+ js/utils/cunningham-tokens.ts
package/cunningham.cjs CHANGED
@@ -78,6 +78,18 @@ module.exports = {
78
78
  lightness: 55,
79
79
  },
80
80
  },
81
+ contextuals: {
82
+ background: {
83
+ semantic: {
84
+ brand: { primary: '#f72c30', 'primary-hover': '#d60f29' },
85
+ },
86
+ },
87
+ content: {
88
+ semantic: {
89
+ brand: { 'on-brand': '#FFFFFF', tertiary: '#555F6B' },
90
+ },
91
+ },
92
+ },
81
93
  },
82
94
  },
83
95
  };
@@ -15,8 +15,8 @@
15
15
  text-align: left;
16
16
  font-size: rem-calc(12px);
17
17
  color: r-theme-val(credit-card-selector, title-color);
18
- font-weight: var(--c--theme--font--weights--bold);
19
- font-family: var(--c--theme--font--families--accent);
18
+ font-weight: var(--c--globals--font--weights--bold);
19
+ font-family: var(--c--globals--font--families--accent);
20
20
  }
21
21
 
22
22
  &__meta {
@@ -18,8 +18,8 @@
18
18
  height: 24px;
19
19
  padding: 0 12px;
20
20
  border-radius: 24px;
21
- font-family: var(--c--theme--font--families--accent);
22
- font-weight: var(--c--theme--font--weight--semibold);
21
+ font-family: var(--c--globals--font--families--accent);
22
+ font-weight: var(--c--globals--font--weights--medium);
23
23
  font-size: rem-calc(12px);
24
24
 
25
25
  &--canceled,
@@ -37,7 +37,7 @@
37
37
  &__column {
38
38
  display: flex;
39
39
  flex-direction: column;
40
- gap: var(--c--theme--spacings--b);
40
+ gap: var(--c--globals--spacings--b);
41
41
  }
42
42
  }
43
43
 
@@ -135,7 +135,7 @@
135
135
  margin-top: 1rem;
136
136
  display: flex;
137
137
  justify-content: space-between;
138
- font-size: var(--c--theme--font--sizes--l);
138
+ font-size: var(--c--globals--font--sizes--md);
139
139
  }
140
140
  }
141
141
 
@@ -159,8 +159,8 @@
159
159
  gap: 0.5rem;
160
160
 
161
161
  .title {
162
- font-weight: var(--c--theme--font--weights--bold);
163
- font-size: var(--c--theme--font--sizes--l);
162
+ font-weight: var(--c--globals--font--weights--bold);
163
+ font-size: var(--c--globals--font--sizes--md);
164
164
  margin: 0 0 0.5rem;
165
165
  }
166
166
 
@@ -209,17 +209,17 @@
209
209
  }
210
210
 
211
211
  .block-title {
212
- font-size: var(--c--theme--font--sizes--l);
212
+ font-size: var(--c--globals--font--sizes--md);
213
213
  color: r-theme-val(sale-tunnel, title-color);
214
- font-weight: var(--c--theme--font--weights--extrabold);
214
+ font-weight: var(--c--globals--font--weights--extrabold);
215
215
  text-align: left;
216
- font-family: var(--c--theme--font--families--accent);
216
+ font-family: var(--c--globals--font--families--accent);
217
217
  }
218
218
 
219
219
  .sub-block-title {
220
220
  font-size: 12px;
221
221
  color: r-theme-val(sale-tunnel, title-color);
222
- font-weight: var(--c--theme--font--weights--bold);
222
+ font-weight: var(--c--globals--font--weights--bold);
223
223
  text-align: left;
224
224
  }
225
225
 
@@ -408,8 +408,8 @@ export const tokens = {
408
408
  surface: { primary: '#FFFFFF', secondary: '#FFFFFF', tertiary: '#F7F8F8' },
409
409
  semantic: {
410
410
  brand: {
411
- primary: '#1167D4',
412
- 'primary-hover': '#1A509F',
411
+ primary: '#f72c30',
412
+ 'primary-hover': '#d60f29',
413
413
  secondary: '#D5E4F7',
414
414
  'secondary-hover': '#C0D6F4',
415
415
  tertiary: '#EAF1FB',
@@ -480,8 +480,8 @@ export const tokens = {
480
480
  brand: {
481
481
  primary: '#20467F',
482
482
  secondary: '#0659C5',
483
- tertiary: '#2976D8',
484
- 'on-brand': '#EAF1FB',
483
+ tertiary: '#555F6B',
484
+ 'on-brand': '#FFFFFF',
485
485
  },
486
486
  neutral: {
487
487
  primary: '#252627',
@@ -1,7 +1,7 @@
1
1
  .order-payment-details {
2
2
  &__title {
3
- font-weight: var(--c--theme--font--weights--bold);
4
- font-size: var(--c--theme--font--sizes--l);
3
+ font-weight: var(--c--globals--font--weights--bold);
4
+ font-size: var(--c--globals--font--sizes--md);
5
5
  text-align: left;
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "3.3.2-dev29",
3
+ "version": "3.3.2-dev30",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {
@@ -24,7 +24,7 @@ $r-subheader-search-title-width: 19rem !default; // aligned on computed search r
24
24
  &__title {
25
25
  @include make-container();
26
26
  @include make-container-max-widths();
27
- @include sv-flex(1, 0, 100%);
27
+ @include sv-flex(1, 0, 100%, $max: false);
28
28
  padding-left: 0;
29
29
  padding-right: 0;
30
30
 
@@ -1,4 +1,5 @@
1
1
  // Without this, bootstrap overrides Cunningham buttons style.
2
2
  a.c__button:hover {
3
3
  text-decoration: none;
4
+ color: inherit;
4
5
  }
@@ -393,10 +393,8 @@
393
393
  --c--contextuals--background--surface--primary: var(--c--globals--colors--gray-000);
394
394
  --c--contextuals--background--surface--secondary: var(--c--globals--colors--gray-000);
395
395
  --c--contextuals--background--surface--tertiary: var(--c--globals--colors--gray-025);
396
- --c--contextuals--background--semantic--brand--primary: var(--c--globals--colors--brand-550);
397
- --c--contextuals--background--semantic--brand--primary-hover: var(
398
- --c--globals--colors--brand-650
399
- );
396
+ --c--contextuals--background--semantic--brand--primary: #f72c30;
397
+ --c--contextuals--background--semantic--brand--primary-hover: #d60f29;
400
398
  --c--contextuals--background--semantic--brand--secondary: var(--c--globals--colors--brand-100);
401
399
  --c--contextuals--background--semantic--brand--secondary-hover: var(
402
400
  --c--globals--colors--brand-150
@@ -509,8 +507,8 @@
509
507
  --c--contextuals--content--logo2: var(--c--globals--colors--logo-2);
510
508
  --c--contextuals--content--semantic--brand--primary: var(--c--globals--colors--brand-700);
511
509
  --c--contextuals--content--semantic--brand--secondary: var(--c--globals--colors--brand-600);
512
- --c--contextuals--content--semantic--brand--tertiary: var(--c--globals--colors--brand-500);
513
- --c--contextuals--content--semantic--brand--on-brand: var(--c--globals--colors--brand-050);
510
+ --c--contextuals--content--semantic--brand--tertiary: #555f6b;
511
+ --c--contextuals--content--semantic--brand--on-brand: #ffffff;
514
512
  --c--contextuals--content--semantic--neutral--primary: var(--c--globals--colors--gray-850);
515
513
  --c--contextuals--content--semantic--neutral--secondary: var(--c--globals--colors--gray-600);
516
514
  --c--contextuals--content--semantic--neutral--tertiary: var(--c--globals--colors--gray-500);
@@ -373,9 +373,9 @@ $themes: (
373
373
  'black': 800,
374
374
  ),
375
375
  'families': (
376
- 'base': #{\RobotoFlexVariable\,
376
+ 'base': #{\RobotoFlex Variable\,
377
377
  sans-serif},
378
- 'accent': #{\RobotoFlexVariable\,
378
+ 'accent': #{\RobotoFlex Variable\,
379
379
  sans-serif},
380
380
  ),
381
381
  ),
@@ -420,8 +420,8 @@ $themes: (
420
420
  ),
421
421
  'semantic': (
422
422
  'brand': (
423
- 'primary': #1167d4,
424
- 'primary-hover': #1a509f,
423
+ 'primary': #f72c30,
424
+ 'primary-hover': #d60f29,
425
425
  'secondary': #d5e4f7,
426
426
  'secondary-hover': #c0d6f4,
427
427
  'tertiary': #eaf1fb,
@@ -544,8 +544,8 @@ $themes: (
544
544
  'brand': (
545
545
  'primary': #20467f,
546
546
  'secondary': #0659c5,
547
- 'tertiary': #2976d8,
548
- 'on-brand': #eaf1fb,
547
+ 'tertiary': #555f6b,
548
+ 'on-brand': #ffffff,
549
549
  ),
550
550
  'neutral': (
551
551
  'primary': #252627,
@@ -1178,9 +1178,9 @@ $themes: (
1178
1178
  'black': 800,
1179
1179
  ),
1180
1180
  'families': (
1181
- 'base': #{\RobotoFlexVariable\,
1181
+ 'base': #{\RobotoFlex Variable\,
1182
1182
  sans-serif},
1183
- 'accent': #{\RobotoFlexVariable\,
1183
+ 'accent': #{\RobotoFlex Variable\,
1184
1184
  sans-serif},
1185
1185
  ),
1186
1186
  ),