Add Spectre skeleton with builder.
This commit is contained in:
parent
c19bab30f4
commit
6200a30ccf
4 changed files with 16 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "redesign/spectre"]
|
||||
path = redesign/spectre
|
||||
url = https://github.com/picturepan2/spectre
|
||||
4
redesign/builder.nim
Normal file
4
redesign/builder.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import sass
|
||||
|
||||
when isMainModule:
|
||||
compileFile("nimforum.scss", "nimforum.css")
|
||||
8
redesign/nimforum.scss
Normal file
8
redesign/nimforum.scss
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Based on
|
||||
// https://picturepan2.github.io/spectre/getting-started.html#installation
|
||||
// Define variables to override default ones
|
||||
$primary-color: #2e5bec;
|
||||
$dark-color: #3e396b;
|
||||
|
||||
// Import full Spectre source code
|
||||
@import "spectre/src/spectre";
|
||||
1
redesign/spectre
Submodule
1
redesign/spectre
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7a6af53bca72b549b2cbf1948763348bd5b30dcd
|
||||
Loading…
Add table
Add a link
Reference in a new issue