@deque/cauldron-styles 4.6.0-canary.43500cc8 → 4.6.0-canary.53b76d5e

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.
Files changed (2) hide show
  1. package/dist/index.css +32 -29
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -4043,6 +4043,20 @@ fieldset.Panel {
4043
4043
  line-height: var(--address-line-height);
4044
4044
  }
4045
4045
 
4046
+ :root {
4047
+ --pagination-button-background-color: var(--gray-20);
4048
+ --pagination-button-border-color: var(--gray-40);
4049
+ --pagination-button-disabled-text-color: var(--gray-40);
4050
+ --pagination-text-accent-color: var(--gray-90);
4051
+ }
4052
+
4053
+ .cauldron--theme-dark {
4054
+ --pagination-button-background-color: var(--accent-medium);
4055
+ --pagination-button-border-color: transparent;
4056
+ --pagination-button-disabled-text-color: var(--stroke-dark);
4057
+ --pagination-text-accent-color: var(--white);
4058
+ }
4059
+
4046
4060
  .Pagination > ul {
4047
4061
  list-style-type: none;
4048
4062
  display: flex;
@@ -4051,25 +4065,28 @@ fieldset.Panel {
4051
4065
  }
4052
4066
 
4053
4067
  .Pagination > ul > li {
4054
- margin-right: 5px;
4068
+ margin-right: var(--space-smallest);
4055
4069
  }
4056
4070
 
4057
- .Pagination button {
4071
+ .Pagination:not(.Pagination--thin) button {
4058
4072
  height: 2.26rem;
4059
4073
  width: 2.26rem;
4060
- border-radius: 2px;
4074
+ }
4075
+
4076
+ .Pagination button {
4061
4077
  display: flex;
4062
4078
  justify-content: center;
4063
4079
  align-items: center;
4064
4080
  /* light theme-specific styles */
4065
- background: var(--gray-20);
4066
- border: 1px solid var(--gray-40);
4067
- color: var(--gray-90);
4081
+ background: var(--pagination-button-background-color);
4082
+ border: 1px solid var(--pagination-button-border-color);
4083
+ padding: 0;
4084
+ margin: 0;
4085
+ border-radius: 2px;
4068
4086
  }
4069
4087
 
4070
4088
  .Pagination button[aria-disabled='true'] {
4071
- color: var(--gray-40);
4072
- margin: 2px;
4089
+ color: var(--pagination-button-disabled-text-color);
4073
4090
  }
4074
4091
 
4075
4092
  .Pagination button .Icon {
@@ -4078,35 +4095,21 @@ fieldset.Panel {
4078
4095
  }
4079
4096
 
4080
4097
  .Pagination [role='log'] {
4081
- margin-left: calc(var(--space-medium) - 5px);
4082
- margin-right: calc(var(--space-medium) - 5px);
4083
- color: var(--gray-60);
4084
- }
4085
-
4086
- .Pagination [role='log'] strong {
4087
- color: var(--gray-90);
4098
+ margin: 0 var(--space-small);
4099
+ font-variant-numeric: tabular-nums;
4088
4100
  }
4089
4101
 
4090
- /*
4091
- * dark theme
4092
- */
4093
-
4094
- .cauldron--theme-dark .Pagination button {
4095
- background-color: var(--accent-medium);
4096
- border-color: transparent;
4102
+ .Pagination--thin [role='log'] {
4103
+ font-size: var(--text-size-smaller);
4104
+ margin: 0 var(--space-half);
4097
4105
  }
4098
4106
 
4099
- .cauldron--theme-dark .Pagination button[aria-disabled='true'] {
4100
- color: #5d676f;
4107
+ .Pagination [role='log'] strong {
4108
+ color: var(--pagination-text-accent-color);
4101
4109
  }
4102
4110
 
4103
4111
  .cauldron--theme-dark .Pagination [role='log'] {
4104
4112
  color: var(--accent-light);
4105
- font-variant-numeric: tabular-nums;
4106
- }
4107
-
4108
- .cauldron--theme-dark .Pagination [role='log'] strong {
4109
- color: var(--white);
4110
4113
  }
4111
4114
 
4112
4115
  .Breadcrumb ol {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "4.6.0-canary.43500cc8",
3
+ "version": "4.6.0-canary.53b76d5e",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",