Giter VIP home page Giter VIP logo

Comments (4)

leoding86 avatar leoding86 commented on June 12, 2024 1

Add theme support. You can create a theme.css file in application's config folder and customize UI. For customize tag colors, you can overwrite class and reload theme in general setting.

Default color style:

.download-list-item--undetermined {
  .download-list-item-item__tag {
    background: rgb(125, 125, 125);
  }
}

.download-list-item--pixiv_ugoira {
  .download-list-item__tag {
    background: rgb(255, 170, 139);
  }
}

.download-list-item--pixiv_illustration {
  .download-list-item__tag {
    background: rgb(226, 118, 118);
  }
}

.download-list-item--pixiv_manga {
  .download-list-item__tag {
    background: rgb(146, 215, 218);
  }
}

.download-list-item--pixiv_comic {
  .download-list-item__tag {
    background: rgb(0, 135, 255);
  }
}

.download-list-item--pixiv_novel {
  .download-list-item__tag {
    background: rgb(55, 55, 55);
  }
}

from pixiv-omina.

sakkamade avatar sakkamade commented on June 12, 2024

Add theme support. ...

@leoding86, Great! Thank you!

Though something went wrong and now padding is slightly broken (look the position of the tag), and the items always styled as highlighted/selected (the blue border and overlay)—class download-list-item--selected is the default one.
Here are the screenshots:

Not selected

omina selected 2

Selected

omina selected 1

from pixiv-omina.

sakkamade avatar sakkamade commented on June 12, 2024

Selection was fixed, while the problem with padding apparently seemed to me only because of the thick border. Thank you!

from pixiv-omina.

sakkamade avatar sakkamade commented on June 12, 2024

@leoding86, Will there be support for SASS (.scss) theme file?

from pixiv-omina.

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.