Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #35001
Closed
Open
Issue created Sep 17, 2021 by Administrator@rootContributor

Form switch with theme color

Created by: flohw

In our project we took the advantage of .form-swich component. But we would like to be able to be able to customize colors when the subsequent checkbox is checked or not. Not only with the data image/colors variable available but by using .bg-<theme color name> classes.

Is it a feature that can be implemented?

I would be happy to create a PR for this but I need some clue how to implement this. I think I can handle this easily with BS4 (the version we use for now) but I am not sure how to proceed with BS5. As BS5 is live for a while now, I think the feature would not be accepted for a previous version, wouldn't it? 😉

Thank you

Assignee
Assign to
Time tracking