Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/page/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("@spectrum-css/component-builder");
module.exports = require("@spectrum-css/component-builder-simple");
7 changes: 7 additions & 0 deletions components/page/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

& {
background-color: var(--spectrum-gray-100);

/* Prevent tap highlights */
-webkit-tap-highlight-color: var(--spectrum-transparent-black-100);
}
6 changes: 3 additions & 3 deletions components/page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"build": "gulp"
},
"dependencies": {
"@spectrum-css/vars": "^9.0.8"
"@spectrum-css/tokens": "^11.3.3"
},
"devDependencies": {
"@spectrum-css/component-builder": "^4.0.14",
"@spectrum-css/vars": "*",
"@spectrum-css/component-builder-simple": "^2.0.17",
"@spectrum-css/tokens": "^11.3.3",
"gulp": "^4.0.0"
},
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

& {
background-color: var(--spectrum-alias-background-color-default);

/* Prevent tap highlights */
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
@container (--system: express) {}
13 changes: 13 additions & 0 deletions components/page/themes/spectrum.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*!
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

@container (--system: spectrum) {}