This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Description
Description
With the introduction of Xamarin Forms 3.0 css is now supported. While most of the css is generally valid css, there is a selector that is not typically supported for web applications. Having the ability to generate the css from Sass would be hugely beneficial but currently the Sass compiler generates an exception. I need a way that I can support compiling sass that uses the derived types syntax:
| Selector |
Example |
Description |
| ^base |
^contentpage |
Selects all elements with ContentPage as base class, including ContentPage itself. Case irrelevant. This selector isn't present in the CSS specification, and only applies to XF. |
Sample
As an example I might want to make all buttons have a transparent background whether I'm using the base Button class or some custom Button class.
^button {
background-color: transparent;
}