- This topic is empty.
-
AuthorPosts
-
November 3, 2015 at 7:57 am #210496
pxforti
ParticipantHi, Using Codekit > SASS to generate css output. The css output has a default indent of two spaces. I’d prefer 4 spaces but can’t find any setting or documentation on how to modify the css output.
Anyone know how?
Thanks
November 4, 2015 at 2:55 pm #210556michaellee
ParticipantDo you have some CSS output to toss up somewhere? Wondering if this is something that CodeKit is doing or if your IDE is set that way by default? I could be wrong. If you’re comfortable with the command-line and have Ruby set up on your machine, why not just use Sass’ command-line tool?
November 4, 2015 at 3:04 pm #210557pxforti
ParticipantBy default, in coda, I have indents set at 4 spaces. There is no setting in codekit to change that. Not really interested in using command line for sass: that’s why I got codekit :)
Here is sample css output:
input[type=”search”] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}November 6, 2015 at 10:47 am #210616michaellee
ParticipantHmm not quite sure then. I used CodeKit way back in version 1 but haven’t touched it in a while and haven’t used Code before. I did find this, if you do get around to using the command line tool.
Wish I could be of more help.
November 6, 2015 at 10:48 am #210617michaellee
ParticipantHmm not quite sure then. I used CodeKit way back in version 1 but haven’t touched it in a while and haven’t used Code before. I did find this, if you do get around to using the command line tool.
Wish I could be of more help.
November 6, 2015 at 11:25 am #210618pxforti
ParticipantThanks for trying. I guess I’ll have to live with the spacing.
November 7, 2015 at 3:41 pm #234688TheDoc
MemberThe question I have here is: why does it matter? If you’re authoring in Sass you shouldn’t need to care about how the CSS is formatted. Am I missing something?
November 7, 2015 at 3:48 pm #234689pxforti
ParticipantThe reason is because once it’s on the dev server (instead of mamp) and I need to make a change to the css, I prefer to edit the live file and I can’t compile sass on the server. As a result, I have to download the css file, edit it, and upload it again.
November 8, 2015 at 2:33 pm #234705TheDoc
MemberHmmm. But then you’d also have to update the Sass file as well, no? I’m thinking I still don’t understand :)
Is your code in version control?
November 9, 2015 at 4:23 am #234710Paulie_D
MemberI prefer to edit the live file
Eeek!
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.