Skip to content
Snippets Groups Projects
  1. Jan 18, 2023
    • Matt Wang's avatar
      Add new `_sass/custom/setup.scss` for variable definition (#1135) · d423c96d
      Matt Wang authored
      
      This is an alternative PR that resolves #1011. Unlike #1013, this PR defines a *new* SASS file, `_sass/custom/setup.scss`, specifically designed for new custom variables (and other SASS-only constructs). It's imported after our `support` SASS files are (functions, variables), but otherwise is imported before all other files (ex, when CSS is emitted).
      
      So, custom callout colors can now be defined in this file. I also move the custom callout colors present in `custom.scss` to the right location.
      
      I've added some docs that briefly explain how to use the feature. Feedback is welcome!
      
      ---
      
      As an aside, I chose not to add a `_includes/css` file that imports this, and then import that file. I think that's only necessary if we're trying to render liquid somehow in the SASS file; since we're not trying to do that for `setup.scss`, I've opted to not include it. If we think this is relevant, I can re-add it.
      
      Co-authored-by: default avatarPeter Mosses <18308236+pdmosses@users.noreply.github.com>
      Unverified
      d423c96d
  2. Oct 24, 2022
  3. Sep 29, 2022
    • Peter Mosses's avatar
      Fix default highlighting in custom color schemes (#986) · 33a7b2ac
      Peter Mosses authored
      
      * Fix default highlighting in custom schemes
      
      Fix #982
      
      The variable settings for highlighting in the default `light` scheme are currently (v0.4.0.rc2`) in `_sass/color_schemes/light.scss`.
      This PR ensures that custom schemes are based on the `light` scheme.
      
      It also adds a note explaining the default to the customization docs,
      and gives an example of how to define a custom scheme based on the `dark` scheme
      
      * Prettier
      
      * Deleted test file
      
      Co-authored-by: default avatarMatt Wang <matt@matthewwang.me>
      Unverified
      33a7b2ac
  4. Jul 04, 2022
  5. Aug 15, 2019
Loading