mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 06:09:31 +08:00
feat(themes): add support for modular themes and custom themes (#30651)
Issue number: internal --------- ## What is the new behavior? - Moves `openURL` out of the `theme` utils because it makes more sense in `helpers` - Adds support for the default `default.tokens.ts` design tokens file - Adds support for custom theme set globally and on a component ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Requires additional changes in order to test. --------- Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
This commit is contained in:
committed by
Brandy Smith
parent
fea1e64920
commit
1aa7c35da1
@ -2,9 +2,9 @@ import xRegular from '@phosphor-icons/core/assets/regular/x.svg';
|
||||
import type { ComponentInterface, EventEmitter } from '@stencil/core';
|
||||
import { Component, Element, Event, Host, Prop, h } from '@stencil/core';
|
||||
import type { AnchorInterface, ButtonInterface } from '@utils/element-interface';
|
||||
import { inheritAriaAttributes } from '@utils/helpers';
|
||||
import { inheritAriaAttributes, openURL } from '@utils/helpers';
|
||||
import type { Attributes } from '@utils/helpers';
|
||||
import { createColorClasses, hostContext, openURL } from '@utils/theme';
|
||||
import { createColorClasses, hostContext } from '@utils/theme';
|
||||
import { close } from 'ionicons/icons';
|
||||
|
||||
import { config } from '../../global/config';
|
||||
|
||||
Reference in New Issue
Block a user