PHP code example of pushinbr / pam-native-ui
1. Go to this page and download the library: Download pushinbr/pam-native-ui library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pushinbr / pam-native-ui example snippets
use Pam\MobileUi\Enum\ColorToken;
use Pam\MobileUi\PamUI;
use Pam\MobileUi\Theme\Color;
use Pam\MobileUi\Theme\Themes;
PamUI::theme(
Themes::pamLight()->withColors([
ColorToken::Primary->value => Color::rgb(0, 95, 184),
]),
Themes::pamDark()->withColors([
ColorToken::Primary->value => Color::rgb(167, 201, 255),
]),
);