[personal profile] zvi posting in [community profile] style_system
I got the css I wanted to work correctly on Tabula Rasa. see the style live and view user layer source

Now, I'm trying to convert it to a layer and a theme (view style live

If I want the Tabula Rasa stylesheet, do I need to copy and paste that directly into the stylesheet in the layout layer? I used function print_stylesheet () { to include the stylesheet because I thought that would call the Tabula Rasa stylesheet, but it doesn't seem to be working.

Help?

Date: 2009-09-09 12:44 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Yes; you'd need to copy and paste the entire Tabula Rasa layout layer to your own layout layer (that's actually how we're going to implement it as a layout which "extends" off of Tabula Rasa, except that once it becomes official, we'll tell the system to do the copy-pasting/duplication for us.

The problem with not copy-pasting, is that the new layout layer is not aware of the Tabula Rasa layout layer in any way.

Date: 2009-09-09 02:15 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
You can't have two of the same function in one layout layer, so, for the sake of layouts that "extend" tabula rasa, etc, we needed a new function. (that's basically it)

Date: 2009-09-09 04:37 am (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
The way afuna explained it to me is this:

Copy/paste TB's code into your layout layer, not only the stylesheet but the whole code. Just c/p really. Then add your own CSS in print_stylesheet.

It may help you to look at the code of one of the other TB-based layouts: Modish for example. See how the first's part is just the Tabula Rasa code? Then you have a second part for the Modish layout.
Edited Date: 2009-09-09 04:38 am (UTC)

Date: 2009-09-09 09:08 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Yes, you can, as long as you make sure to use a similar naming scheme so it's easy to find stuff (though I'm sure you know that already!) . By that, I mean, don't use anything like Transmogrified's naming scheme, which doesn't *quite* match core2 *g* (to be fair, that layout was done while we were hammering out the naming conventions).

One note, though, if you have one where the color property name is close enough, but the description isn't, I believe you can do something like:

property Color existing_property_name { des = "this description will be the one that shows up in the wizard"; }

Which helps us avoid having unused properties in the wizard, and may help in some cases to keep the number of properties down.

(From feedback, having more color options just means people are more likely to give up halfway through creating a new color theme).
Edited Date: 2009-09-09 09:10 am (UTC)

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2025 07:29 am
Powered by Dreamwidth Studios