Menu icon Foundation

My Posts






My Comments

Sam Linville commented on Sam Linville's post over 4 years

That works! I can see the project now.

Sam Linville commented on Sam Linville's post over 4 years

Yep, same issue. Here's what I get using npm start.
```
> [email protected] start /Users/samlinville/sites/lex-nav2
> gulp

[12:57:45] Using gulpfile ~/sites/lex-nav2/gulpfile.js
[12:57:45] Starting 'build'...
[12:57:45] Starting 'clean'...
[12:57:45] Finished 'clean' after 9.19 ms
[12:57:45] Starting 'copy'...
[12:57:45] Starting 'copy:foundation'...
[12:57:45] Finished 'copy:foundation' after 294 ms
[12:57:45] Starting 'sass'...
[12:57:46] Starting 'uglify:foundation'...
[12:57:46] Starting 'uglify:app'...
[12:57:46] Finished 'copy' after 797 ms
[12:57:46] Finished 'uglify:app' after 88 ms
[12:57:46] Finished 'uglify:foundation' after 199 ms
[12:57:46] Starting 'uglify'...
[12:57:46] Finished 'uglify' after 3.85 μs
[12:57:46] Finished 'sass' after 990 ms
[12:57:46] Starting 'copy:templates'...
[12:57:46] Finished 'copy:templates' after 12 ms
[12:57:46] Finished 'build' after 1.31 s
[12:57:46] Starting 'server'...
[12:57:46] Webserver started at http://localhost:8080
[12:57:46] Finished 'server' after 232 ms
[12:57:46] Starting 'default'...
[12:57:46] Finished 'default' after 13 ms
```

Sam Linville commented on Sam Linville's post over 4 years

I apologize, I may not have explained my issue very well (or I maybe misunderstanding your response). I have indeed changed the variables in _settings.scss, to suit the dark-colored version of my topbar, which resides on my homepage. But on every other page of the site that I'm creating, I need a light-colored version of the topbar. So I need two versions to exist simultaneously, which is proving to be quite difficult for some reason.

I guess my question is, is there a way to leverage Sass to produce two topbar color schemes that can be called with a class in my HTML, or do I have to produce one color scheme with _settings.scss and then manually override it for my second color scheme in app.scss?

Thanks so much!

Sam Linville commented on Sam Linville's post over 5 years

Ah! Thanks so much!

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Sam Linville's post over 4 years

That works! I can see the project now.

You commented on Sam Linville's post over 4 years

Yep, same issue. Here's what I get using npm start.
```
> [email protected] start /Users/samlinville/sites/lex-nav2
> gulp

[12:57:45] Using gulpfile ~/sites/lex-nav2/gulpfile.js
[12:57:45] Starting 'build'...
[12:57:45] Starting 'clean'...
[12:57:45] Finished 'clean' after 9.19 ms
[12:57:45] Starting 'copy'...
[12:57:45] Starting 'copy:foundation'...
[12:57:45] Finished 'copy:foundation' after 294 ms
[12:57:45] Starting 'sass'...
[12:57:46] Starting 'uglify:foundation'...
[12:57:46] Starting 'uglify:app'...
[12:57:46] Finished 'copy' after 797 ms
[12:57:46] Finished 'uglify:app' after 88 ms
[12:57:46] Finished 'uglify:foundation' after 199 ms
[12:57:46] Starting 'uglify'...
[12:57:46] Finished 'uglify' after 3.85 μs
[12:57:46] Finished 'sass' after 990 ms
[12:57:46] Starting 'copy:templates'...
[12:57:46] Finished 'copy:templates' after 12 ms
[12:57:46] Finished 'build' after 1.31 s
[12:57:46] Starting 'server'...
[12:57:46] Webserver started at http://localhost:8080
[12:57:46] Finished 'server' after 232 ms
[12:57:46] Starting 'default'...
[12:57:46] Finished 'default' after 13 ms
```

You commented on Sam Linville's post over 4 years

I apologize, I may not have explained my issue very well (or I maybe misunderstanding your response). I have indeed changed the variables in _settings.scss, to suit the dark-colored version of my topbar, which resides on my homepage. But on every other page of the site that I'm creating, I need a light-colored version of the topbar. So I need two versions to exist simultaneously, which is proving to be quite difficult for some reason.

I guess my question is, is there a way to leverage Sass to produce two topbar color schemes that can be called with a class in my HTML, or do I have to produce one color scheme with _settings.scss and then manually override it for my second color scheme in app.scss?

Thanks so much!

You commented on Sam Linville's post over 5 years

Ah! Thanks so much!

Posts Followed

No Content

Following

  • No Content

Followers