官术网_书友最值得收藏!

Theming Concepts and Layouts

The main goal of this chapter is to provide an introduction to PrimeNG themes, layouts, and the concepts involved. The theming concept used in PrimeNG is similar to the jQuery ThemeRoller CSS Framework (http://jqueryui.com/themeroller). PrimeNG components are designed to allow a developer to integrate them seamlessly into the look and feel of an entire web application. At the time of writing, there are 17 free themes and 5 premium themes and layouts. Free themes include ThemeRoller themes, a Twitter Bootstrap theme, and some custom themes powered by PrimeFaces and PrimeNG. Such themes are distributed along with PrimeNG itself under Apache License.

In Chapter 1, Getting Started with Angular and PrimeNG, we showed three possible setups and theme installations. You can also play with the free themes in the PrimeNG showcase (https://www.primefaces.org/primeng) by switching them dynamically--a theme switcher is available at the top-right corner. Premium themes can be purchased as standalone themes. You can preview premium themes and layouts in the PrimeNG Theme Gallery (http://primefaces.org/themes).

Elite or pro users can use some premium themes (currently Omega) without extra costs. More information about license models can be found on the license page ( https://www.primefaces.org/licenses).

In this chapter, we will cover the following topics:

  • Understanding structural and skinning CSS
  • Organizing your project structure with SASS
  • Simple ways to create a new theme
  • Responsive grid system in PrimeNG
  • Bootstrap's responsive layout meets PrimeNG
主站蜘蛛池模板: 探索| 武宣县| 义马市| 德令哈市| 庆元县| 星子县| 武陟县| 丹巴县| 临湘市| 老河口市| 溧水县| 大化| 汕头市| 兴安盟| 海淀区| 元谋县| 郑州市| 东宁县| 呈贡县| 太仆寺旗| 泗水县| 鸡西市| 积石山| 鹰潭市| 太保市| 驻马店市| 黔东| 资源县| 犍为县| 广宁县| 绥德县| 井冈山市| 大悟县| 博客| 泗洪县| 贵阳市| 油尖旺区| 七台河市| 武城县| 南通市| 济阳县|