Skip to content

Commit 4274e5c

Browse files
refactor: corrected ratio tokens type and renamed edx theme
1 parent efd31c0 commit 4274e5c

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

tokens/src/core/components/Dropdown.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}
5555
},
5656
"elevation": {
57-
"$type": "ratio",
57+
"$type": "number",
5858
"dropdown": {
5959
"zindex": { "source": "$zindex-dropdown", "$value": "1000" }
6060
}

tokens/src/core/components/Modal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"elevation": {
3-
"$type": "ratio",
3+
"$type": "number",
44
"modal": {
55
"backdrop-zindex": { "source": "$zindex-modal-backdrop", "$value": "1040" },
66
"zindex": { "source": "$zindex-modal", "$value": "1050" }

tokens/src/core/components/Popover.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"elevation": {
27-
"$type": "ratio",
27+
"$type": "number",
2828
"popover": {
2929
"zindex": { "source": "$zindex-popover", "$value": "1060" }
3030
}

tokens/src/core/components/ProductTour.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
},
1818
"elevation": {
19-
"$type": "ratio",
19+
"$type": "number",
2020
"product-tour": {
2121
"checkpoint": {
2222
"zindex": { "source": "$checkpoint-z-index", "$value": "1060" }

tokens/src/core/components/Sheet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"elevation": {
3-
"$type": "ratio",
3+
"$type": "number",
44
"sheet": {
55
"zindex": {
66
"backdrop": { "source": "$zindex-sheet-backdrop", "$value": "1031" },

tokens/src/core/components/Tooltip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
},
1818
"elevation": {
19-
"$type": "ratio",
19+
"$type": "number",
2020
"tooltip": {
2121
"zindex": { "source": "$zindex-tooltip", "$value": "1070" }
2222
}

tokens/src/core/global/elevation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"elevation": {
3-
"$type": "ratio",
3+
"$type": "number",
44
"zindex": {
55
"0": {
66
"$value": 0,

tokens/src/themes/light/components/Button/core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
},
1717
"other": {
18-
"$type": "ratio",
18+
"$type": "number",
1919
"btn": {
2020
"disabled-opacity": { "source": "$btn-disabled-opacity", "$value": ".65" }
2121
}

tokens/src/themes/light/components/Carousel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"other": {
36-
"$type": "ratio",
36+
"$type": "number",
3737
"carousel": {
3838
"control": {
3939
"opacity": {

tokens/src/themes/light/components/Chip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
},
3232
"other": {
33-
"$type": "ratio",
33+
"$type": "number",
3434
"chip": {
3535
"opacity-disabled": { "source": "$chip-disable-opacity", "$value": ".3" }
3636
}

tokens/src/themes/light/components/Form/other.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"other": {
33
"form": {
4-
"$type": "ratio",
4+
"$type": "number",
55
"feedback": {
66
"tooltip-opacity": {
77
"source": "$form-feedback-tooltip-opacity",

tokens/src/themes/light/components/SearchField.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
},
1919
"other": {
20-
"$type": "ratio",
20+
"$type": "number",
2121
"search-field": {
2222
"disabled-opacity": { "source": "$search-disabled-opacity", "$value": ".3" }
2323
}

tokens/src/themes/light/components/Tooltip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"other": {
40-
"$type": "ratio",
40+
"$type": "number",
4141
"tooltip": {
4242
"opacity": { "source": "$tooltip-opacity", "$value": "1" }
4343
}

www/theme-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const THEMES = [
1717
},
1818
{
1919
id: 'edxorg',
20-
label: 'edX',
20+
label: 'edX.org',
2121
stylesheet: 'edxorg-theme',
2222
pathToVariables: '@edx/brand-edx.org/paragon/_variables.scss',
2323
},

0 commit comments

Comments
 (0)