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

union example #18

Open
github-actions bot opened this issue Nov 19, 2023 · 0 comments
Open

union example #18

github-actions bot opened this issue Nov 19, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation styles Styles pkg scope todo

Comments

@github-actions
Copy link

/ </div>

/// TODO: union example

/// # Global modifiers
/// These modify the behavior of any element
///
/// **.--globalModifierName-value{}**
/// ```css
///  .--maxWidth-none{}
/// ```
/// Just like the component modifiers but these work in any element
/// Some modifier could be conditionated to the presence of another one
/// ```css
///  .--theme-light.--shadow{}
/// ```
///
/// @group modifiers
/// @example njk
///  <div class="flx --flxColumn">
///   TODO: modifier example
///  </div>

/// # Global unions
/// Condense most common modifiers of rules that require multiple parameters
///
/// **.--globalUnionName-firstValue-SecondValue{}**
/// ```css
///  .--flxAlign-center-stretch{}
/// ```
/// As any other union but work in any element
/// If both values are equal the could be merged
/// ```css
///  /** Long version */
///  .--flxAlign-center-center{}
///
///  /** Short version */
///  .--flxAlign-center{}
/// ```
///
/// @group unions
/// @example njk
///  <div class="flx --flxColumn">
///   TODO: union example
///  </div>
@github-actions github-actions bot added the todo label Nov 19, 2023
@vis97c vis97c added documentation Improvements or additions to documentation styles Styles pkg scope labels Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation styles Styles pkg scope todo
Projects
None yet
Development

No branches or pull requests

1 participant