-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removal: darkest theme references #4177
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1028,7 +1028,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline | |
- **action-menu:** update spectrum css input ([62a5065](https://github.com/adobe/spectrum-web-components/commit/62a50651a3c797598f8d76330e87f2824cdabbc5)) | ||
- **actionbar:** add actionbar component package ([36dd7e9](https://github.com/adobe/spectrum-web-components/commit/36dd7e943a8b825b947f0053ddbe31b69ca27062)) | ||
- **actionbar:** update spectrum css input ([8c888aa](https://github.com/adobe/spectrum-web-components/commit/8c888aa883490fe8e6a070f799095284128a609a)) | ||
- add "darkest" theme styles ([fe38025](https://github.com/adobe/spectrum-web-components/commit/fe38025d2b631f07834789c936efe7ffcbc1a628)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a changelog, it shouldn't be edited. |
||
- add and use icons-ui package ([d9c3ab2](https://github.com/adobe/spectrum-web-components/commit/d9c3ab212b4f756334e857fc513ccbf0a4dff9cc)) | ||
- add badge component ([cabfdfe](https://github.com/adobe/spectrum-web-components/commit/cabfdfe7b7eb00c3868ec26afab524cef1c2fcbd)) | ||
- add dialog, dialog-wrapped, and underlay elements ([3df9050](https://github.com/adobe/spectrum-web-components/commit/3df9050f65bd3a95f9b986aa728cfc1a2eaee432)) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,10 @@ governing permissions and limitations under the License. | |
--spectrum-card-selected-background-opacity: 0.1; | ||
} | ||
|
||
:host .spectrum--darkest { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is wrong. Where does it come from? |
||
--spectrum-card-selected-background-color-rgb: var(--spectrum-blue-600-rgb); | ||
} | ||
|
||
:host([variant='quiet']), | ||
:host([variant='gallery']) { | ||
--mod-card-content-margin-top: var( | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,4 @@ OF ANY KIND, either express or implied. See the License for the specific languag | |
governing permissions and limitations under the License. | ||
*/ | ||
|
||
import '@spectrum-web-components/theme/theme-lightest.js'; | ||
import '@spectrum-web-components/theme/scale-medium.js'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not 100% sure how this is used anymore, but this should likely be |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -205,7 +205,7 @@ export const regressVisuals = async (name: string, stories: TestsType) => { | |
if (color && scale && dir) { | ||
test(stories, name, color, scale, dir); | ||
} else { | ||
const colors: Color[] = ['lightest', 'light', 'dark', 'darkest']; | ||
const colors: Color[] = ['light', 'dark']; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In other places you don't remove |
||
const scales: Scale[] = ['medium', 'large']; | ||
const directions: ('ltr' | 'rtl')[] = ['ltr', 'rtl']; | ||
colors.forEach((color: Color) => { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -445,8 +445,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline | |
|
||
### Features | ||
|
||
- add "darkest" theme styles ([fe38025](https://github.com/adobe/spectrum-web-components/commit/fe38025)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please don't edit changelogs. |
||
|
||
## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/styles@0.4.2...@spectrum-web-components/styles@0.4.3) (2020-01-06) | ||
|
||
**Note:** Version bump only for package @spectrum-web-components/styles | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this all together. It was to give a backstop when we first added HCM support.