| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- /* primary palette */
- :root {
- --p-primary-50: oklch(0.99 0.141 139.549);
- --p-primary-100: oklch(0.95289 0.141 139.549);
- --p-primary-200: oklch(0.93 0.141 139.549);
- --p-primary-300: oklch(0.90711 0.141 139.549);
- --p-primary-400: oklch(0.88422 0.141 139.549);
- --p-primary-500: oklch(0.86133 0.141 139.549);
- --p-primary-600: oklch(0.741 0.141 139.549);
- --p-primary-700: oklch(0.62067 0.141 139.549);
- --p-primary-800: oklch(0.50033 0.141 139.549);
- --p-primary-900: oklch(0.38 0.141 139.549);
- --p-primary-950: oklch(0.25967 0.141 139.549);
- --p-surface-0: oklch(1 0 360);
- --p-surface-50: oklch(0.9851 0.018 262.177);
- --p-surface-100: oklch(0.9674 0.018 262.177);
- --p-surface-200: oklch(0.9197 0.018 262.177);
- --p-surface-300: oklch(0.8711 0.018 262.177);
- --p-surface-400: oklch(0.7118 0.018 262.177);
- --p-surface-500: oklch(0.5517 0.018 262.177);
- --p-surface-600: oklch(0.4419 0.018 262.177);
- --p-surface-700: oklch(0.30857 0.018 262.177);
- --p-surface-800: oklch(0.28036 0.018 262.177);
- --p-surface-900: oklch(0.26346 0.018 262.177);
- --p-surface-950: oklch(0.1408 0.018 262.177);
- --p-content-border-radius: 6px;
- }
- /* Light */
- :root {
- --p-surface-color: var(--p-surface-0);
- --p-primary-color: var(--p-primary-500);
- --p-primary-contrast-color: var(--p-surface-0);
- --p-primary-hover-color: var(--p-primary-700);
- --p-primary-active-color: var(--p-primary-900);
- --p-content-border-color: var(--p-surface-200);
- --p-content-hover-background: var(--p-surface-100);
- --p-content-hover-color: var(--p-surface-800);
- --p-highlight-background: var(--p-primary-50);
- --p-highlight-color: var(--p-primary-700);
- --p-highlight-focus-background: var(--p-primary-100);
- --p-highlight-focus-color: var(--p-primary-800);
- --p-text-color: var(--p-surface-700);
- --p-text-hover-color: var(--p-surface-800);
- --p-text-muted-color: var(--p-surface-500);
- --p-text-hover-muted-color: var(--p-surface-600);
- }
- /*
- * Dark Mode
- * Defaults to system, change the dark variant selector to match the CSS variable configuration.
- * For example;
- * @custom-variant dark (&:where(.app-dark, .app-dark *));
- * should match to;
- * :root[class="app-dark"]
- */
- @media (prefers-color-scheme: dark) {
- :root {
- --p-surface-color: var(--p-surface-950);
- --p-primary-color: var(--p-primary-400);
- --p-primary-contrast-color: var(--p-surface-900);
- --p-primary-hover-color: var(--p-primary-200);
- --p-primary-active-color: var(--p-primary-50);
- --p-content-border-color: var(--p-surface-700);
- --p-content-hover-background: var(--p-surface-800);
- --p-content-hover-color: var(--p-surface-0);
- --p-highlight-background: var(--p-primary-900);
- --p-highlight-color: var(--p-primary-200);
- --p-highlight-focus-background: var(--p-primary-800);
- --p-highlight-focus-color: var(--p-primary-100);
- --p-text-color: var(--p-surface-0);
- --p-text-hover-color: var(--p-surface-0);
- --p-text-muted-color: var(--p-surface-400);
- --p-text-hover-muted-color: var(--p-surface-300);
- }
- }
- @theme inline {
- --color-surface: var(--p-surface-color);
- --color-primary: var(--p-primary-color);
- --color-primary-emphasis: var(--p-primary-hover-color);
- --color-primary-emphasis-alt: var(--p-primary-active-color);
- --color-primary-contrast: var(--p-primary-contrast-color);
- --color-primary-50: var(--p-primary-50);
- --color-primary-100: var(--p-primary-100);
- --color-primary-200: var(--p-primary-200);
- --color-primary-300: var(--p-primary-300);
- --color-primary-400: var(--p-primary-400);
- --color-primary-500: var(--p-primary-500);
- --color-primary-600: var(--p-primary-600);
- --color-primary-700: var(--p-primary-700);
- --color-primary-800: var(--p-primary-800);
- --color-primary-900: var(--p-primary-900);
- --color-primary-950: var(--p-primary-950);
- }
- :root {
- --theme-primary: oklch(88.422% 0.141 139.549);
- --theme-secondary: oklch(73.375% 0.165 35.353);
- --theme-success: oklch(86.171% 0.142 166.534);
- --theme-info: oklch(86.078% 0.142 206.182);
- --theme-warn: oklch(86.163% 0.142 94.818);
- --theme-help: oklch(74.229% 0.133 311.379);
- --theme-danger: oklch(82.418% 0.099 33.756);
- --theme-l-50: 0.99;
- --theme-l-100: 0.95289;
- --theme-l-200: 0.93;
- --theme-l-300: 0.90711;
- --theme-l-400: 0.88422;
- --theme-l-500: 0.86133;
- --theme-l-600: 0.741;
- --theme-l-700: 0.62067;
- --theme-l-800: 0.50033;
- --theme-l-900: 0.38;
- --theme-l-950: 0.25967;
- --theme-secondary-50: oklch(from var(--theme-secondary) var(--theme-l-50) c h);
- --theme-secondary-100: oklch(from var(--theme-secondary) var(--theme-l-100) c h);
- --theme-secondary-200: oklch(from var(--theme-secondary) var(--theme-l-200) c h);
- --theme-secondary-300: oklch(from var(--theme-secondary) var(--theme-l-300) c h);
- --theme-secondary-400: oklch(from var(--theme-secondary) var(--theme-l-400) c h);
- --theme-secondary-500: oklch(from var(--theme-secondary) var(--theme-l-500) c h);
- --theme-secondary-600: oklch(from var(--theme-secondary) var(--theme-l-600) c h);
- --theme-secondary-700: oklch(from var(--theme-secondary) var(--theme-l-700) c h);
- --theme-secondary-800: oklch(from var(--theme-secondary) var(--theme-l-800) c h);
- --theme-secondary-900: oklch(from var(--theme-secondary) var(--theme-l-900) c h);
- --theme-secondary-950: oklch(from var(--theme-secondary) var(--theme-l-950) c h);
- --theme-success-50: oklch(from var(--theme-success) var(--theme-l-50) c h);
- --theme-success-100: oklch(from var(--theme-success) var(--theme-l-100) c h);
- --theme-success-200: oklch(from var(--theme-success) var(--theme-l-200) c h);
- --theme-success-300: oklch(from var(--theme-success) var(--theme-l-300) c h);
- --theme-success-400: oklch(from var(--theme-success) var(--theme-l-400) c h);
- --theme-success-500: oklch(from var(--theme-success) var(--theme-l-500) c h);
- --theme-success-600: oklch(from var(--theme-success) var(--theme-l-600) c h);
- --theme-success-700: oklch(from var(--theme-success) var(--theme-l-700) c h);
- --theme-success-800: oklch(from var(--theme-success) var(--theme-l-800) c h);
- --theme-success-900: oklch(from var(--theme-success) var(--theme-l-900) c h);
- --theme-success-950: oklch(from var(--theme-success) var(--theme-l-950) c h);
- --theme-info-50: oklch(from var(--theme-info) var(--theme-l-50) c h);
- --theme-info-100: oklch(from var(--theme-info) var(--theme-l-100) c h);
- --theme-info-200: oklch(from var(--theme-info) var(--theme-l-200) c h);
- --theme-info-300: oklch(from var(--theme-info) var(--theme-l-300) c h);
- --theme-info-400: oklch(from var(--theme-info) var(--theme-l-400) c h);
- --theme-info-500: oklch(from var(--theme-info) var(--theme-l-500) c h);
- --theme-info-600: oklch(from var(--theme-info) var(--theme-l-600) c h);
- --theme-info-700: oklch(from var(--theme-info) var(--theme-l-700) c h);
- --theme-info-800: oklch(from var(--theme-info) var(--theme-l-800) c h);
- --theme-info-900: oklch(from var(--theme-info) var(--theme-l-900) c h);
- --theme-info-950: oklch(from var(--theme-info) var(--theme-l-950) c h);
- --theme-warn-50: oklch(from var(--theme-warn) var(--theme-l-50) c h);
- --theme-warn-100: oklch(from var(--theme-warn) var(--theme-l-100) c h);
- --theme-warn-200: oklch(from var(--theme-warn) var(--theme-l-200) c h);
- --theme-warn-300: oklch(from var(--theme-warn) var(--theme-l-300) c h);
- --theme-warn-400: oklch(from var(--theme-warn) var(--theme-l-400) c h);
- --theme-warn-500: oklch(from var(--theme-warn) var(--theme-l-500) c h);
- --theme-warn-600: oklch(from var(--theme-warn) var(--theme-l-600) c h);
- --theme-warn-700: oklch(from var(--theme-warn) var(--theme-l-700) c h);
- --theme-warn-800: oklch(from var(--theme-warn) var(--theme-l-800) c h);
- --theme-warn-900: oklch(from var(--theme-warn) var(--theme-l-900) c h);
- --theme-warn-950: oklch(from var(--theme-warn) var(--theme-l-950) c h);
- --theme-help-50: oklch(from var(--theme-help) var(--theme-l-50) c h);
- --theme-help-100: oklch(from var(--theme-help) var(--theme-l-100) c h);
- --theme-help-200: oklch(from var(--theme-help) var(--theme-l-200) c h);
- --theme-help-300: oklch(from var(--theme-help) var(--theme-l-300) c h);
- --theme-help-400: oklch(from var(--theme-help) var(--theme-l-400) c h);
- --theme-help-500: oklch(from var(--theme-help) var(--theme-l-500) c h);
- --theme-help-600: oklch(from var(--theme-help) var(--theme-l-600) c h);
- --theme-help-700: oklch(from var(--theme-help) var(--theme-l-700) c h);
- --theme-help-800: oklch(from var(--theme-help) var(--theme-l-800) c h);
- --theme-help-900: oklch(from var(--theme-help) var(--theme-l-900) c h);
- --theme-help-950: oklch(from var(--theme-help) var(--theme-l-950) c h);
- --theme-danger-50: oklch(from var(--theme-danger) var(--theme-l-50) c h);
- --theme-danger-100: oklch(from var(--theme-danger) var(--theme-l-100) c h);
- --theme-danger-200: oklch(from var(--theme-danger) var(--theme-l-200) c h);
- --theme-danger-300: oklch(from var(--theme-danger) var(--theme-l-300) c h);
- --theme-danger-400: oklch(from var(--theme-danger) var(--theme-l-400) c h);
- --theme-danger-500: oklch(from var(--theme-danger) var(--theme-l-500) c h);
- --theme-danger-600: oklch(from var(--theme-danger) var(--theme-l-600) c h);
- --theme-danger-700: oklch(from var(--theme-danger) var(--theme-l-700) c h);
- --theme-danger-800: oklch(from var(--theme-danger) var(--theme-l-800) c h);
- --theme-danger-900: oklch(from var(--theme-danger) var(--theme-l-900) c h);
- --theme-danger-950: oklch(from var(--theme-danger) var(--theme-l-950) c h);
- --theme-secondary-color: var(--theme-secondary-500);
- --theme-secondary-contrast-color: var(--p-primary-contrast-color);
- --theme-secondary-hover-color: var(--theme-secondary-700);
- --theme-secondary-active-color: var(--theme-secondary-900);
- --theme-secondary-highlight-background: var(--theme-secondary-50);
- --theme-secondary-highlight-color: var(--theme-secondary-700);
- --theme-secondary-highlight-focus-background: var(--theme-secondary-100);
- --theme-secondary-highlight-focus-color: var(--theme-secondary-800);
- --theme-success-color: var(--theme-success-500);
- --theme-success-contrast-color: var(--p-primary-contrast-color);
- --theme-success-hover-color: var(--theme-success-700);
- --theme-success-active-color: var(--theme-success-900);
- --theme-success-highlight-background: var(--theme-success-50);
- --theme-success-highlight-color: var(--theme-success-700);
- --theme-success-highlight-focus-background: var(--theme-success-100);
- --theme-success-highlight-focus-color: var(--theme-success-800);
- --theme-info-color: var(--theme-info-500);
- --theme-info-contrast-color: var(--p-primary-contrast-color);
- --theme-info-hover-color: var(--theme-info-700);
- --theme-info-active-color: var(--theme-info-900);
- --theme-info-highlight-background: var(--theme-info-50);
- --theme-info-highlight-color: var(--theme-info-700);
- --theme-info-highlight-focus-background: var(--theme-info-100);
- --theme-info-highlight-focus-color: var(--theme-info-800);
- --theme-warn-color: var(--theme-warn-500);
- --theme-warn-contrast-color: var(--p-primary-contrast-color);
- --theme-warn-hover-color: var(--theme-warn-700);
- --theme-warn-active-color: var(--theme-warn-900);
- --theme-warn-highlight-background: var(--theme-warn-50);
- --theme-warn-highlight-color: var(--theme-warn-700);
- --theme-warn-highlight-focus-background: var(--theme-warn-100);
- --theme-warn-highlight-focus-color: var(--theme-warn-800);
- --theme-help-color: var(--theme-help-500);
- --theme-help-contrast-color: var(--p-primary-contrast-color);
- --theme-help-hover-color: var(--theme-help-700);
- --theme-help-active-color: var(--theme-help-900);
- --theme-help-highlight-background: var(--theme-help-50);
- --theme-help-highlight-color: var(--theme-help-700);
- --theme-help-highlight-focus-background: var(--theme-help-100);
- --theme-help-highlight-focus-color: var(--theme-help-800);
- --theme-danger-color: var(--theme-danger-500);
- --theme-danger-contrast-color: var(--p-primary-contrast-color);
- --theme-danger-hover-color: var(--theme-danger-700);
- --theme-danger-active-color: var(--theme-danger-900);
- --theme-danger-highlight-background: var(--theme-danger-50);
- --theme-danger-highlight-color: var(--theme-danger-700);
- --theme-danger-highlight-focus-background: var(--theme-danger-100);
- --theme-danger-highlight-focus-color: var(--theme-danger-800);
- }
- @media (prefers-color-scheme: dark) {
- :root {
- --theme-secondary-color: var(--theme-secondary-400);
- --theme-secondary-contrast-color: var(--p-surface-900);
- --theme-secondary-hover-color: var(--theme-secondary-200);
- --theme-secondary-active-color: var(--theme-secondary-50);
- --theme-success-color: var(--theme-success-400);
- --theme-success-contrast-color: var(--p-surface-900);
- --theme-success-hover-color: var(--theme-success-200);
- --theme-success-active-color: var(--theme-success-50);
- --theme-info-color: var(--theme-info-400);
- --theme-info-contrast-color: var(--p-surface-900);
- --theme-info-hover-color: var(--theme-info-200);
- --theme-info-active-color: var(--theme-info-50);
- --theme-warn-color: var(--theme-warn-400);
- --theme-warn-contrast-color: var(--p-surface-900);
- --theme-warn-hover-color: var(--theme-warn-200);
- --theme-warn-active-color: var(--theme-warn-50);
- --theme-help-color: var(--theme-help-400);
- --theme-help-contrast-color: var(--p-surface-900);
- --theme-help-hover-color: var(--theme-help-200);
- --theme-help-active-color: var(--theme-help-50);
- --theme-danger-color: var(--theme-danger-400);
- --theme-danger-contrast-color: var(--p-surface-900);
- --theme-danger-hover-color: var(--theme-danger-200);
- --theme-danger-active-color: var(--theme-danger-50);
- }
- }
- @theme inline {
- --color-secondary: var(--theme-secondary-color);
- --color-secondary-emphasis: var(--theme-secondary-hover-color);
- --color-secondary-emphasis-alt: var(--theme-secondary-active-color);
- --color-secondary-contrast: var(--theme-secondary-contrast-color);
- --color-secondary-50: var(--theme-secondary-50);
- --color-secondary-100: var(--theme-secondary-100);
- --color-secondary-200: var(--theme-secondary-200);
- --color-secondary-300: var(--theme-secondary-300);
- --color-secondary-400: var(--theme-secondary-400);
- --color-secondary-500: var(--theme-secondary-500);
- --color-secondary-600: var(--theme-secondary-600);
- --color-secondary-700: var(--theme-secondary-700);
- --color-secondary-800: var(--theme-secondary-800);
- --color-secondary-900: var(--theme-secondary-900);
- --color-secondary-950: var(--theme-secondary-950);
- --color-success: var(--theme-success-color);
- --color-success-emphasis: var(--theme-success-hover-color);
- --color-success-emphasis-alt: var(--theme-success-active-color);
- --color-success-contrast: var(--theme-success-contrast-color);
- --color-success-50: var(--theme-success-50);
- --color-success-100: var(--theme-success-100);
- --color-success-200: var(--theme-success-200);
- --color-success-300: var(--theme-success-300);
- --color-success-400: var(--theme-success-400);
- --color-success-500: var(--theme-success-500);
- --color-success-600: var(--theme-success-600);
- --color-success-700: var(--theme-success-700);
- --color-success-800: var(--theme-success-800);
- --color-success-900: var(--theme-success-900);
- --color-success-950: var(--theme-success-950);
- --color-info: var(--theme-info-color);
- --color-info-emphasis: var(--theme-info-hover-color);
- --color-info-emphasis-alt: var(--theme-info-active-color);
- --color-info-contrast: var(--theme-info-contrast-color);
- --color-info-50: var(--theme-info-50);
- --color-info-100: var(--theme-info-100);
- --color-info-200: var(--theme-info-200);
- --color-info-300: var(--theme-info-300);
- --color-info-400: var(--theme-info-400);
- --color-info-500: var(--theme-info-500);
- --color-info-600: var(--theme-info-600);
- --color-info-700: var(--theme-info-700);
- --color-info-800: var(--theme-info-800);
- --color-info-900: var(--theme-info-900);
- --color-info-950: var(--theme-info-950);
- --color-warn: var(--theme-warn-color);
- --color-warn-emphasis: var(--theme-warn-hover-color);
- --color-warn-emphasis-alt: var(--theme-warn-active-color);
- --color-warn-contrast: var(--theme-warn-contrast-color);
- --color-warn-50: var(--theme-warn-50);
- --color-warn-100: var(--theme-warn-100);
- --color-warn-200: var(--theme-warn-200);
- --color-warn-300: var(--theme-warn-300);
- --color-warn-400: var(--theme-warn-400);
- --color-warn-500: var(--theme-warn-500);
- --color-warn-600: var(--theme-warn-600);
- --color-warn-700: var(--theme-warn-700);
- --color-warn-800: var(--theme-warn-800);
- --color-warn-900: var(--theme-warn-900);
- --color-warn-950: var(--theme-warn-950);
- --color-help: var(--theme-help-color);
- --color-help-emphasis: var(--theme-help-hover-color);
- --color-help-emphasis-alt: var(--theme-help-active-color);
- --color-help-contrast: var(--theme-help-contrast-color);
- --color-help-50: var(--theme-help-50);
- --color-help-100: var(--theme-help-100);
- --color-help-200: var(--theme-help-200);
- --color-help-300: var(--theme-help-300);
- --color-help-400: var(--theme-help-400);
- --color-help-500: var(--theme-help-500);
- --color-help-600: var(--theme-help-600);
- --color-help-700: var(--theme-help-700);
- --color-help-800: var(--theme-help-800);
- --color-help-900: var(--theme-help-900);
- --color-help-950: var(--theme-help-950);
- --color-danger: var(--theme-danger-color);
- --color-danger-emphasis: var(--theme-danger-hover-color);
- --color-danger-emphasis-alt: var(--theme-danger-active-color);
- --color-danger-contrast: var(--theme-danger-contrast-color);
- --color-danger-50: var(--theme-danger-50);
- --color-danger-100: var(--theme-danger-100);
- --color-danger-200: var(--theme-danger-200);
- --color-danger-300: var(--theme-danger-300);
- --color-danger-400: var(--theme-danger-400);
- --color-danger-500: var(--theme-danger-500);
- --color-danger-600: var(--theme-danger-600);
- --color-danger-700: var(--theme-danger-700);
- --color-danger-800: var(--theme-danger-800);
- --color-danger-900: var(--theme-danger-900);
- --color-danger-950: var(--theme-danger-950);
- }
- @custom-variant p-secondary {
- &:where([data-p-severity~="secondary"], [data-p~="secondary"]) {
- @slot;
- }
- }
- @custom-variant p-contrast {
- &:where([data-p-severity~="contrast"], [data-p~="contrast"]) {
- @slot;
- }
- }
- @custom-variant p-success {
- &:where([data-p-severity~="success"], [data-p~="success"]) {
- @slot;
- }
- }
- @custom-variant p-info {
- &:where([data-p-severity~="info"], [data-p~="info"]) {
- @slot;
- }
- }
- @custom-variant p-warn {
- &:where([data-p-severity~="warn"], [data-p~="warn"]) {
- @slot;
- }
- }
- @custom-variant p-help {
- &:where([data-p-severity~="help"], [data-p~="help"]) {
- @slot;
- }
- }
- @custom-variant p-danger {
- &:where([data-p-severity~="danger"], [data-p~="danger"]) {
- @slot;
- }
- }
- @custom-variant p-error {
- &:where([data-p-severity~="error"], [data-p~="error"]) {
- @slot;
- }
- }
|