expandPleasantCssClassname

Type:Function
Status:stabée
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.html

This function allows you to convert “colon” classnames like “s-something:cool @desktop something” to comprehensive classnames for css like “s-something s-something-cool something_desktop”, etc…

Params

  1. classesStr*-String

    The classes string to convert like “s-typo:h1 s-font:40”, etc…

Return

  1. -String

    The processed string with converted classnames

Example

import { expandPleasantCssClassname } from '@blackbyte/sugar/html';
expandPleasantCssClassname('...');

Todo

  • testsnormal