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

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
主站蜘蛛池模板: 抚顺县| 鲁山县| 迭部县| 兴隆县| 琼中| 平和县| 昌都县| 泗洪县| 仙居县| 永嘉县| 曲麻莱县| 承德市| 铜山县| 南平市| 阳山县| 金堂县| 额济纳旗| 兴仁县| 武邑县| 荔浦县| 清流县| 梁山县| 新营市| 普兰县| 旺苍县| 青川县| 原阳县| 阿尔山市| 浦东新区| 溧阳市| 镇坪县| 郧西县| 区。| 姜堰市| 永善县| 余江县| 黄骅市| 顺义区| 泰州市| 临湘市| 虹口区|