@rdlabo/ionic-theme-ios26 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,6 @@ import {
13
13
  IonList,
14
14
  IonListHeader,
15
15
  IonNote,
16
- IonText,
17
16
  IonTitle,
18
17
  IonToggle,
19
18
  IonToolbar,
@@ -45,7 +44,6 @@ interface IComponent {
45
44
  IonList,
46
45
  IonListHeader,
47
46
  IonItemGroup,
48
- IonText,
49
47
  IonNote,
50
48
  IonToggle,
51
49
  ],
@@ -1,9 +0,0 @@
1
- ion-label {
2
- margin-bottom: 4px;
3
- }
4
-
5
- ion-tab-bar {
6
- &.tab-bar-hide {
7
- display: none;
8
- }
9
- }
@@ -19,9 +19,9 @@ export class TabsPage implements OnInit {
19
19
  return;
20
20
  }
21
21
  if (['/main/settings'].includes(params.urlAfterRedirects)) {
22
- tabBar.classList.add('tab-bar-hide');
22
+ tabBar.classList.add('tab-bar-hidden');
23
23
  } else if (tabBar) {
24
- tabBar.classList.remove('tab-bar-hide');
24
+ tabBar.classList.remove('tab-bar-hidden');
25
25
  }
26
26
  });
27
27
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-theme-ios26",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "iOS26 CSS Theme for Ionic Framework",
5
5
  "exports": {
6
6
  "./src/*": {
7
7
  "style": "./src/*"
8
8
  },
9
- "./css/*": {
10
- "style": "./css/*"
9
+ "./dist/*": {
10
+ "style": "./dist/*"
11
11
  },
12
12
  "./package.json": {
13
13
  "default": "./package.json"
@@ -9,6 +9,10 @@
9
9
  @include api.glass-background;
10
10
  border-radius: 25px;
11
11
  overflow: hidden;
12
+
13
+ /**
14
+ * compare .header-collapse-main ion-toolbar.in-toolbar ion-title, .header-collapse-main ion-toolbar.in-toolbar ion-buttons
15
+ */
12
16
  transition: transform 100ms ease-out !important;
13
17
 
14
18
  &:has(.ion-activated) {
@@ -32,7 +36,8 @@
32
36
 
33
37
  &::part(native) {
34
38
  /**
35
- * TODO: remove !important.
39
+ * overwrite theme-button mixin.
40
+ * ex) ion-button.ios:not(.ios26-disabled):not(.button-solid):not(.ios26-button-solid):not(.button-outline):not(.ios26-button-outline):not(.button-clear):not(.ios26-button-clear)::part(native)
36
41
  */
37
42
  box-shadow: none !important;
38
43
  border: none !important;
@@ -76,9 +81,11 @@
76
81
  }
77
82
  }
78
83
 
79
- --border-radius: 24px !important;
80
- &.button-large {
81
- --border-radius: 30px !important;
84
+ &:not(.button-round) {
85
+ --border-radius: 24px;
86
+ &.button-large {
87
+ --border-radius: 30px;
88
+ }
82
89
  }
83
90
 
84
91
  &:not(.button-clear):not(.ios26-button-clear) {
@@ -4,6 +4,6 @@ ion-datetime.ios:not(.ios26-disabled) {
4
4
  @include api.glass-background;
5
5
  border-radius: 24px;
6
6
 
7
- --wheel-highlight-background: transparent !important;
8
- --wheel-highlight-border-radius: 24px !important;
7
+ --wheel-highlight-background: transparent;
8
+ --wheel-highlight-border-radius: 24px;
9
9
  }
@@ -3,8 +3,8 @@
3
3
  ion-modal.ios:not(.ios26-disabled) {
4
4
  --backdrop-opacity: 0.2;
5
5
  ion-toolbar {
6
- padding-right: calc(var(--ion-safe-area-right) + 4px) !important;
7
- padding-left: calc(var(--ion-safe-area-left) + 4px) !important;
6
+ padding-right: calc(var(--ion-safe-area-right) + 4px);
7
+ padding-left: calc(var(--ion-safe-area-left) + 4px);
8
8
  }
9
9
  &::part(handle) {
10
10
  width: 80px;
@@ -3,7 +3,6 @@
3
3
  ion-modal.ios {
4
4
  ion-searchbar:not(.ios26-disabled) {
5
5
  .searchbar-input-container {
6
- margin: 0 6px;
7
6
  input.searchbar-input {
8
7
  // Modal表示でのアイコン非表示の不具合の対応
9
8
  backdrop-filter: none;
@@ -28,10 +27,10 @@ ion-searchbar.ios:not(.ios26-disabled) {
28
27
  min-height: 44px;
29
28
  @include api.glass-background;
30
29
  border-radius: 20px;
31
- padding-inline-start: 2.4rem !important;
30
+ padding-inline-start: 2.4rem;
32
31
  }
33
32
  .searchbar-clear-button {
34
- padding-inline-end: 2rem !important;
33
+ padding-inline-end: 2rem;
35
34
  }
36
35
  }
37
36
  }
@@ -38,12 +38,13 @@ ion-tab-bar.ios:not(.ios26-disabled) {
38
38
 
39
39
  ion-tab-button {
40
40
  & > ion-icon {
41
- font-size: 30px;
41
+ font-size: 28px;
42
42
  }
43
43
  background: rgba(var(--ios26-color-light-rgb), 0);
44
44
  height: auto;
45
45
  &::part(native) {
46
46
  overflow: visible;
47
+ padding: 2px;
47
48
  }
48
49
 
49
50
  &.tab-selected {
@@ -25,8 +25,7 @@ ion-footer.ios:not(.ios26-disabled).footer-translucent {
25
25
  }
26
26
  }
27
27
 
28
- ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-title,
29
- ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-buttons {
28
+ ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-title {
30
29
  transition: all 0.5s ease-in-out;
31
30
  }
32
31
 
@@ -62,7 +61,7 @@ ion-content::part(background)::after {
62
61
  z-index: 2;
63
62
  bottom: 0;
64
63
  height: calc(56px + var(--ios26-floating-safe-area-bottom));
65
- box-shadow: inset 0 calc(-55px - var(--ios26-floating-safe-area-bottom)) 16px -16px
64
+ box-shadow: inset 0 calc(-56px - var(--ios26-floating-safe-area-bottom)) 16px -16px
66
65
  rgba(var(--ios26-color-background-rgb), var(--ios26-content-box-shadow-opacity));
67
66
  }
68
67