#195 new
drivingmenuts

Feature: Full implementation of CSS

Reported by drivingmenuts | January 26th, 2011 @ 04:02 PM

What I did:

created a Kod stylesheet following the rules of SASS (http://sass-lang.com/) (specifically used a .scss extension, as opposed to a .sass extension - there's a slight difference between the two).

What I expected to happen:

I hoped the editor would utilize the new stylesheet.

What actually happened:

Alas, it did not.

Version of Kod:

Kod 0.0.3 beta

This may be a bit abstruse, but I do find that SASS is quite useful in creating stylesheets.

Comments and changes to this ticket

  • ronin-136832 (at lighthouseapp)

    ronin-136832 (at lighthouseapp) June 14th, 2011 @ 07:53 PM

    I came up with a dirty, but working (I think) workaround for this. Open Kod.app/Contents/Resources/lang/ and copy css.lang. Rename it to scss.lang and change the first three lines to this:

    @title Sass

    @matchuti public.css-text

    @matchext scss

    Then restart Kod. Any .scss file should open with CSS syntax highlighting. Sorry if this is actually stupid, I'm just playing it by ear.

  • ronin-136832 (at lighthouseapp)

    ronin-136832 (at lighthouseapp) June 14th, 2011 @ 07:54 PM

    Let me rewrite that.:/

    I came up with a dirty, but working (I think) workaround for this. Open Kod.app/Contents/Resources/lang/ and copy css.lang. Rename it to scss.lang and change the first three lines to this:

    # @title Sass
    # @matchuti public.css-text
    # @matchext scss
    

    Then restart Kod. Any .scss file should open with CSS syntax highlighting. Sorry if this is actually stupid, I'm just playing it by ear.

  • prachu5

    prachu5 January 21st, 2022 @ 01:16 PM

    • Assigned user set to “rsms”

    Thanks for this info.
    best capricorn horoscope.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Attachments

Pages