@codecademy/gamut-styles 13.1.2-alpha.dfb7ca.0 → 13.2.0-alpha.f181dd.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.
@@ -1,6 +1,6 @@
1
- @codecademy/gamut-styles:build: cache hit, replaying output 41f18952c425ceb4
1
+ @codecademy/gamut-styles:build: cache hit, replaying output 71042463d3592090
2
2
  @codecademy/gamut-styles:build: $ yarn build:clean && yarn build:compile && yarn build:transpile
3
3
  @codecademy/gamut-styles:build: $ rm -rf ./dist
4
4
  @codecademy/gamut-styles:build: $ tsc
5
5
  @codecademy/gamut-styles:build: $ babel ./src --out-dir ./dist --copy-files --extensions ".ts,.tsx"
6
- @codecademy/gamut-styles:build: Successfully compiled 45 files with Babel (1435ms).
6
+ @codecademy/gamut-styles:build: Successfully compiled 45 files with Babel (1465ms).
package/CHANGELOG.md CHANGED
@@ -3,11 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### [13.1.2-alpha.dfb7ca.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@13.1.1...@codecademy/gamut-styles@13.1.2-alpha.dfb7ca.0) (2022-05-18)
6
+ ## [13.2.0-alpha.f181dd.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@13.1.1...@codecademy/gamut-styles@13.2.0-alpha.f181dd.0) (2022-05-18)
7
7
 
8
- **Note:** Version bump only for package @codecademy/gamut-styles
9
8
 
9
+ ### Features
10
10
 
11
+ * **Typography:** new line height system props ([a4b12ba](https://github.com/Codecademy/gamut/commit/a4b12ba894f81b8144d48ad713c99b7529536770))
11
12
 
12
13
 
13
14
 
package/README.md CHANGED
@@ -1,22 +1,19 @@
1
1
  # Gamut Styles
2
-
3
- Base SCSS and style utilities for Codecademy.
2
+ Base SCSS for Codecademy
4
3
 
5
4
  ## Variables/
6
-
7
5
  This folder houses all shared SCSS style variables.
8
6
  It also contains a JavaScript file with color variables.
9
7
 
10
8
  ## Core/
11
-
12
9
  This folder contains a base stylesheet for the app.
13
10
  This should be imported **once** in your application.
14
11
 
15
12
  ## Utils/
16
-
17
13
  This folder contains Sass functions (pure utilities with no stylesheet output values) and mixins (outputs CSS)
18
14
  to be used as needed both in Gamut and across the Codecademy app.
19
15
 
16
+
20
17
  The `utils.scss` and `core.scss` just import the index files from their respective folders, to make the syntax to import them from elsewhere easier, e.g.:
21
18
 
22
19
  `@import "~@codecademy/gamut-styles/utils";`
@@ -43,6 +43,7 @@ export declare const adminTheme: Record<"breakpoints", {
43
43
  };
44
44
  lineHeight: {
45
45
  readonly base: 1.5;
46
+ readonly spacedTitle: 1.2;
46
47
  readonly title: 1.1;
47
48
  };
48
49
  fontWeight: {
@@ -42,6 +42,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
42
42
  };
43
43
  lineHeight: {
44
44
  readonly base: 1.5;
45
+ readonly spacedTitle: 1.2;
45
46
  readonly title: 1.1;
46
47
  };
47
48
  fontWeight: {
@@ -53,6 +53,7 @@ export declare const platformTheme: Record<"breakpoints", {
53
53
  };
54
54
  lineHeight: {
55
55
  readonly base: 1.5;
56
+ readonly spacedTitle: 1.2;
56
57
  readonly title: 1.1;
57
58
  };
58
59
  fontWeight: {
@@ -21,6 +21,7 @@ export declare const fontSize: {
21
21
  };
22
22
  export declare const lineHeight: {
23
23
  readonly base: 1.5;
24
+ readonly spacedTitle: 1.2;
24
25
  readonly title: 1.1;
25
26
  };
26
27
  export declare const fontWeight: {
@@ -22,6 +22,7 @@ export var fontSize = {
22
22
  };
23
23
  export var lineHeight = {
24
24
  base: 1.5,
25
+ spacedTitle: 1.2,
25
26
  title: 1.1
26
27
  };
27
28
  export var fontWeight = {
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../src/variables/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC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AM,CAAC,MAAM,aAAa,GAAG;UACnB,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG;qEAC2C,CAAC;AAEtE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,aAAa;IACxB,MAAM,EAAE,UAAU;CACV,CAAC;AAEX,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;IACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;CACL,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,GAAG;IACT,WAAW,EAAE,GAAG;IAChB,KAAK,EAAE,GAAG;CACF,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;IACV,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;CACA,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-styles",
3
3
  "description": "Styleguide & Component library for codecademy.com",
4
- "version": "13.1.2-alpha.dfb7ca.0",
4
+ "version": "13.2.0-alpha.f181dd.0",
5
5
  "author": "Jake Hiller <jake@codecademy.com>",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "21ff7e90bb136705c56d5b2bc05011164a6198af"
42
+ "gitHead": "f223be563891510cef4a9240063aad70befb4bdf"
43
43
  }