From 267417a7381a4fb850937aae27157f8323614a75 Mon Sep 17 00:00:00 2001 From: Morten Nissen Date: Thu, 18 May 2017 23:04:15 +0200 Subject: [PATCH] Use seperate variables file --- less/flexy-list.less | 2 +- less/variables.less | 1 + package.json | 2 +- scss/_variables.scss | 1 + scss/flexy-list.scss | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 less/variables.less create mode 100644 scss/_variables.scss diff --git a/less/flexy-list.less b/less/flexy-list.less index dc3da46..013b546 100644 --- a/less/flexy-list.less +++ b/less/flexy-list.less @@ -10,7 +10,7 @@ // Variables // -------------------------------------------------- -@flexy-list-item-spacing: 30px; +@import "variables"; // -------------------------------------------------- // Mixins diff --git a/less/variables.less b/less/variables.less new file mode 100644 index 0000000..6fc1645 --- /dev/null +++ b/less/variables.less @@ -0,0 +1 @@ +@flexy-list-item-spacing: 30px; diff --git a/package.json b/package.json index 87bab65..d9596d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flexy-list", - "version": "1.0.0", + "version": "1.0.1", "description": "Easy flexible lists with CSS.", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/scss/_variables.scss b/scss/_variables.scss new file mode 100644 index 0000000..1c3ca78 --- /dev/null +++ b/scss/_variables.scss @@ -0,0 +1 @@ +$flexy-list-item-spacing: 30px; diff --git a/scss/flexy-list.scss b/scss/flexy-list.scss index f2ee24a..1501bbc 100644 --- a/scss/flexy-list.scss +++ b/scss/flexy-list.scss @@ -10,7 +10,7 @@ // Variables // -------------------------------------------------- -$flexy-list-item-spacing: 30px; +@import "variables"; // -------------------------------------------------- // Mixins