Home / Function/ test_extraction_of_pseudoclasses_from_keywords() — tailwindcss Function Reference

test_extraction_of_pseudoclasses_from_keywords() — tailwindcss Function Reference

Architecture documentation for the test_extraction_of_pseudoclasses_from_keywords() function in clojure.rs from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/clojure.rs lines 317–338

    fn test_extraction_of_pseudoclasses_from_keywords() {
        let input = r#"
            ($ :div {:class [:flex :first:lg:pr-6 :first:2xl:pl-6 :group-hover/2:2xs:pt-6]} …)

            :.hover:bg-white

            [:div#hello.bg-white.pr-1.5]
        "#;

        Clojure::test_extract_contains(
            input,
            vec![
                "flex",
                "first:lg:pr-6",
                "first:2xl:pl-6",
                "group-hover/2:2xs:pt-6",
                "hover:bg-white",
                "bg-white",
                "pr-1.5",
            ],
        );
    }

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free