bootswatch icon indicating copy to clipboard operation
bootswatch copied to clipboard

.box-shadow is undefined

Open katowulf opened this issue 14 years ago • 5 comments

I downloaded the simplex.less theme and associated variables.less.

I imported the variables using @import "variables.less"; on the first line inside simplex.less.

Then I ran lessc on the file (I made no modifications whatsoever):

C:\work\tests\>lessc simplex.less > simplex.css
NameError: .box-shadow is undefined in C:\work\tests\simplex.less:21:1
20 .navbar .navbar-inner {
21      .box-shadow(inset 0 -1px #CFCACA);
22      border-bottom: 1px solid #FFF;
// Bootswatch.less
// Swatch: Simplex
// Version: 2.0.3
lessc 1.3.0 (LESS Compiler) [JavaScript]

Any ideas?

katowulf avatar Jun 01 '12 22:06 katowulf

I think I understand now. The .less files are not intended to be downloaded and used individually? I need to clone bootswatch and use swatchmaker.less to generate the CSS?

Is there a doc explaining this process? (sorry to be such a noob)

katowulf avatar Jun 01 '12 22:06 katowulf

bootswatch / swatchmaker / Readme.md

Got it, thanks : )

katowulf avatar Jun 01 '12 22:06 katowulf

Awesome thanks...this was exactly what i was missing.

timmaybrown avatar Mar 05 '13 04:03 timmaybrown

Yeah, this isn't as easy as the fancy website infers :)

drnic avatar Jun 18 '13 22:06 drnic

+1

Artoria9 avatar Jun 29 '15 08:06 Artoria9