Merge pull request #218 in YR/star-web-components from fix-control-button-icon to master

* commit '2d160e68315e9df9aaeac32e45c2077f8ed6ce76':
  (fix&update)修正控制按钮块的图标,更新star-icons
This commit is contained in:
汪昌棋 2022-12-30 17:09:18 +08:00
commit d3327c5809
4 changed files with 22 additions and 7 deletions

View File

@ -30,7 +30,7 @@ export class DropDownMenu extends StarBaseElement {
<icon-control-bar
id="edit"
type=${IconControlBarType.BASE_WITHOUT_BORDER}
icon="compose"
icon="edit"
disabled="true"
></icon-control-bar>
<icon-control-bar

Binary file not shown.

View File

@ -68,7 +68,7 @@ export const sharedStyles: CSSResult = css`
text-align: center;
vertical-align: middle;
content: attr(data-icon);
font-family: 'gaia-icons';
font-family: 'star-icons';
font-style: normal;
text-rendering: optimizelegibility;
font-weight: 500;

View File

@ -28,6 +28,7 @@ export class PanelFontsStarIcons extends LitElement {
'app-management',
'arrow-left',
'arrow-right',
'arrow-up',
'artist',
'attachment',
'authorization-management',
@ -84,8 +85,10 @@ export class PanelFontsStarIcons extends LitElement {
'camera-web',
'camera',
'change-wallpaper',
'check',
'clear-input-left',
'clear-input-right',
'clear',
'close',
'compose',
'computer',
@ -93,7 +96,9 @@ export class PanelFontsStarIcons extends LitElement {
'contacts',
'crashed',
'crop',
'darkmode',
'data',
'deblock',
'delete-corner',
'delete',
'developer',
@ -103,6 +108,7 @@ export class PanelFontsStarIcons extends LitElement {
'do-not-track',
'download-circle',
'download',
'drop-down',
'edge',
'edit-contact',
'edit-image',
@ -154,7 +160,9 @@ export class PanelFontsStarIcons extends LitElement {
'info',
'invisible',
'ip',
'jump',
'keyboard-circle',
'keyboard-simple',
'keyboard',
'languages',
'left-arrow',
@ -164,7 +172,7 @@ export class PanelFontsStarIcons extends LitElement {
'light-effect',
'link',
'location',
'lock-lm',
'lock-2',
'lock',
'manual',
'media-mute',
@ -179,7 +187,6 @@ export class PanelFontsStarIcons extends LitElement {
'minus',
'mobile-data',
'mobile-devices',
'mode-dark',
'mode-do-not-disturb',
'mode-energy-saving',
'mode-eye-protection',
@ -211,6 +218,7 @@ export class PanelFontsStarIcons extends LitElement {
'ratio',
'reboot',
'recent-calls',
'record',
'reduce-db',
'reference-value',
'reload',
@ -230,6 +238,7 @@ export class PanelFontsStarIcons extends LitElement {
'screen-recording',
'screen-size',
'screen',
'screenshot',
'sd-card',
'search',
'see',
@ -245,8 +254,11 @@ export class PanelFontsStarIcons extends LitElement {
'shuffle',
'shutdown',
'sign-out',
'signal-0-dm',
'signal-0',
'signal-1-dm',
'signal-1',
'signal-2-dm',
'signal-2',
'signal-2g-0-d',
'signal-2g-0-no',
@ -273,6 +285,7 @@ export class PanelFontsStarIcons extends LitElement {
'signal-2g-4-u',
'signal-2g-4-ud',
'signal-2g-4',
'signal-3-dm',
'signal-3',
'signal-3g-0-d',
'signal-3g-0-no',
@ -299,6 +312,7 @@ export class PanelFontsStarIcons extends LitElement {
'signal-3g-4-u',
'signal-3g-4-ud',
'signal-3g-4',
'signal-4-dm',
'signal-4',
'signal-4g-0-d',
'signal-4g-0-no',
@ -325,7 +339,6 @@ export class PanelFontsStarIcons extends LitElement {
'signal-4g-4-u',
'signal-4g-4-ud',
'signal-4g-4',
'signal-5',
'signal-5g-0-d',
'signal-5g-0-no',
'signal-5g-0-u',
@ -376,8 +389,10 @@ export class PanelFontsStarIcons extends LitElement {
'signal-e-4-u',
'signal-e-4-ud',
'signal-e-4',
'signal-open-card',
'signal-intensity',
'signal-roaming',
'signal-shutdown-dm',
'signal-shutdown',
'sim-1',
'sim-2',
'sim-toolkit',
@ -394,7 +409,6 @@ export class PanelFontsStarIcons extends LitElement {
'stop',
'storage-circle',
'storage',
'switch-camera-dm',
'switch-camera',
'switch',
'sync',
@ -458,6 +472,7 @@ export class PanelFontsStarIcons extends LitElement {
'wifi-nonet-3',
'wifi-nonet-4-dm',
'wifi-nonet-4',
'wifi',
]
render() {