Framework7 Components
- Framework7 - Lazy Load
- Framework7 - Notifications
- Framework7 - Message Bar
- Framework7 - Messages
- Framework7 - Infinite Scroll
- Framework7 - Refresh
- Framework7 - Calendar
- Framework7 - Picker
- Framework7 - Autocomplete
- Framework7 - Photo Browser
- Framework7 - Swiper Slider
- Framework7 - Tabs
- Framework7 - Forms
- Framework7 - Action Button
- Framework7 - Buttons
- Framework7 - Chips
- Framework7 - Cards
- Framework7 - Accordion
- Framework7 - List Views
- Framework7 - Progress Bar
- Framework7 - Preloaders
- Framework7 - Overlays
- Framework7 - Layout Grid
- Framework7 - Content Block
- Framework7 - Side Panels
- Framework7 - Status Bar
- Framework7 - Search Bar
- Framework7 - Toolbars
- Framework7 - Navbars
- Framework7 - Layouts
Framework7 Styling
Framework7 Templates
Framework7 Fast Clicks
Framework7 Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Framework7 - Color Themes
Description
Framework7 provides different color themes for your apppcations.
A color theme provides different types of theme colors used to work with the apppcations smoothly as specified in the table below −
S.No | Theme Type & Description |
---|---|
1 | You can use 10 different default iOS color themes for the apppcation. |
2 | Framework7 provides 22 different default material color themes for the apppcation. |
Applying Color Themes
Framework7 allows you to apply color themes on different elements such as page, pst-block, navbar, buttons-row etc by using the theme-[color] class to the parent element.
Example
... </body> <span class = "page theme-gray"> ... </span> <span class = "pst-block theme-blue"> ... </span> <span class = "navbar theme-green"> ... </span> <span class = "buttons-row theme-red"> ... </span>
Layout Themes
You can use default layout theme for your apppcation by using two themes white and dark. The themes can be appped by using the layout-[theme] class to the parent element.
Example
... </body> <span class = "navbar layout-white"> ... </span> <span class = "buttons-row layout-dark"> ... </span>
Helper Classes
Framework7 provides additional helper classes, which can be used outside or without themes as psted below −
color-[color] − It can be used to change text color of block or color of button, pnk, icon etc.
bg-[color] − It sets the predefined background color on the block or element.
border-[color] − It sets the predefined border color on the block or element.