Pulling colors from skins

4 posts, 0 answers
  1. Mike
    Mike avatar
    18 posts
    Member since:
    Jul 2008

    Posted 16 Oct 2009 Link to this post

    Is there a class in themes that just contains the base colors?

    I have a form that has a header area on it that should match the feel of the them.  Ideally, I would add class="baseBackground" or something along those lines.
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 19 Oct 2009 Link to this post

    Hello Mike,

    RadControls do not use common CSS classes for their text color. However, you can use H4, H5 and H6 headings together with RadFormDecorator to apply an appropriate color for them.

    http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx

    All the best,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    18 posts
    Member since:
    Jul 2008

    Posted 19 Oct 2009 Link to this post

    What about page background colors? i.e the black theme changes the page background to black. 
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 19 Oct 2009 Link to this post

    Hello Mike,

    This can be achieved with RadFormDecorator as well ( DecoratedControls="Zone" ). You can either set a DecorationZoneID which will have the background color applied, or if you omit the property, the background color will be applied to the whole page.


    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top