Skip to content

Commit

Permalink
add basic theme and preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Jul 23, 2023
1 parent 7befcfb commit 3b6e0b3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
6 changes: 1 addition & 5 deletions ckanext/tour/assets/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ckanext/tour/assets/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
11 changes: 11 additions & 0 deletions ckanext/tour/theme/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
How to compile styles for ckanext-tour?

I didn't have much time to setup scripts, so just used `sass`

https://www.npmjs.com/package/sass

Usage:

1. Install with `npm install -g npx sass`
2. Run from this folder like that `npx sass --watch styles.scss:./../assets/css/style.css`
3. Remove `--watch` if you just need to build styles once.
2 changes: 2 additions & 0 deletions ckanext/tour/theme/styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import 'variables.scss';
@import 'elements.scss';
Empty file.

0 comments on commit 3b6e0b3

Please sign in to comment.