The original idea to make the GSS default was to ship .gss files next to .css files and let the generator automatically use the file with the gss extension. We can probably ship the gss files but I think it is optional at this point.
On Wed, Oct 29, 2014 at 5:50 AM, Julien Dramaix <[email protected]> wrote: > Now that GSS will be shipped in GWT 2.7 as an experimental feature, I'm > wondering if we shouldn't provide GSS files for all existing CssResource > interfaces present in GWT. The idea is to keep the associated .css files > and use them by default but also to provide GSS files in order that people > can use GSS to style their widgets. > > Let take the cell widgets (CelTable, CellList...) as example. If you want > to override default style, you do something like: > > public interface TableResources extends CellTable.Resources { > interface Style extends CellTable.Style { > } > > @Override > @Source({ CellTable.Style.DEFAULT_CSS, "css/table.css"}) > Style cellTableStyle(); > } > > In this case, it's impossible to use GSS because you cannot mix .css and > .gss files on the same resource. So the only mean to use GSS is to first > convert manually the default css file to gss and include it in your > application or start from scratch. > > So I would like that GWT provides these gss files that user can use in > their @Source annotations in order to override the default style. > > What do you guys think ? > > Julien > > -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6To8pLn%3D0EmgLRQdByrx_m0-CURafkr7FhZRMwxGXbqg%40mail.gmail.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6To8pLn%3D0EmgLRQdByrx_m0-CURafkr7FhZRMwxGXbqg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3wT52nZHx-9BZ3PcgjXAXMaPQZLdD4gJcnb%2BJpAsOxhw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
