Giter Site home page Giter Site logo

Comments (4)

lubber-de avatar lubber-de commented on May 18, 2024

Is this really needed? By default all 3 backgrounds for item (item,content,extra) are either none or transparent. So if the body background will be set black, then it works out of the box,

An item is basically only some layout container, rather than a design element.
All possible elements within an item need to be set to inverted separately anyway if desired by the developer.

Of course we can offer inverted item which would just set the background to black by default, but nothing else is needed then IMHO.

Did you have some other behaviour in mind?

from fomantic-ui.

lubber-de avatar lubber-de commented on May 18, 2024

Ok, i'll prepare a little PR. I just recognized some color values have indeed default (black) settings within item (but still most default values are again empty strings (which is invalid CSS anyway btw, We should set those empty strings to inherit instead?)

from fomantic-ui.

y0hami avatar y0hami commented on May 18, 2024

I was thinking if an item was inverted the text for example would be white instead of black.

In this case (below) this is a list of items inside an inverted segment.
image

from fomantic-ui.

lubber-de avatar lubber-de commented on May 18, 2024

Fixed in current Release https://github.com/fomantic/Fomantic-UI/tree/2.6.4

from fomantic-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.