Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fomantic-UI multiword class (class with space) should be supported natively #1996

Open
mvorisek opened this issue Feb 10, 2023 · 0 comments
Open

Comments

@mvorisek
Copy link
Member

The following public/external/postinstall.js code can parse all relevant multiword classes:

// assert classes with space data in Atk4\Ui\Xxx are up to date
const classesWithSpace = new Set();
walkFilesSync(path.join(__dirname, 'fomantic-ui'), (f) => {
    if (!f.endsWith('.css')) {
        return;
    }

    const data = fs.readFileSync(f, 'binary');
    for (const m of data.match(/(?<=class\*=")([^"]+ [^"]+)(?=")/g)) {
        classesWithSpace.add(m);
    }
});

marking as feature request as the support was never added.

@mvorisek mvorisek changed the title Fomantic-UI multiword class should be supported natively Fomantic-UI multiword class (class with space) should be supported natively Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant