Skip to content

Commit

Permalink
css-library: Adding line-length tokens (#1382)
Browse files Browse the repository at this point in the history
* css-library: Adding line-length tokens

* Updating "none" line-length to "inherit"
  • Loading branch information
Andrew565 authored Nov 4, 2024
1 parent 868332e commit ac1f40a
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 2 deletions.
9 changes: 8 additions & 1 deletion packages/css-library/dist/tokens/css/variables.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 25 Oct 2024 15:10:34 GMT
* Generated on Fri, 01 Nov 2024 17:33:49 GMT
*/

:root {
Expand Down Expand Up @@ -146,6 +146,13 @@
--vads-font-size-heading-level-4: 17px;
--vads-font-size-heading-level-5: 15px;
--vads-font-size-heading-level-6: 15px;
--vads-size-line-length-1: 44ex;
--vads-size-line-length-2: 60ex;
--vads-size-line-length-3: 64ex;
--vads-size-line-length-4: 68ex;
--vads-size-line-length-5: 72ex;
--vads-size-line-length-6: 88ex;
--vads-size-line-length-none: inherit;
--units-0: 0;
--units-1: 0.5rem;
--units-2: 1rem;
Expand Down
153 changes: 153 additions & 0 deletions packages/css-library/dist/tokens/json/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -2699,6 +2699,159 @@
}
}
},
"vads": {
"size": {
"line-length": {
"1": {
"value": "44ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "44ex"
},
"name": "vads-size-line-length-1",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "1"
},
"path": [
"vads",
"size",
"line-length",
"1"
]
},
"2": {
"value": "60ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "60ex"
},
"name": "vads-size-line-length-2",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "2"
},
"path": [
"vads",
"size",
"line-length",
"2"
]
},
"3": {
"value": "64ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "64ex"
},
"name": "vads-size-line-length-3",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "3"
},
"path": [
"vads",
"size",
"line-length",
"3"
]
},
"4": {
"value": "68ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "68ex"
},
"name": "vads-size-line-length-4",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "4"
},
"path": [
"vads",
"size",
"line-length",
"4"
]
},
"5": {
"value": "72ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "72ex"
},
"name": "vads-size-line-length-5",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "5"
},
"path": [
"vads",
"size",
"line-length",
"5"
]
},
"6": {
"value": "88ex",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "88ex"
},
"name": "vads-size-line-length-6",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "6"
},
"path": [
"vads",
"size",
"line-length",
"6"
]
},
"none": {
"value": "inherit",
"filePath": "tokens/line-lengths.json",
"isSource": true,
"original": {
"value": "inherit"
},
"name": "vads-size-line-length-none",
"attributes": {
"category": "vads",
"type": "size",
"item": "line-length",
"subitem": "none"
},
"path": [
"vads",
"size",
"line-length",
"none"
]
}
}
}
},
"units": {
"0": {
"value": "0",
Expand Down
9 changes: 8 additions & 1 deletion packages/css-library/dist/tokens/scss/variables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 25 Oct 2024 15:10:34 GMT
// Generated on Fri, 01 Nov 2024 17:33:49 GMT

$xsmall-screen: 320px;
$small-screen: 481px;
Expand Down Expand Up @@ -144,6 +144,13 @@ $vads-font-size-heading-level-3: 20px;
$vads-font-size-heading-level-4: 17px;
$vads-font-size-heading-level-5: 15px;
$vads-font-size-heading-level-6: 15px;
$vads-size-line-length-1: 44ex;
$vads-size-line-length-2: 60ex;
$vads-size-line-length-3: 64ex;
$vads-size-line-length-4: 68ex;
$vads-size-line-length-5: 72ex;
$vads-size-line-length-6: 88ex;
$vads-size-line-length-none: inherit;
$units-0: 0;
$units-1: 0.5rem;
$units-2: 1rem;
Expand Down
15 changes: 15 additions & 0 deletions packages/css-library/tokens/line-lengths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"vads": {
"size": {
"line-length": {
"1": { "value": "44ex" },
"2": { "value": "60ex" },
"3": { "value": "64ex" },
"4": { "value": "68ex" },
"5": { "value": "72ex" },
"6": { "value": "88ex" },
"none": { "value": "inherit" }
}
}
}
}

0 comments on commit ac1f40a

Please sign in to comment.