extract_sorted_css_variables() — tailwindcss Function Reference
Architecture documentation for the extract_sorted_css_variables() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD c1f434c4_69e7_c910_6327_9cd64fa4afbf["extract_sorted_css_variables()"] 15894b6f_50dd_2141_d901_1f1fb99b53c5["assert_extract_sorted_css_variables()"] 15894b6f_50dd_2141_d901_1f1fb99b53c5 -->|calls| c1f434c4_69e7_c910_6327_9cd64fa4afbf 2a34bbb8_098e_f736_c9a4_821aa310393f["extract()"] c1f434c4_69e7_c910_6327_9cd64fa4afbf -->|calls| 2a34bbb8_098e_f736_c9a4_821aa310393f style c1f434c4_69e7_c910_6327_9cd64fa4afbf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 259–271
fn extract_sorted_css_variables(input: &str) -> Vec<&str> {
let mut machine = Extractor::new(input.as_bytes());
let mut actual = machine
.extract()
.iter()
.filter_map(|x| match x {
Extracted::Candidate(_) => None,
Extracted::CssVariable(bytes) => std::str::from_utf8(bytes).ok(),
})
.collect::<Vec<_>>();
actual.sort();
actual
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does extract_sorted_css_variables() do?
extract_sorted_css_variables() is a function in the tailwindcss codebase.
What does extract_sorted_css_variables() call?
extract_sorted_css_variables() calls 1 function(s): extract.
What calls extract_sorted_css_variables()?
extract_sorted_css_variables() is called by 1 function(s): assert_extract_sorted_css_variables.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free