noprompt / ankha

A data inspection component for Om
Eclipse Public License 1.0
132 stars 12 forks source link

global css overrides #22

Closed whodidthis closed 7 years ago

whodidthis commented 10 years ago

This library is cool but introduces a bunch of global classes and styles on textareas. Might be more suited for trying out inline styles or namespaced css.

Also is there an option for having all or some leaves toggled visible by default?

noprompt commented 9 years ago

introduces a bunch of global classes

This could be easily solved by adding an ankha- prefix to each of the classes. If you'd like to work up a patch for that, I'd accept it.

trying out inline styles

Classes make more sense from a customization perspective. Inlining the styles removes the flexibility to do that customization and name spacing the CSS won't buy us much (I pondered this for a moment already).

Also is there an option for having all or some leaves toggled visible by default?

No, in fact there are a lot of knobs missing and frankly I'm sort of unhappy with the state of the project which is why I haven't cut a "stable" release yet.

How do you imagine an option looking that would say which leaves to toggle open/closed?