Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Add the " !default" keyword to variables #90

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

pigne
Copy link
Contributor

@pigne pigne commented Sep 4, 2020

This "!default" keyword added to the value of SCSS variables allows them to be overriden. Like so one can use your jekyll theme and customize its variables without having to shadow (copy/paste) all the file.

$blue: #295b8d;
@import 'tale';

This allows variables to be overriden.
@chesterhow
Copy link
Owner

Thank you @pigne this is super useful! I did not know that SCSS had a !default feature 😄

@chesterhow chesterhow merged commit 92f6a25 into chesterhow:master Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants