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

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
主站蜘蛛池模板: 额敏县| 汕尾市| 孟津县| 诸城市| 嫩江县| 永清县| 左权县| 昂仁县| 桐柏县| 奎屯市| 云龙县| 嵊泗县| 探索| 湄潭县| 封丘县| 海伦市| 广南县| 襄汾县| 垫江县| 嫩江县| 得荣县| 晋江市| 两当县| 安达市| 乐清市| 萨嘎县| 循化| 大安市| 青川县| 家居| 商城县| 通城县| 中西区| 旅游| 安吉县| 新建县| 通山县| 常山县| 新沂市| 威远县| 潜江市|