![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
These are Ethos's main styles.
Note: These are foundational styles, and should be edited sparingly. You can still add styles to Moonbeam and OrCA in the stylesheets
directories.
Building Stardust Locally:
make dev
Troubleshooting:
docker-machine-nfs [MACHINE-NAME]
Develop new elements in Moonbeam
Goal: Create elements available for use in current and future Moonbeam UI.
Develop new elements for Moonbeam in moonbeam/app/assets/stylesheets/components/_rf-for-gem.scss
.
.rf-
Port new elements to Stardust repo:
Goal: Add styles to Stardust and demonstrate their intended use.
Involved files:
app/assets/stylesheets/components/<new-element>.scss
_rf-for-gem.scss
in Moonbeam and paste them here. Your code here must match what is in _rf-for-gem.scss
.//
// Tables
//
//
// Structure
//
//<table class="rf-table">
// <tr class="rf-table__row rf-table__row--header">
// <th class="rf-table__th">Product</th>
// <th class="rf-table__th">Name</th>
// </tr>
// <tbody class="rf-table__body">
// <tr class="rf-table__row">
// <td class="rf-table__td"> Cell #1</td>
// <td class="rf-table__td"> Cell #2</td>
// </tr>
// </tbody>
//</table>
//
// Best Practices
//
// Set column widths in the header
//
index.php
:
Add a new section to the display page for the new elementapp/views/
:
<new-element>.php
Create new section for the new elementpartial_<new-element>.php
:
Use to prevent repetitive codeapp/assets/stylesheets/_ethosstyles.scss
@import
statement for the new element's stylesheetUpdate GEM
Follow these instructions to update the GEM version.
In order for changes to show up in Moonbeam you may need to:
docker rm -f $(docker ps -a|grep -v moonbeam_db|grep -v CONTAINER|awk '{print $1}')
docker start moonbeam_db
flotilla up moonbeam
application.scss
(for example, add body {background-color: yellow;}
and save).Update Moonbeam
Goal: Styles are sourced solely from Stardust GEM.
Remove redundant code from:
_rf-for-gem.scss
To develop this gem locally:
Clone this repo to your computer.
Replace gem name with gem file path in Gemfile:
# gem "ethosstyles"
gem "ethosstyles", :path => "/usr/ethosstyles"
Add directory to docker-compose.yml
under volumes within web:
web:
...
volumes:
...
- ../ethosstyles:/usr/ethosstyles
You may need to rebuild moonbeam.
flotilla rebuild moonbeam
Review any changes on Moonbeam and OrCA before pushing to prod.
Stardust uses the .scss icon files from Font Awesome 5.6.3
FAQs
Unknown package
We found that ethosstyles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.