canonical / vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
https://vanillaframework.io
GNU Lesser General Public License v3.0
841 stars 167 forks source link

Baseline grid toggle is unstyled on standalone examples #5286

Open jmuzina opened 3 months ago

jmuzina commented 3 months ago

Describe the bug

Styling for the switch component is not imported into the examples stylesheet examples.scss, so the baseline grid switch is unstyled on standalone examples unless the example imports the switch component itself.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a standalone example that does not import switch. For example: Buttons combined
  2. Verify that the baseline grid toggle is unstyled.
  3. Go to a standalone example that does import the switch. For example: Switch
  4. Verify that the baseline grid toggle is styled.

Expected behavior

Baseline grid toggle switch is always styled.

Screenshots

Screenshot 2024-08-07 at 1 54 40 PM
syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/WD-13998.

This message was autogenerated

bartaz commented 1 month ago

Triage: if we can fix it low effort, let's to it. Otherwise probably not worth it.

It seems that theme switch segmented control has styling, so we may want to include the switch styles the same way?