Home » Eclipse Projects » Remote Application Platform (RAP) » Custom Theme Override(custom theme to override business theme)
Custom Theme Override [message #806049] |
Fri, 24 February 2012 13:36 |
Sudesh Bulathsinhala Messages: 193 Registered: October 2010 |
Senior Member |
|
|
hello,
we're working on latest build RAP 1.5 M5.
we have customized the look'n feel using our custom-theme(css file), which extends the business-theme.
with 1.5 M5, our custom-theme, by default extends the RAP default-theme shipped (I call BIG-THEME), hence our widgets and controls are in a disarray.
our requirement is to apply business-theme in core and extend it with our custom-theme.
hence, we shall preserve the UI consistency, we've achieved so far.
let us know, if there's a workaround exist ?
thanks,
sudesh bulathsinhala
|
|
| | | | | | | | | |
Re: Custom Theme Override [message #999573 is a reply to message #999219] |
Sat, 12 January 2013 14:03 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Michael,
application.addStyleSheet(<existing_theme_id>, <CSS file>);
HTH,
Ivan
On 1/11/2013 9:14 PM, Michael Grossmann wrote:
> Is it possible to add a theme contribution for an standalone rwt
> application as described here:
> http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=1.5
>
> I only figgured out how set a complete theme for standalone rwt
> applications:
>
> final Map<String, String> properties = new HashMap<String, String>();
> properties.put(WebClient.THEME_ID, "my.theme.id");
> application.addEntryPoint("/MyApp", MyApp.class, properties);
>
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Goto Forum:
Current Time: Fri Apr 26 19:28:43 GMT 2024
Powered by FUDForum. Page generated in 0.04589 seconds
|