refactor: redesign theme tokens and split catppuccin themes
This commit is contained in:
10
build.rs
10
build.rs
@@ -229,8 +229,8 @@ fn render_github_fixtures(fixture_root: &Path) -> String {
|
||||
output.push_str(&string_literal(&id));
|
||||
output.push_str(", ");
|
||||
match previous_end_cursor.as_deref() {
|
||||
Some(after) => output.push_str(&format!("Some({})", string_literal(after))),
|
||||
None => output.push_str("None"),
|
||||
| Some(after) => output.push_str(&format!("Some({})", string_literal(after))),
|
||||
| None => output.push_str("None"),
|
||||
}
|
||||
output.push_str(") => Some(");
|
||||
output.push_str(&string_literal(&fixture.json));
|
||||
@@ -343,9 +343,9 @@ fn issue_fixture_state(issue: &serde_json::Value) -> &'static str {
|
||||
}
|
||||
|
||||
match required_string(issue, &["state"]) {
|
||||
"open" => "OPEN",
|
||||
"closed" => "CLOSED",
|
||||
state => panic!("unsupported pull request state in fixture: {state}"),
|
||||
| "open" => "OPEN",
|
||||
| "closed" => "CLOSED",
|
||||
| state => panic!("unsupported pull request state in fixture: {state}"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user