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 <icon-control-bar
id="edit" id="edit"
type=${IconControlBarType.BASE_WITHOUT_BORDER} type=${IconControlBarType.BASE_WITHOUT_BORDER}
icon="compose" icon="edit"
disabled="true" disabled="true"
></icon-control-bar> ></icon-control-bar>
<icon-control-bar <icon-control-bar

Binary file not shown.

View File

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

View File

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