Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions tokens/dtcg/token_Borders_Defaultmode.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,51 @@
"Border radius": {
"lg": {
"$type": "number",
"$value": "{utilities.rem.0,5}"
"$value": "{scale.300}"
},
"md (default)": {
"$type": "number",
"$value": "{utilities.rem.0,375}"
"$value": "{scale.200}"
},
"none": {
"$type": "number",
"$value": "{utilities.rem.0}"
"$value": "{scale.0}"
},
"pill": {
"$type": "number",
"$value": "{utilities.rem.50}"
"$value": "{scale.1800}"
},
"sm": {
"$type": "number",
"$value": "{utilities.rem.0,25}"
"$value": "{scale.100}"
},
"xl": {
"$type": "number",
"$value": "{utilities.rem.1}"
"$value": "{scale.600}"
},
"xxl": {
"$type": "number",
"$value": "{utilities.rem.2}"
"$value": "{scale.1000}"
}
},
"Border width": {
"0": {
"$type": "number",
"$value": 0
},
"1 (default)": {
"Stroke weight": {
"lg": {
"$type": "number",
"$value": 1
"$value": 3
},
"2": {
"md": {
"$type": "number",
"$value": 2
},
"3": {
"sm (default)": {
"$type": "number",
"$value": 3
"$value": 1
},
"4": {
"xl": {
"$type": "number",
"$value": 4
},
"5": {
"xxl": {
"$type": "number",
"$value": 5
}
Expand Down
126 changes: 55 additions & 71 deletions tokens/dtcg/token_Colors_Light.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
{
"Body": {
"Background": {
"default": {
"$type": "color",
"$value": "{color.gray.white}"
},
"secondary": {
"$type": "color",
"$value": "{color.gray.200}"
},
"tertiary": {
"$type": "color",
"$value": "{color.gray.100}"
}
"Background": {
"default": {
"$type": "color",
"$value": "{color.gray.white}"
},
"Text": {
"default": {
"$type": "color",
"$value": "{color.gray.900}"
},
"emphasis": {
"$type": "color",
"$value": "{color.gray.black}"
},
"secondary": {
"$type": "color",
"$value": "#1d2125bf"
},
"tertiary": {
"$type": "color",
"$value": "#1d212580"
}
"secondary": {
"$type": "color",
"$value": "{color.gray.200}"
},
"tertiary": {
"$type": "color",
"$value": "{color.gray.100}"
}
},
"Border": {
Expand All @@ -47,84 +27,54 @@
"Primary": {
"moodle black": {
"$type": "color",
"$value": "{brand.grey.300}"
"$value": "{color.brand.gray.300}"
},
"moodle blue": {
"$type": "color",
"$value": "{brand.blue.300}"
"$value": "{color.brand.blue.300}"
},
"moodle orange": {
"$type": "color",
"$value": "{brand.orange.400}"
"$value": "{color.brand.orange.400}"
}
},
"Secondary": {
"bright blue": {
"$type": "color",
"$value": "{brand.blue.100}"
"$value": "{color.brand.blue.100}"
},
"dark grey": {
"$type": "color",
"$value": "{brand.grey.200}"
"$value": "{color.brand.gray.200}"
},
"light blue": {
"$type": "color",
"$value": "{brand.blue.200}"
"$value": "{color.brand.blue.200}"
},
"light grey": {
"$type": "color",
"$value": "{brand.grey.100}"
"$value": "{color.brand.gray.100}"
},
"light peach": {
"$type": "color",
"$value": "{brand.orange.100}"
"$value": "{color.brand.orange.100}"
},
"medium peach": {
"$type": "color",
"$value": "{brand.orange.200}"
"$value": "{color.brand.orange.200}"
},
"peach": {
"$type": "color",
"$value": "{brand.orange.300}"
"$value": "{color.brand.orange.300}"
}
}
},
"Contrast": {
"contrast dark": {
"$type": "color",
"$value": "{color.gray.black}"
},
"contrast light": {
"$type": "color",
"$value": "{color.gray.white}"
}
},
"Focus ring": {
"default": {
"$type": "color",
"$value": "{Theme.primary}"
}
},
"Icon": {
"fa border color": {
"$type": "color",
"$value": "#eeeeee"
},
"fa inverse": {
"$type": "color",
"$value": "{color.gray.white}"
}
},
"Link": {
"default": {
"$type": "color",
"$value": "{Theme.primary}"
},
"hover": {
"$type": "color",
"$value": "{color.blue.600}"
}
},
"State": {
"Outline": {
"danger": {
Expand Down Expand Up @@ -225,6 +175,40 @@
"$value": "{color.gray.300}"
}
},
"Text": {
"Body": {
"Light": {
"$type": "color",
"$value": "{Theme.light}"
},
"default": {
"$type": "color",
"$value": "{color.gray.900}"
},
"emphasis": {
"$type": "color",
"$value": "{color.gray.black}"
},
"secondary": {
"$type": "color",
"$value": "{color.gray.700}"
},
"tertiary": {
"$type": "color",
"$value": "{color.gray.600}"
}
},
"Link": {
"default": {
"$type": "color",
"$value": "{Theme.primary}"
},
"hover": {
"$type": "color",
"$value": "{color.blue.600}"
}
}
},
"Theme": {
"Background subtle": {
"danger": {
Expand Down
Loading
Loading