Skip to content

Commit

Permalink
feat: replace material icons with symbols (#487)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: applications using the titanium-icon-picker must now use the new material symbols font.
  • Loading branch information
kaseyhinton committed Oct 6, 2023
1 parent 8629dce commit a7285b5
Show file tree
Hide file tree
Showing 5 changed files with 3,304 additions and 2,204 deletions.
1 change: 1 addition & 0 deletions packages/leavittbook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" defer async rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Material+Icons+Outlined&display=block" defer async rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400" rel="stylesheet" />

<script>
//do not set ClaimScopes on sites with the manage side menu
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Material+Icons+Outlined&display=block" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400" rel="stylesheet" />
<style>
body {
font-family: Roboto, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
Expand All @@ -26,7 +26,7 @@
--mdc-theme-secondary: var(--app-secondary-color);
--mdc-text-field-outlined-idle-border-color: var(--app-border-color);
--mdc-select-outlined-idle-border-color: var(--app-border-color);
--mdc-icon-font: 'Material Icons Outlined';
--mdc-icon-font: 'Material Symbols Outlined';
}

@font-face {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class TitaniumIconPickerPlayground extends LitElement {
:host {
display: flex;
flex-direction: column;
--mdc-icon-font: 'Material Icons Outlined';
--mdc-icon-font: 'Material Symbols Outlined';
margin: 24px 12px;
}
Expand Down
Loading

0 comments on commit a7285b5

Please sign in to comment.