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

Support @use for builtin modules #80

Merged
merged 16 commits into from
Nov 2, 2020
Merged

Support @use for builtin modules #80

merged 16 commits into from
Nov 2, 2020

Commits on Oct 31, 2020

  1. WIP: Start @use for builtins.

    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    a48e1e7 View commit details
    Browse the repository at this point in the history
  2. Provide all builtin modules.

    Note that the contents of the modules is still lacking a lot.  So far,
    it's just the globally availiable functions spread out over their
    modules.
    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    85b7a49 View commit details
    Browse the repository at this point in the history
  3. Make sass:list compliant.

    And expose the correct funtions globally under correct names.
    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    3791e9b View commit details
    Browse the repository at this point in the history
  4. Make sass:map almost compliant.

    And expose the correct funtions globally under correct names.
    Some functions remain to be implemented, though.
    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    2b168dc View commit details
    Browse the repository at this point in the history
  5. Make sass:string compliant.

    And expose the correct funtions globally under correct names.
    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    0380ee7 View commit details
    Browse the repository at this point in the history
  6. More cleanup in builtin modules.

    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    80e21c1 View commit details
    Browse the repository at this point in the history
  7. Improve color functions.

    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    404c055 View commit details
    Browse the repository at this point in the history
  8. First arg to call is $function.

    kaj committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    448e0d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. More math functions

    Implemented the `clamp`, `log`, `pow`, and `sqrt` functions.
    kaj committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    b9d96d1 View commit details
    Browse the repository at this point in the history
  2. Impement the hypot function.

    kaj committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    f3c9a96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdbfdd6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f560fe3 View commit details
    Browse the repository at this point in the history
  5. Improvements in sass:map.

    kaj committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    5cce403 View commit details
    Browse the repository at this point in the history
  6. Use f64.to_degrees().

    Thanks to @glebm.
    kaj committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    5cba81e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Make sass:string compliant.

    The standard `to_upper_case` and `to_lower_case` sass:string functions
    only changes ascii letters, everything else remains as-is.
    
    Also added `to_upper_case_unicode` and `to_lower_case_unicode` for
    proper unicode-aware case switching.
    kaj committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    fa54654 View commit details
    Browse the repository at this point in the history
  2. Changelog for #80.

    kaj committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    44fc380 View commit details
    Browse the repository at this point in the history